Decision Workspace
zswap vs duende-mlock vs heim-memory
Side-by-side comparison of Rust crates
46
zswap
growingv1.0.3
Async library for accessing Zswap information in Linux
55
duende-mlock
experimentalv1.0.0
Memory locking for swap-critical daemons (DT-007: Swap Deadlock Prevention)
44
heim-memory
growingv0.0.11
Cross-platform memory information
Core Metrics
| zswap | duende-mlock | heim-memory | |
|---|---|---|---|
| Health Score | 46 | 55 | 44 |
| Total Downloads | 13.0K | 1.0K | 400.7K |
| 30d Downloads | 3 | 118 | 6.3K |
| Dependents | 0 | 5 | 17 |
| Releases | 32 | 1 | 15 |
| Last Updated | 286d ago | 80d ago | 1928d ago |
| Age | 9m | 2m | 6y 11m |
Health Breakdown
zswap
Maintenance
13
Quality
12
Community
6
Popularity
5
Documentation
10
duende-mlock
Maintenance
9
Quality
19
Community
8
Popularity
4
Documentation
15
heim-memory
Maintenance
5
Quality
14
Community
9
Popularity
7
Documentation
9
Technical Details
| zswap | duende-mlock | heim-memory | |
|---|---|---|---|
| Version | 1.0.3 | 1.0.0 | 0.0.11 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | Apache-2.0 OR MIT |
| Dependencies | 3 | 3 | 11 |
| Crate Size | 9KB | 13KB | 17KB |
| Features | 0 | 2 | 1 |
| Yanked % | 100.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •duende-mlock leads with a health score of 55/100, but none of the options score above 80.
- •heim-memory has the most downloads (400.7K), suggesting wider adoption.
- •⚠ heim-memory has not been updated in over a year.
- •heim-memory is pre-1.0 — API may change.