Decision Workspace
zeroize vs zeroize_derive vs secmem-proc
Side-by-side comparison of Rust crates
68
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!
65
zeroize_derive
stablev1.4.3
Custom derive support for zeroize
57
secmem-proc
growingv0.3.8
Process hardening through system APIs
Core Metrics
| zeroize | zeroize_derive | secmem-proc | |
|---|---|---|---|
| Health Score | 68 | 65 | 57 |
| Total Downloads | 394.3M | 153.0M | 434.3K |
| 30d Downloads | 34.9M | 11.6M | 32.6K |
| Dependents | 21.2K | 283 | 51 |
| Releases | 45 | 23 | 13 |
| Last Updated | 179d ago | 88d ago | 86d ago |
| Age | 7y 5m | 7y | 4y 4m |
Health Breakdown
zeroize
Maintenance
11
Quality
17
Community
20
Popularity
8
Documentation
12
zeroize_derive
Maintenance
13
Quality
14
Community
18
Popularity
8
Documentation
12
secmem-proc
Maintenance
12
Quality
15
Community
11
Popularity
7
Documentation
12
Technical Details
| zeroize | zeroize_derive | secmem-proc | |
|---|---|---|---|
| Version | 1.8.2 | 1.4.3 | 0.3.8 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 3 | 11 |
| Crate Size | 21KB | 12KB | 30KB |
| Features | 6 | 0 | 4 |
| Yanked % | 60.0% | 65.2% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.60 | 1.56 | 1.65 |
| Owners | 2 (team) | 2 (team) | 1 |
Links
Quick Verdict
- •zeroize leads with a health score of 68/100, but none of the options score above 80.
- •zeroize is depended on by 21.2K crates — strongest ecosystem trust.
- •secmem-proc is pre-1.0 — API may change.