Decision Workspace
snap vs xsnappy vs lz4_flex
Side-by-side comparison of Rust crates
57
snap
growingv1.1.1
A pure Rust implementation of the Snappy compression algorithm. Includes streaming compression and decompression.
33
xsnappy
growingv0.1.0
Snappy compression algorithm implemented in Rust
61
lz4_flex
growingv0.13.0
Fastest LZ4 implementation in Rust, no unsafe by default.
Core Metrics
| snap | xsnappy | lz4_flex | |
|---|---|---|---|
| Health Score | 57 | 33 | 61 |
| Total Downloads | 78.4M | 2.0K | 83.0M |
| 30d Downloads | 5.8M | 66 | 8.0M |
| Dependents | 3.7K | 0 | 3.9K |
| Releases | 17 | 1 | 40 |
| Last Updated | 843d ago | 1853d ago | 12d ago |
| Age | 9y 8m | 5y | 5y 5m |
Health Breakdown
snap
Maintenance
5
Quality
20
Community
12
Popularity
8
Documentation
12
xsnappy
Maintenance
1
Quality
16
Community
3
Popularity
4
Documentation
9
lz4_flex
Maintenance
18
Quality
11
Community
12
Popularity
8
Documentation
12
Technical Details
| snap | xsnappy | lz4_flex | |
|---|---|---|---|
| Version | 1.1.1 | 0.1.0 | 0.13.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | BSD-3-Clause | MIT | MIT |
| Dependencies | 1 | 0 | 9 |
| Crate Size | 34KB | 7KB | 45KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 20.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lz4_flex leads with a health score of 61/100, but none of the options score above 80.
- •lz4_flex is depended on by 3.9K crates — strongest ecosystem trust.
- •⚠ snap, xsnappy have not been updated in over a year.
- •xsnappy, lz4_flex are pre-1.0 — API may change.