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.
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
Core Metrics
| shielded | zeroize | zeroize_derive | |
|---|---|---|---|
| Health Score | 37 | 68 | 65 |
| Total Downloads | 5.2K | 394.3M | 153.0M |
| 30d Downloads | 15 | 33.7M | 11.2M |
| Dependents | 0 | 21.2K | 283 |
| Releases | 3 | 45 | 23 |
| Last Updated | 892d ago | 179d ago | 88d ago |
| Age | 6y 9m | 7y 5m | 7y |
Health Breakdown
shielded
Maintenance
3
Quality
15
Community
6
Popularity
4
Documentation
9
zeroize
Maintenance
11
Quality
17
Community
20
Popularity
8
Documentation
12
zeroize_derive
Maintenance
13
Quality
14
Community
18
Popularity
8
Documentation
12
Technical Details
| shielded | zeroize | zeroize_derive | |
|---|---|---|---|
| Version | 0.1.2 | 1.8.2 | 1.4.3 |
| 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 | 21KB | 12KB |
| Features | 0 | 6 | 0 |
| Yanked % | 0.0% | 60.0% | 65.2% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | 1.60 | 1.56 |
| Owners | 1 | 2 (team) | 2 (team) |
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.
- •⚠ shielded has not been updated in over a year.
- •shielded is pre-1.0 — API may change.