Decision Workspace
sanitizer vs phonelib vs svg-hush
Side-by-side comparison of Rust crates
55
sanitizer
growingv1.0.0
A collection of methods and macros to sanitize struct fields.
64
phonelib
stablev1.1.3
A comprehensive library for phone number validation, formatting, parsing, and manipulation
58
svg-hush
growingv0.9.6
Strip scripting and other abusable features from SVG files
Core Metrics
| sanitizer | phonelib | svg-hush | |
|---|---|---|---|
| Health Score | 55 | 64 | 58 |
| Total Downloads | 786.3K | 33.9K | 133.6K |
| 30d Downloads | 94.0K | 4.5K | 18.6K |
| Dependents | 16 | 8 | 3 |
| Releases | 7 | 18 | 7 |
| Last Updated | 146d ago | 12d ago | 40d ago |
| Age | 5y 3m | 2y 3m | 3y 8m |
Health Breakdown
sanitizer
Maintenance
9
Quality
18
Community
11
Popularity
7
Documentation
10
phonelib
Maintenance
18
Quality
17
Community
9
Popularity
5
Documentation
15
svg-hush
Maintenance
15
Quality
14
Community
11
Popularity
6
Documentation
12
Technical Details
| sanitizer | phonelib | svg-hush | |
|---|---|---|---|
| Version | 1.0.0 | 1.1.3 | 0.9.6 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | Apache-2.0 OR MIT |
| Dependencies | 5 | 1 | 5 |
| Crate Size | 9KB | 44KB | 17KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.70 | 1.85 |
| Owners | 2 | 1 | 3 |
Links
Quick Verdict
- •phonelib leads with a health score of 64/100, but none of the options score above 80.
- •sanitizer has the most downloads (786.3K), suggesting wider adoption.
- •svg-hush is pre-1.0 — API may change.