Decision Workspace
classified_macros vs sanitization-derive vs redoubt-secret
Side-by-side comparison of Rust crates
46
classified_macros
experimentalv0.1.0
#[derive(Classified)] for the classified crate: a struct of secret fields becomes a zeroized, redacted container with a borrowed view.
61
sanitization-derive
experimentalv2.1.0
Optional derive macros for the sanitization crate.
59
redoubt-secret
experimentalv0.1.0-rc.18
High-level Secret wrapper with automatic zeroization
Core Metrics
| classified_macros | sanitization-derive | redoubt-secret | |
|---|---|---|---|
| Health Score | 46 | 61 | 59 |
| Total Downloads | 27 | 353 | 1.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 1 | 16 | 65 |
| Releases | 1 | 16 | 16 |
| Last Updated | 37d ago | 33d ago | 7d ago |
| Age | 1m | 4m | 8m |
Health Breakdown
classified_macros
Maintenance
11
Quality
14
Community
7
Popularity
2
Documentation
12
sanitization-derive
Maintenance
17
Quality
17
Community
9
Popularity
3
Documentation
15
redoubt-secret
Maintenance
19
Quality
15
Community
11
Popularity
4
Documentation
10
Technical Details
| classified_macros | sanitization-derive | redoubt-secret | |
|---|---|---|---|
| Version | 0.1.0 | 2.1.0 | 0.1.0-rc.18 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | GPL-3.0-only |
| Dependencies | 3 | 3 | 3 |
| Crate Size | 9KB | 7KB | 13KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.70 | 1.90 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sanitization-derive leads with a health score of 61/100, but none of the options score above 80.
- •redoubt-secret has the most downloads (1.3K), suggesting wider adoption.
- •classified_macros, redoubt-secret are pre-1.0 — API may change.