ryg-rans-rs-cli-0.1.15 is not a library.
Visit the last successful build:
ryg-rans-rs-cli-0.1.25
ryg-rans-rs-cli
CLI tools for rANS encoding, decoding, inspection, tracing, comparison, and benchmarking.
Built on theryg-rans-rsfacade andryg-rans-rs-corecrate.
Status
Scaffold. The crate compiles and is published, but user-facing subcommands are not yet implemented.
The core clap infrastructure is in place. The following commands are planned but not yet wired to the algorithmic backends:
| Command | Description | Status |
|---|---|---|
encode |
Encode a file using a specified frequency model | Scaffold |
decode |
Decode a rANS stream | Scaffold |
inspect |
Inspect a rANS stream's internal state | Scaffold |
bench |
Run performance benchmarks (delegates to oracle's perf binary) | Scaffold |
trace |
Trace individual symbol transitions | Scaffold |
compare |
Compare Rust and C/C++ compressed streams | Scaffold |
Usage
# When implemented:
# cargo run -- encode --input file.txt --output file.rans
# cargo run -- decode --input file.rans --output file.txt
Performance Benchmarking
For immediate throughput measurement, use the oracle crate's perf binary:
RUSTFLAGS="-C target-feature=+ssse3,+sse4.1"
Related Crates
ryg-rans-rs-core— Deterministic algorithmic core (no_std,forbid(unsafe_code))ryg-rans-rs-simd— SSE4.1 accelerated decode kernelsryg-rans-rs— Public facade crate (re-exports core + optional SIMD)ryg-rans-rs-oracle— Forensic court harness & performance benchmarksryg-rans-rs-casefile— Typed evidence schemas