Skip to main content

compression_codecs/mbrotli/
mod.rs

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