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.
66
liblzma
growingv0.4.8
Rust bindings to liblzma providing Read/Write streams as well as low-level in-memory encoding/decoding. forked from xz2.
60
liblzma-sys
growingv0.4.9
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 | 66 | 60 |
| Total Downloads | 70.1M | 23.6M | 23.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7.3K | 988 | 144 |
| Releases | 8 | 24 | 35 |
| Last Updated | 1586d ago | 61d ago | 26d ago |
| Age | 10y 6m | 3y | 3y |
Health Breakdown
xz2
Maintenance
3
Quality
16
Community
15
Popularity
8
Documentation
12
liblzma
Maintenance
16
Quality
16
Community
14
Popularity
8
Documentation
12
liblzma-sys
Maintenance
17
Quality
12
Community
11
Popularity
8
Documentation
12
Technical Details
| xz2 | liblzma | liblzma-sys | |
|---|---|---|---|
| Version | 0.1.7 | 0.4.8 | 0.4.9 |
| 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 | 39KB | 1.6MB |
| Features | 2 | 8 | 8 |
| Yanked % | 0.0% | 4.2% | 14.3% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.60 | 1.60 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •liblzma leads with a health score of 66/100, but none of the options score above 80.
- •xz2 has the most downloads (70.1M), suggesting wider adoption.
- •xz2 is depended on by 7.3K crates — strongest ecosystem trust.
- •⚠ xz2 has not been updated in over a year.