Decision Workspace
zlib_stream vs flate2 vs libdeflater
Side-by-side comparison of Rust crates
34
zlib_stream
growingv0.1.0
An utility to decompress zlib-stream encoded WebSocket messages
79
flate2
stablev1.1.9
DEFLATE compression and decompression exposed as Read/BufRead/Write streams. Supports miniz_oxide and multiple zlib implementations. Supports zlib, gzip, and raw deflate streams.
66
libdeflater
stablev1.25.2
Bindings to libdeflate for DEFLATE (de)compression exposed as non-streaming buffer operations. Contains bindings for raw deflate, zlib, and gzip data.
Core Metrics
| zlib_stream | flate2 | libdeflater | |
|---|---|---|---|
| Health Score | 34 | 79 | 66 |
| Total Downloads | 4.7K | 424.0M | 1.7M |
| 30d Downloads | 102 | 29.6M | 212.7K |
| Dependents | 2 | 55.6K | 359 |
| Releases | 3 | 77 | 33 |
| Last Updated | 1576d ago | 52d ago | 47d ago |
| Age | 4y 6m | 11y 4m | 6y 6m |
Health Breakdown
zlib_stream
Maintenance
4
Quality
10
Community
7
Popularity
4
Documentation
9
flate2
Maintenance
17
Quality
21
Community
19
Popularity
8
Documentation
14
libdeflater
Maintenance
16
Quality
21
Community
13
Popularity
7
Documentation
9
Technical Details
| zlib_stream | flate2 | libdeflater | |
|---|---|---|---|
| Version | 0.1.0 | 1.1.9 | 1.25.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 7 | 11 | 4 |
| Crate Size | 5KB | 83KB | 23KB |
| Features | 3 | 13 | 3 |
| Yanked % | 33.3% | 2.6% | 0.0% |
| Edition | 2018 | 2018 | 2018 |
| MSRV | — | 1.67.0 | — |
| Owners | 1 | 3 | 1 |
Links
Quick Verdict
- •flate2 leads with a health score of 79/100, but none of the options score above 80.
- •flate2 is depended on by 55.6K crates — strongest ecosystem trust.
- •⚠ zlib_stream has not been updated in over a year.
- •zlib_stream is pre-1.0 — API may change.