Zrip is the fastest, pure Rust, memory-safe Zstandard codec. Levels -7..4, first-class dict support and dict training.
v0.5.0 highlights:
paranoid feature: Default features are Miri-clean already, but this is for the paranoid ones among us. Compiles pure safe Rust with zero unsafe. #![forbid(unsafe_code)] enforced on all four crate roots. Still reasonably fast (see chart below).
WebAssembly: published as @paddor/zrip on JSR. Auto-detects WASM SIMD128 support. On the Silesia corpus (L1), 15% faster encode and 14% faster decode than C zstd compiled to WASM via Emscripten.