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
62
lz4_flex
growingv0.13.1
Fastest LZ4 implementation in Rust, no unsafe by default.
Core Metrics
| snap | xsnappy | lz4_flex | |
|---|---|---|---|
| Health Score | 57 | 33 | 62 |
| Total Downloads | 89.1M | 2.0K | 96.9M |
| 30d Downloads | 5.5M | 0 | 7.4M |
| Dependents | 4.2K | 0 | 5.1K |
| Releases | 17 | 1 | 42 |
| Last Updated | 902d ago | 1913d ago | 16d ago |
| Age | 9y 9m | 5y 2m | 5y 7m |
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
12
Community
12
Popularity
8
Documentation
12
Technical Details
| snap | xsnappy | lz4_flex | |
|---|---|---|---|
| Version | 1.1.1 | 0.1.0 | 0.13.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | BSD-3-Clause | MIT | MIT |
| Dependencies | 1 | 0 | 9 |
| Crate Size | 34KB | 7KB | 47KB |
| Features | 0 | 0 | 7 |
| Yanked % | 0.0% | 0.0% | 19.1% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | 1.81 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •lz4_flex leads with a health score of 62/100, but none of the options score above 80.
- •lz4_flex is depended on by 5.1K crates — strongest ecosystem trust.
- •⚠ snap, xsnappy have not been updated in over a year.
- •xsnappy, lz4_flex are pre-1.0 — API may change.