Decision Workspace
zeroize vs zeroize_derive vs zero-secrets
Side-by-side comparison of Rust crates
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
40
zero-secrets
experimentalv0.2.0
Zeroizing secret wrappers (SecretString / SecretBytes / SecretArray) backed by RustCrypto zeroize.
Core Metrics
| zeroize | zeroize_derive | zero-secrets | |
|---|---|---|---|
| Health Score | 78 | 67 | 40 |
| Total Downloads | 755.0M | 283.3M | 411 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 51.4K | 409 | 8 |
| Releases | 47 | 24 | 1 |
| Last Updated | 3d ago | 119d ago | 107d ago |
| Age | 8y | 7y 6m | 3m |
Health Breakdown
zeroize
Maintenance
18
Quality
17
Community
20
Popularity
8
Documentation
15
zeroize_derive
Maintenance
12
Quality
14
Community
18
Popularity
8
Documentation
15
zero-secrets
Maintenance
7
Quality
14
Community
9
Popularity
3
Documentation
7
Technical Details
| zeroize | zeroize_derive | zero-secrets | |
|---|---|---|---|
| Version | 1.9.1 | 1.5.0 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | Apache-2.0 OR MIT | Apache-2.0 OR MIT | MIT |
| Dependencies | 2 | 3 | 1 |
| Crate Size | 25KB | 12KB | 7KB |
| Features | 6 | 0 | 0 |
| Yanked % | 57.5% | 62.5% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | 1.85 | 1.85 | — |
| Owners | 2 (team) | 2 (team) | 1 |
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.