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
76
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.
65
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 | 76 | 65 |
| Total Downloads | 4.8K | 490.4M | 2.1M |
| 30d Downloads | 0 | 36.4M | 203.3K |
| Dependents | 2 | 66.1K | 418 |
| Releases | 3 | 77 | 33 |
| Last Updated | 1635d ago | 112d ago | 106d ago |
| Age | 4y 8m | 11y 6m | 6y 8m |
Health Breakdown
zlib_stream
Maintenance
4
Quality
10
Community
7
Popularity
4
Documentation
9
flate2
Maintenance
14
Quality
21
Community
19
Popularity
8
Documentation
14
libdeflater
Maintenance
14
Quality
21
Community
13
Popularity
8
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 76/100, but none of the options score above 80.
- •flate2 is depended on by 66.1K crates — strongest ecosystem trust.
- •⚠ zlib_stream has not been updated in over a year.
- •zlib_stream is pre-1.0 — API may change.