Decision Workspace
xz2 vs liblzma vs liblzma-sys
Side-by-side comparison of Rust crates
54
xz2
growingv0.1.7
Rust bindings to liblzma providing Read/Write streams as well as low-level in-memory encoding/decoding.
67
liblzma
growingv0.4.6
Rust bindings to liblzma providing Read/Write streams as well as low-level in-memory encoding/decoding. forked from xz2.
56
liblzma-sys
growingv0.4.5
Raw bindings to liblzma which contains an implementation of LZMA and xz stream encoding/decoding. High level Rust bindings are available in the `liblzma` crate.
Core Metrics
| xz2 | liblzma | liblzma-sys | |
|---|---|---|---|
| Health Score | 54 | 67 | 56 |
| Total Downloads | 44.2M | 12.2M | 11.8M |
| 30d Downloads | 3.1M | 2.1M | 2.1M |
| Dependents | 4.5K | 546 | 27 |
| Releases | 8 | 22 | 31 |
| Last Updated | 1390d ago | 38d ago | 66d ago |
| Age | 10y | 2y 6m | 2y 6m |
Health Breakdown
xz2
Maintenance
3
Quality
16
Community
15
Popularity
8
Documentation
12
liblzma
Maintenance
18
Quality
16
Community
13
Popularity
8
Documentation
12
liblzma-sys
Maintenance
15
Quality
12
Community
9
Popularity
8
Documentation
12
Technical Details
| xz2 | liblzma | liblzma-sys | |
|---|---|---|---|
| Version | 0.1.7 | 0.4.6 | 0.4.5 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 6 | 3 |
| Crate Size | 24KB | 40KB | 1.6MB |
| Features | 2 | 8 | 8 |
| Yanked % | 0.0% | 4.5% | 16.1% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.60 | 1.60 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •liblzma leads with a health score of 67/100, but none of the options score above 80.
- •xz2 has the most downloads (44.2M), suggesting wider adoption.
- •xz2 is depended on by 4.5K crates — strongest ecosystem trust.
- •⚠ xz2 has not been updated in over a year.