Skip to main content

compression_codecs/zrip/
mod.rs

1//! Zstandard codecs backed by the pure-Rust [`zrip`](https://docs.rs/zrip) implementation.
2//!
3//! These produce and consume the same Zstandard format as the `zstd` module, and are an
4//! alternative backend for it. zrip encodes levels -7 to 4 (higher levels are clamped to 4) and
5//! decodes frames from any level.
6//!
7//! This module is unstable: it requires both the `zstd-zrip` feature and building with
8//! `RUSTFLAGS="--cfg async_compression_unstable"`, and it may change in any release. `zrip`
9//! requires Rust 1.89 or newer.
10
11mod decoder;
12mod encoder;
13pub mod params;
14
15pub use self::{decoder::ZripDecoder, encoder::ZripEncoder};