Decision Workspace
dst-factory vs sanitization vs rawbytes
Side-by-side comparison of Rust crates
51
dst-factory
growingv0.8.0
Rich support to safely create instances of Rust's Dynamically Sized Types
68
sanitization
experimentalv2.1.0
Dependency-free no_std secret memory sanitization with safe defaults and an explicit volatile wipe backend.
60
rawbytes
stablev1.0.2
View Rust values as byte slices without copying or allocation, with no_std support
Core Metrics
| dst-factory | sanitization | rawbytes | |
|---|---|---|---|
| Health Score | 51 | 68 | 60 |
| Total Downloads | 3.3K | 32.6K | 247.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 6 | 131 | 20 |
| Releases | 11 | 21 | 6 |
| Last Updated | 101d ago | 33d ago | 15d ago |
| Age | 1y 4m | 4m | 6y 6m |
Health Breakdown
dst-factory
Maintenance
14
Quality
13
Community
8
Popularity
4
Documentation
12
sanitization
Maintenance
17
Quality
19
Community
12
Popularity
5
Documentation
15
rawbytes
Maintenance
15
Quality
21
Community
9
Popularity
6
Documentation
9
Technical Details
| dst-factory | sanitization | rawbytes | |
|---|---|---|---|
| Version | 0.8.0 | 2.1.0 | 1.0.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 8 | 5 | 0 |
| Crate Size | 64KB | 173KB | 2KB |
| Features | 0 | 25 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2018 |
| MSRV | 1.90.0 | 1.90 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sanitization leads with a health score of 68/100, but none of the options score above 80.
- •rawbytes has the most downloads (247.0K), suggesting wider adoption.
- •sanitization is depended on by 131 crates — strongest ecosystem trust.
- •dst-factory is pre-1.0 — API may change.