A brotli compressor and decompressor that with an interface avoiding the rust stdlib. This makes it suitable for embedded devices and kernels. It is designed with a pluggable allocator so that the standard lib's allocator may be employed. The default build also includes a stdlib allocator and stream interface. Disable this with --features=no-stdlib. All included code is safe.
cargo add brotli
[dependencies]
brotli = "8.0.4"
| 官网 | https://github.com/dropbox/rust-brotli |
|---|---|
| 仓库 | https://github.com/dropbox/rust-brotli |
| 文档 | https://docs.rs/brotli/ |
| 最新版本 | 8.0.4 |
| 分类 | compression, no-std |