Crate features / async-compression
Feature flags · async-compression 0.4.51 · from crates.io 2026-10-24
async-compression features: what each one does, and the line to copy
Short answerasync-compression 0.4.51 has 18 features. Nothing is on by default: turn on what you use. It needs Rust 1.83 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
all | all-implementations, all-algorithms | |
all-algorithms | brotli, bzip2, deflate, deflate64, gzip, lz4, lzma, xz, xz-parallel, zlib, zstd | |
all-implementations | futures-io, tokio | |
brotli | compression-codecs/brotli | |
brotli-mbrotli | compression-codecs/brotli-mbrotli | |
bzip2 | compression-codecs/bzip2 | |
deflate | compression-codecs/deflate | |
deflate64 | compression-codecs/deflate64 | |
gzip | compression-codecs/gzip | |
lz4 | compression-codecs/lz4 | |
lzma | compression-codecs/lzma | |
xz | compression-codecs/xz, lzma | |
xz-parallel | compression-codecs/xz-parallel, xz | |
xz2 | compression-codecs/xz2, xz | |
zlib | compression-codecs/zlib | |
zstd | compression-codecs/zstd | |
zstd-mzstd | compression-codecs/zstd-mzstd | |
zstdmt | compression-codecs/zstdmt, zstd |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version async-compression declares (rust-version), and the release that changed it:
- 0.4.37 (2026-01-10): Rust 1.83
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p async-compression --precise <version>, or use resolver 3, which picks compatible versions for you.
More on async-compression
Real downloads, dependents and alternatives: async-compression crate data (707.9K real downloads a day, 387 dependents).
docs.rs feature list · crates.io · license MIT OR Apache-2.0 · edition 2018
Up next
Before you depend on itasync-compression crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?