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
75
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.
63
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 | 75 | 63 |
| Total Downloads | 4.9K | 561.6M | 2.5M |
| 30d Downloads | 0 | 27.2M | 168.0K |
| Dependents | 2 | 79.1K | 495 |
| Releases | 3 | 77 | 33 |
| Last Updated | 1684d ago | 160d ago | 155d ago |
| Age | 4y 10m | 11y 8m | 6y 9m |
Health Breakdown
zlib_stream
Maintenance
4
Quality
10
Community
7
Popularity
4
Documentation
9
flate2
Maintenance
13
Quality
21
Community
19
Popularity
8
Documentation
14
libdeflater
Maintenance
12
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 75/100, but none of the options score above 80.
- •flate2 is depended on by 79.1K crates — strongest ecosystem trust.
- •⚠ zlib_stream has not been updated in over a year.
- •zlib_stream is pre-1.0 — API may change.