Decision Workspace
zeroize vs zeroize_derive vs memsec
Side-by-side comparison of Rust crates
66
zeroize
growingv1.8.2
Securely clear secrets from memory with a simple trait built on stable Rust primitives which guarantee memory is zeroed using an operation will not be 'optimized away' by the compiler. Uses a portable pure Rust implementation that works everywhere, even WASM!
63
zeroize_derive
growingv1.4.3
Custom derive support for zeroize
56
memsec
growingv0.7.0
Rust implementation `libsodium/utils`.
Core Metrics
| zeroize | zeroize_derive | memsec | |
|---|---|---|---|
| Health Score | 66 | 63 | 56 |
| Total Downloads | 476.9M | 176.2M | 2.1M |
| 30d Downloads | 47.0M | 13.0M | 100.6K |
| Dependents | 26.7K | 321 | 206 |
| Releases | 45 | 23 | 35 |
| Last Updated | 238d ago | 147d ago | 718d ago |
| Age | 7y 7m | 7y 2m | 9y 11m |
Health Breakdown
zeroize
Maintenance
9
Quality
17
Community
20
Popularity
8
Documentation
12
zeroize_derive
Maintenance
11
Quality
14
Community
18
Popularity
8
Documentation
12
memsec
Maintenance
6
Quality
18
Community
12
Popularity
8
Documentation
12
Technical Details
| zeroize | zeroize_derive | memsec | |
|---|---|---|---|
| Version | 1.8.2 | 1.4.3 | 0.7.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | MIT |
| Dependencies | 2 | 3 | 3 |
| Crate Size | 21KB | 12KB | 7KB |
| Features | 6 | 0 | 5 |
| Yanked % | 60.0% | 65.2% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.60 | 1.56 | — |
| Owners | 2 (team) | 2 (team) | 1 |
Links
Quick Verdict
- •zeroize leads with a health score of 66/100, but none of the options score above 80.
- •zeroize is depended on by 26.7K crates — strongest ecosystem trust.
- •⚠ memsec has not been updated in over a year.
- •memsec is pre-1.0 — API may change.