zeck 2.1.2 → 3.0.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/README.md +12 -9
- package/package.json +1 -1
- package/zeck_bg.wasm +0 -0
package/README.md
CHANGED
|
@@ -50,11 +50,14 @@ Or add this to your `Cargo.toml`:
|
|
|
50
50
|
zeck = "2.1.0"
|
|
51
51
|
```
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
**Features:**
|
|
54
|
+
- `cli_tools`: Enables the `zeck-compress` and `zeck-decompress` command-line binaries. This feature includes the `clap` dependency. Not enabled by default - use `--features cli_tools` when installing binaries.
|
|
55
|
+
|
|
56
|
+
For CLI tools (when installing binaries):
|
|
54
57
|
|
|
55
58
|
```toml
|
|
56
59
|
[dependencies]
|
|
57
|
-
zeck = { version = "2.1.0", features = ["
|
|
60
|
+
zeck = { version = "2.1.0", features = ["cli_tools"] }
|
|
58
61
|
```
|
|
59
62
|
|
|
60
63
|
### Install from GitHub (development version)
|
|
@@ -71,11 +74,11 @@ Or add this to your `Cargo.toml`:
|
|
|
71
74
|
zeck = { git = "https://github.com/pRizz/zeckendorf" }
|
|
72
75
|
```
|
|
73
76
|
|
|
74
|
-
For
|
|
77
|
+
For CLI tools:
|
|
75
78
|
|
|
76
79
|
```toml
|
|
77
80
|
[dependencies]
|
|
78
|
-
zeck = { git = "https://github.com/pRizz/zeckendorf", features = ["
|
|
81
|
+
zeck = { git = "https://github.com/pRizz/zeckendorf", features = ["cli_tools"] }
|
|
79
82
|
```
|
|
80
83
|
|
|
81
84
|
### Install from npm
|
|
@@ -298,13 +301,13 @@ The project includes several utility binaries. The command-line compression tool
|
|
|
298
301
|
### Install from crates.io
|
|
299
302
|
|
|
300
303
|
```bash
|
|
301
|
-
cargo install zeck
|
|
304
|
+
cargo install zeck --features cli_tools
|
|
302
305
|
```
|
|
303
306
|
|
|
304
307
|
### Install from GitHub (development version)
|
|
305
308
|
|
|
306
309
|
```bash
|
|
307
|
-
cargo install --git https://github.com/pRizz/zeckendorf zeck
|
|
310
|
+
cargo install --git https://github.com/pRizz/zeckendorf --features cli_tools zeck
|
|
308
311
|
```
|
|
309
312
|
|
|
310
313
|
After installation, you can use `zeck-compress` and `zeck-decompress` directly from your command line.
|
|
@@ -401,7 +404,7 @@ cat input.zeck | zeck-decompress
|
|
|
401
404
|
### Main Playground
|
|
402
405
|
|
|
403
406
|
```bash
|
|
404
|
-
cargo run --release --
|
|
407
|
+
cargo run --release --example playground
|
|
405
408
|
```
|
|
406
409
|
|
|
407
410
|
A playground/scratchpad for testing library functions.
|
|
@@ -422,7 +425,7 @@ cargo run --release --bin zeck-generate-data --features development_tools -- 102
|
|
|
422
425
|
### Generate Statistics
|
|
423
426
|
|
|
424
427
|
```bash
|
|
425
|
-
cargo run --release --
|
|
428
|
+
cargo run --release --example generate-statistics
|
|
426
429
|
```
|
|
427
430
|
|
|
428
431
|
Generates comprehensive compression statistics and plots:
|
|
@@ -435,7 +438,7 @@ Generates comprehensive compression statistics and plots:
|
|
|
435
438
|
### Plot Compression Ratios
|
|
436
439
|
|
|
437
440
|
```bash
|
|
438
|
-
cargo run --release --
|
|
441
|
+
cargo run --release --example plot
|
|
439
442
|
```
|
|
440
443
|
|
|
441
444
|
Generates visualization plots of:
|
package/package.json
CHANGED
package/zeck_bg.wasm
CHANGED
|
Binary file
|