@rowsncolumns/rnc-native-linux-x64 0.0.0-reserve.0 → 0.27.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/LICENSE.md ADDED
@@ -0,0 +1,100 @@
1
+ # Rows n' Columns Commercial License Agreement
2
+
3
+ This Rows n' Columns Commercial License Agreement (the "Agreement") governs
4
+ the use of the Rows n' Columns software packages published under the
5
+ `@rowsncolumns` npm scope, including associated JavaScript, WebAssembly
6
+ binaries, stylesheets, type definitions and documentation (the "Software").
7
+
8
+ The Software is **not** open source. Downloading or installing the Software
9
+ from a public package registry does not grant any right to use it beyond the
10
+ evaluation use described below.
11
+
12
+ ## 1. Definitions
13
+
14
+ - **"Licensor"** means Rows n' Columns (rowsncolumns.app).
15
+ - **"Licensee"** means the individual or legal entity identified in an Order.
16
+ - **"Order"** means a purchase of a license for the Software from Licensor,
17
+ identified by an order ID and associated with a License Key.
18
+ - **"License Key"** means the signed key issued by Licensor that identifies
19
+ the Licensee, license tier, and Update Window.
20
+ - **"Update Window"** means the period stated in the Order during which
21
+ Software versions released by Licensor are covered by the License Key.
22
+
23
+ ## 2. License Grant
24
+
25
+ Subject to payment of the applicable fees and compliance with this Agreement,
26
+ Licensor grants Licensee a non-exclusive, non-transferable, worldwide license
27
+ to use, and to distribute in compiled form as an embedded component of
28
+ Licensee's own applications, any version of the Software released during the
29
+ Update Window, in accordance with the license tier stated in the Order.
30
+
31
+ This grant is perpetual for versions released during the Update Window:
32
+ Licensee may continue to use those versions after the Update Window ends.
33
+ Versions released after the Update Window ends require a new or renewed
34
+ Order.
35
+
36
+ ## 3. Evaluation Use
37
+
38
+ The Software may be used without a License Key solely for internal
39
+ evaluation and development purposes. Evaluation use in production, or
40
+ removal or suppression of evaluation notices, is not permitted.
41
+
42
+ ## 4. Restrictions
43
+
44
+ Except as expressly permitted by this Agreement or by applicable law that
45
+ cannot be contractually waived, Licensee shall not:
46
+
47
+ 1. redistribute, resell, sublicense, or otherwise make the Software
48
+ available as a standalone product, library, or development component;
49
+ 2. use the Software to build a product that competes with the Software;
50
+ 3. remove, alter, or circumvent License Key validation, evaluation notices,
51
+ watermarks, or copyright notices in the Software;
52
+ 4. share License Keys with any third party, or use a License Key outside
53
+ the scope of the tier stated in the Order;
54
+ 5. reverse engineer, decompile, or disassemble the Software except to the
55
+ extent permitted by applicable law.
56
+
57
+ ## 5. Ownership
58
+
59
+ The Software is licensed, not sold. Licensor and its licensors retain all
60
+ right, title, and interest in and to the Software, including all
61
+ intellectual property rights.
62
+
63
+ ## 6. Third-Party Components
64
+
65
+ The Software may include third-party open-source components. Those
66
+ components remain governed by their own license terms, which are included
67
+ with the applicable component and are not limited by this Agreement.
68
+
69
+ ## 7. Termination
70
+
71
+ This Agreement terminates automatically upon material breach by Licensee
72
+ that remains uncured 30 days after written notice. Upon termination,
73
+ Licensee must cease use and distribution of the Software, except that
74
+ end-user copies of Licensee applications already distributed in compliance
75
+ with this Agreement are unaffected.
76
+
77
+ ## 8. Warranty Disclaimer
78
+
79
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
80
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
81
+ FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT.
82
+
83
+ ## 9. Limitation of Liability
84
+
85
+ TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL LICENSOR BE LIABLE
86
+ FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR PUNITIVE DAMAGES,
87
+ OR ANY LOSS OF PROFITS, DATA, OR GOODWILL, ARISING OUT OF OR RELATED TO THIS
88
+ AGREEMENT, AND LICENSOR'S AGGREGATE LIABILITY SHALL NOT EXCEED THE FEES PAID
89
+ BY LICENSEE IN THE TWELVE MONTHS PRECEDING THE CLAIM.
90
+
91
+ ## 10. General
92
+
93
+ This Agreement constitutes the entire agreement between the parties
94
+ concerning the Software and supersedes any prior agreements. If any
95
+ provision is held unenforceable, the remainder remains in effect. Failure to
96
+ enforce a provision is not a waiver.
97
+
98
+ For licensing inquiries, visit <https://www.rowsncolumns.app/pricing>.
99
+
100
+ Copyright © Rows n' Columns. All rights reserved.
package/README.md ADDED
@@ -0,0 +1,40 @@
1
+ # @rowsncolumns/rnc-native-linux-x64
2
+
3
+ The rnc engine as a native Linux x86-64 binary, for servers. It is the engine the
4
+ `@rowsncolumns/rnc-yrs-store` wasm runs, built from the same commit, without the wasm32 heap's
5
+ 4 GiB ceiling (`rust/crates/rnc-native`).
6
+
7
+ ```text
8
+ bin/rnc-native --version
9
+ bin/rnc-native recalc [--fn NAME]... < room.bin > delta.bin
10
+ bin/rnc-native export [--fn NAME]... [--command JSON]... [--sheets-json PATH] < room.bin > book.xlsx
11
+ ```
12
+
13
+ - `recalc`: the forced recalculation of a whole room (one v1 update on stdin). stdout is the v1
14
+ update it makes against the room as read; the host applies it and writes it as its own.
15
+ - `export`: the full `exportXlsx`, byte for byte the wasm's.
16
+ - `--version`: `{"name","version","commit","wasmSha256","target"}`. `manifest.json` holds the same
17
+ fields plus the binary's sha256. A host pins this package to the same version as
18
+ `@rowsncolumns/rnc-yrs-store` and checks `wasmSha256` against the wasm it loads.
19
+
20
+ Glibc 2.34 or newer (built on Debian bookworm). Numbers equal the wasm's to the bit, except
21
+ where a math library function computes them: `POWER`/`^` with a fractional exponent, `EXP`,
22
+ `TAN`, `SIN`, `COS`, `LOG10`, `LN`, `ATAN` and the like can differ by one unit in the last place
23
+ (glibc's libm against the wasm's; measured on 500 rows each: `POWER(x,1/12)` 71, `x^0.37` 47,
24
+ `EXP` 36, `TAN` 27, `SIN` 23, `LOG10` 21, `COS` 16, `LN` 9, `ATAN` 2). `SQRT` and arithmetic are
25
+ exact. Identical bits need the `libm` crate under formualizer on both targets.
26
+
27
+ The package declares no `os`/`cpu` (Yarn 1 enforces them on workspace packages); declare it as an
28
+ optional dependency and run the binary on Linux x86-64 only.
29
+
30
+ ## Building
31
+
32
+ ```bash
33
+ yarn build:native # a clean Docker build, the pinned toolchain, cargo build --locked, from HEAD
34
+ yarn build:native --verify # runs the binary: its embedded commit and wasm sha are HEAD's and the committed wasm's
35
+ ```
36
+
37
+ Releases build it in `yarn publish-packages`. The `prepublishOnly` of this package and of
38
+ `@rowsncolumns/rnc-yrs-store` refuse a binary built from another commit, wasm or version, so the two
39
+ publish together or not at all. `RELEASE_FORCE=1` is the one emergency path (a dirty or unproven tree,
40
+ stamped `<sha>-dirty`); the binary still has to match the wasm being published.
package/bin/rnc-native ADDED
@@ -0,0 +1,4 @@
1
+ [diffend] Oversized file quarantined before diffing.
2
+ name: package/bin/rnc-native
3
+ size: 42879080 bytes
4
+ sha256: 23f2ce81e523c6ee69fa3e5a75f57750bb448a2a7dccb6edac4d52cec8bf75b8
package/manifest.json ADDED
@@ -0,0 +1,9 @@
1
+ {
2
+ "name": "rnc-native",
3
+ "version": "0.27.0",
4
+ "commit": "ce42562b2a9463641141800e1ac319796d847a7d",
5
+ "wasmSha256": "607878290860e1e8df3de918b5d9dd71d6474836f8b668443cfd07fcec7362c4",
6
+ "target": "x86_64-unknown-linux-gnu",
7
+ "rustc": "1.96.0",
8
+ "binarySha256": "23f2ce81e523c6ee69fa3e5a75f57750bb448a2a7dccb6edac4d52cec8bf75b8"
9
+ }
package/package.json CHANGED
@@ -1 +1,23 @@
1
- {"name":"@rowsncolumns/rnc-native-linux-x64","version":"0.0.0-reserve.0","description":"Name reserved for the rnc native binary; its first real version ships with @rowsncolumns/rnc-yrs-store.","license":"SEE LICENSE IN LICENSE.md","publishConfig":{"access":"public"}}
1
+ {
2
+ "name": "@rowsncolumns/rnc-native-linux-x64",
3
+ "version": "0.27.0",
4
+ "author": "Vinay M",
5
+ "license": "SEE LICENSE IN LICENSE.md",
6
+ "description": "The rnc engine as a native Linux x86-64 binary (`bin/rnc-native`) for servers: the forced recalculation and the full XLSX export of a whole document past the wasm32 heap. Built from the same commit as @rowsncolumns/rnc-yrs-store at the same version; `manifest.json` (and `bin/rnc-native --version`) names that commit and the sha256 of its wasm.",
7
+ "comment": "A Linux x86-64 binary. No `os`/`cpu` fields: Yarn 1 enforces them on workspace packages, which would fail `yarn install` on every other machine; a consumer declares the package as an optional dependency and runs the binary on Linux x86-64 only. bin/ and manifest.json are built by `yarn build:native` (scripts/build-native.mjs: a clean Docker build, the pinned Rust toolchain, `cargo build --locked`) from the release commit, never committed. `prepublishOnly` here and in @rowsncolumns/rnc-yrs-store runs the same check, so the two publish together or not at all.",
8
+ "scripts": {
9
+ "prepublishOnly": "node ../../scripts/build-native.mjs --verify --release"
10
+ },
11
+ "files": [
12
+ "bin",
13
+ "manifest.json",
14
+ "README.md"
15
+ ],
16
+ "publishConfig": {
17
+ "access": "public"
18
+ },
19
+ "repository": {
20
+ "type": "git",
21
+ "url": "https://github.com/rowsncolumns/spreadsheet.git"
22
+ }
23
+ }