roxify 1.9.8 → 1.10.1
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/Cargo.toml +14 -2
- package/LICENSE +63 -21
- package/README.md +178 -163
- package/dist/cli.js +8 -1
- package/dist/utils/constants.d.ts +5 -0
- package/dist/utils/constants.js +1 -0
- package/dist/utils/decoder.js +12 -3
- package/dist/utils/encoder.js +24 -11
- package/dist/utils/rust-cli-wrapper.js +6 -3
- package/dist/utils/types.d.ts +1 -1
- package/libroxify_native-x86_64-unknown-linux-gnu.node +0 -0
- package/native/bench_hybrid.rs +145 -0
- package/native/bwt.rs +25 -69
- package/native/hybrid.rs +92 -70
- package/native/lib.rs +6 -3
- package/native/mtf.rs +106 -0
- package/native/rans_byte.rs +190 -0
- package/native/test_small_bwt.rs +31 -0
- package/native/test_stages.rs +70 -0
- package/package.json +5 -2
- package/dist/roxify_native.exe +0 -0
- package/roxify_native-x86_64-pc-windows-msvc.node +0 -0
package/Cargo.toml
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "roxify_native"
|
|
3
|
-
version = "1.
|
|
3
|
+
version = "1.10.1"
|
|
4
4
|
edition = "2021"
|
|
5
5
|
publish = false
|
|
6
6
|
|
|
@@ -13,6 +13,18 @@ path = "native/lib.rs"
|
|
|
13
13
|
name = "roxify_native"
|
|
14
14
|
path = "native/main.rs"
|
|
15
15
|
|
|
16
|
+
[[bin]]
|
|
17
|
+
name = "bench_hybrid"
|
|
18
|
+
path = "native/bench_hybrid.rs"
|
|
19
|
+
|
|
20
|
+
[[bin]]
|
|
21
|
+
name = "test_stages"
|
|
22
|
+
path = "native/test_stages.rs"
|
|
23
|
+
|
|
24
|
+
[[bin]]
|
|
25
|
+
name = "test_small_bwt"
|
|
26
|
+
path = "native/test_small_bwt.rs"
|
|
27
|
+
|
|
16
28
|
[dev-dependencies]
|
|
17
29
|
|
|
18
30
|
[dependencies]
|
|
@@ -43,6 +55,7 @@ bytemuck = { version = "1.14", features = ["derive"] }
|
|
|
43
55
|
tokio = { version = "1", features = ["sync", "rt"], optional = true }
|
|
44
56
|
parking_lot = "0.12"
|
|
45
57
|
pollster = { version = "0.3", optional = true }
|
|
58
|
+
libsais = { version = "0.2.0", default-features = false }
|
|
46
59
|
|
|
47
60
|
[features]
|
|
48
61
|
# default is intentionally empty so the crate compiles fast for local checks.
|
|
@@ -79,4 +92,3 @@ codegen-units = 16
|
|
|
79
92
|
debug = false
|
|
80
93
|
incremental = true
|
|
81
94
|
panic = "abort"
|
|
82
|
-
|
package/LICENSE
CHANGED
|
@@ -1,21 +1,63 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2025
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
to
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
Roxify Proprietary Open Source License (RPOSL) v1.0
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025-2026 Yohan SANNIER (RoxasYTB). All rights reserved.
|
|
4
|
+
|
|
5
|
+
TERMS AND CONDITIONS
|
|
6
|
+
|
|
7
|
+
1. DEFINITIONS
|
|
8
|
+
"Software" refers to roxify, including all source code, documentation,
|
|
9
|
+
binaries, and associated files in this repository.
|
|
10
|
+
"Author" refers to Yohan SANNIER (RoxasYTB), sole copyright holder.
|
|
11
|
+
"Commercial Use" means any use intended for or directed toward commercial
|
|
12
|
+
advantage or monetary compensation.
|
|
13
|
+
|
|
14
|
+
2. PERMISSIONS
|
|
15
|
+
Subject to the conditions below, you are granted a non-exclusive,
|
|
16
|
+
worldwide, royalty-free license to:
|
|
17
|
+
a) View, read, and study the source code.
|
|
18
|
+
b) Use the Software for personal, educational, or research purposes.
|
|
19
|
+
c) Fork and modify the Software for personal, non-commercial use.
|
|
20
|
+
d) Distribute unmodified copies of the Software for non-commercial
|
|
21
|
+
purposes, provided this license is included in full.
|
|
22
|
+
e) Contribute improvements back to the original repository via pull
|
|
23
|
+
requests.
|
|
24
|
+
|
|
25
|
+
3. RESTRICTIONS
|
|
26
|
+
a) COMMERCIAL USE PROHIBITED — You may NOT use, sell, sublicense,
|
|
27
|
+
redistribute, or otherwise exploit the Software or any derivative
|
|
28
|
+
work for Commercial Use without prior written authorization from
|
|
29
|
+
the Author.
|
|
30
|
+
b) REBRANDING PROHIBITED — You may NOT rebrand, rename, or present a
|
|
31
|
+
modified version of the Software as your own product for
|
|
32
|
+
distribution.
|
|
33
|
+
c) COMPETING PRODUCTS — You may NOT use the Software, in whole or in
|
|
34
|
+
part, to create a competing product or service.
|
|
35
|
+
d) EXCLUSIVE COMMERCIAL RIGHTS — All commercial rights are reserved
|
|
36
|
+
exclusively to the Author. No third party may commercialize this
|
|
37
|
+
Software or any derivative work.
|
|
38
|
+
|
|
39
|
+
4. CONTRIBUTIONS
|
|
40
|
+
By submitting a contribution (pull request, patch, or otherwise) to
|
|
41
|
+
this project, you agree to assign all intellectual property rights
|
|
42
|
+
of your contribution to the Author, and you grant the Author an
|
|
43
|
+
irrevocable, perpetual, worldwide license to use, modify, and
|
|
44
|
+
distribute your contribution under any terms.
|
|
45
|
+
|
|
46
|
+
5. DISCLAIMER
|
|
47
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
48
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
49
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
|
50
|
+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
51
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
52
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OF IT.
|
|
53
|
+
|
|
54
|
+
6. TERMINATION
|
|
55
|
+
This license is automatically terminated if you violate any of its
|
|
56
|
+
terms. Upon termination, you must destroy all copies of the Software
|
|
57
|
+
in your possession.
|
|
58
|
+
|
|
59
|
+
7. GOVERNING LAW
|
|
60
|
+
This license shall be governed by and construed in accordance with
|
|
61
|
+
the laws of France.
|
|
62
|
+
|
|
63
|
+
For commercial licensing inquiries, contact: yohan.sannier@aperture-sciences.com
|