Crate features / zopfli
Feature flags · zopfli 0.8.4 · from crates.io 2026-10-24
zopfli features: what each one does, and the line to copy
Short answerzopfli 0.8.4 has 4 features. By default it turns on gzip, std, zlib; add default-features = false to start from nothing. It needs Rust 1.88.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
gzip | yes | dep:crc32fast |
nightly | crc32fast?/nightly | |
std | yes | crc32fast?/std, dep:log, simd-adler32?/std |
zlib | yes | dep:simd-adler32 |
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 zopfli declares (rust-version), and the release that changed it:
- 0.7.0 (2022-08-19): Rust 1.56
- 0.7.4 (2023-05-27): Rust 1.60
- 0.8.0 (2023-09-27): Rust 1.66
- 0.8.1 (2024-05-18): Rust 1.73.0
- 0.8.4 (2026-10-11): Rust 1.88.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p zopfli --precise <version>, or use resolver 3, which picks compatible versions for you.
More on zopfli
Real downloads, dependents and alternatives: zopfli crate data (554.6K real downloads a day, 25 dependents).
docs.rs feature list · crates.io · license Apache-2.0 · edition 2021
Up next
Before you depend on itzopfli crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?