Decision Workspace
zero-secrets vs zeroize vs zeroize_derive
Side-by-side comparison of Rust crates
40
zero-secrets
experimentalv0.2.0
Zeroizing secret wrappers (SecretString / SecretBytes / SecretArray) backed by RustCrypto zeroize.
78
zeroize
stablev1.9.1
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!
67
zeroize_derive
stablev1.5.0
Custom derive support for zeroize
Core Metrics
| zero-secrets | zeroize | zeroize_derive | |
|---|---|---|---|
| Health Score | 40 | 78 | 67 |
| Total Downloads | 411 | 755.0M | 283.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 8 | 51.4K | 409 |
| Releases | 1 | 47 | 24 |
| Last Updated | 107d ago | 3d ago | 119d ago |
| Age | 3m | 8y | 7y 6m |
Health Breakdown
zero-secrets
Maintenance
7
Quality
14
Community
9
Popularity
3
Documentation
7
zeroize
Maintenance
18
Quality
17
Community
20
Popularity
8
Documentation
15
zeroize_derive
Maintenance
12
Quality
14
Community
18
Popularity
8
Documentation
15
Technical Details
| zero-secrets | zeroize | zeroize_derive | |
|---|---|---|---|
| Version | 0.2.0 | 1.9.1 | 1.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 1 | 2 | 3 |
| Crate Size | 7KB | 25KB | 12KB |
| Features | 0 | 6 | 0 |
| Yanked % | 0.0% | 57.5% | 62.5% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 2 (team) | 2 (team) |
Links
Quick Verdict
- •zeroize leads with a health score of 78/100, but none of the options score above 80.
- •zeroize is depended on by 51.4K crates — strongest ecosystem trust.
- •zero-secrets is pre-1.0 — API may change.