ryg-rans-rs-cli 0.1.14

CLI tools for rANS encoding, decoding, inspection, tracing, comparison, and benchmarking
ryg-rans-rs-cli-0.1.14 is not a library.
Visit the last successful build: ryg-rans-rs-cli-0.1.24

ryg-rans-rs-cli

CLI tools for rANS encoding, decoding, inspection, tracing, comparison, and benchmarking.
Built on the ryg-rans-rs facade and ryg-rans-rs-core crate.

License: MIT OR Apache-2.0 Crates.io

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:

cd ../ryg-rans-rs-oracle
RUSTFLAGS="-C target-feature=+ssse3,+sse4.1" cargo run --release --bin perf

Related Crates