Decision Workspace
duende-mlock vs os-memlock vs redoubt-guard
Side-by-side comparison of Rust crates
55
duende-mlock
experimentalv1.0.0
Memory locking for swap-critical daemons (DT-007: Swap Deadlock Prevention)
50
os-memlock
experimentalv0.2.0
Unsafe thin wrappers around OS memory locking syscalls (mlock/munlock/madvise)
50
redoubt-guard
experimentalv0.0.1
Process-level memory protection via prctl and mlock
Core Metrics
| duende-mlock | os-memlock | redoubt-guard | |
|---|---|---|---|
| Health Score | 55 | 50 | 50 |
| Total Downloads | 1.0K | 1.1K | 339 |
| 30d Downloads | 118 | 37 | 137 |
| Dependents | 5 | 0 | 3 |
| Releases | 1 | 4 | 4 |
| Last Updated | 80d ago | 175d ago | 65d ago |
| Age | 2m | 5m | 4m |
Health Breakdown
duende-mlock
Maintenance
9
Quality
19
Community
8
Popularity
4
Documentation
15
os-memlock
Maintenance
16
Quality
14
Community
3
Popularity
4
Documentation
13
redoubt-guard
Maintenance
14
Quality
15
Community
8
Popularity
3
Documentation
10
Technical Details
| duende-mlock | os-memlock | redoubt-guard | |
|---|---|---|---|
| Version | 1.0.0 | 0.2.0 | 0.0.1 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 0 |
| Crate Size | 13KB | 22KB | 973B |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| 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.
- •os-memlock has the most downloads (1.1K), suggesting wider adoption.
- •os-memlock, redoubt-guard are pre-1.0 — API may change.