Decision Workspace
sanitizer vs phonelib vs trim-in-place
Side-by-side comparison of Rust crates
55
sanitizer
growingv1.0.0
A collection of methods and macros to sanitize struct fields.
66
phonelib
stablev2.1.0
A comprehensive library for phone number validation, formatting, parsing, and manipulation
61
trim-in-place
growingv0.2.1
In-place trimming strings.
Core Metrics
| sanitizer | phonelib | trim-in-place | |
|---|---|---|---|
| Health Score | 55 | 66 | 61 |
| Total Downloads | 984.2K | 68.5K | 15.4M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 52 | 30 | 55 |
| Releases | 7 | 21 | 11 |
| Last Updated | 342d ago | 11d ago | 4d ago |
| Age | 5y 9m | 2y 10m | 6y 4m |
Health Breakdown
sanitizer
Maintenance
6
Quality
19
Community
13
Popularity
7
Documentation
10
phonelib
Maintenance
18
Quality
17
Community
10
Popularity
6
Documentation
15
trim-in-place
Maintenance
16
Quality
15
Community
10
Popularity
8
Documentation
12
Technical Details
| sanitizer | phonelib | trim-in-place | |
|---|---|---|---|
| Version | 1.0.0 | 2.1.0 | 0.2.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 5 | 1 | 1 |
| Crate Size | 9KB | 124KB | 4KB |
| Features | 2 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.74 | 1.85 |
| Owners | 2 | 1 | 1 |
Links
Quick Verdict
- •phonelib leads with a health score of 66/100, but none of the options score above 80.
- •trim-in-place has the most downloads (15.4M), suggesting wider adoption.
- •trim-in-place is pre-1.0 — API may change.