Decision Workspace
shielded vs zeroize vs zeroize_derive
Side-by-side comparison of Rust crates
37
shielded
growingv0.1.2
Shielded Memory. Memory protection from speculation and side-channel attacks like Spectre, Meltdown, Rowhammer and Rambleed.
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
| shielded | zeroize | zeroize_derive | |
|---|---|---|---|
| Health Score | 37 | 78 | 67 |
| Total Downloads | 5.3K | 755.0M | 283.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 51.4K | 409 |
| Releases | 3 | 47 | 24 |
| Last Updated | 1089d ago | 3d ago | 119d ago |
| Age | 7y 3m | 8y | 7y 6m |
Health Breakdown
shielded
Maintenance
3
Quality
15
Community
6
Popularity
4
Documentation
9
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
| shielded | zeroize | zeroize_derive | |
|---|---|---|---|
| Version | 0.1.2 | 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 | 2 | 2 | 3 |
| Crate Size | 6KB | 25KB | 12KB |
| Features | 0 | 6 | 0 |
| Yanked % | 0.0% | 57.5% | 62.5% |
| Edition | 2018 | 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.
- •⚠ shielded has not been updated in over a year.
- •shielded is pre-1.0 — API may change.