Decision Workspace
postal-code vs phonelib vs clap-sort
Side-by-side comparison of Rust crates
47
postal-code
growingv0.3.0
A robust, production-grade Rust library for validating international postal codes.
64
phonelib
stablev1.1.3
A comprehensive library for phone number validation, formatting, parsing, and manipulation
67
clap-sort
experimentalv1.0.3
Validate that clap Subcommand enums are sorted alphabetically
Core Metrics
| postal-code | phonelib | clap-sort | |
|---|---|---|---|
| Health Score | 47 | 64 | 67 |
| Total Downloads | 7.2K | 33.9K | 21.2K |
| 30d Downloads | 1.4K | 4.5K | 4.4K |
| Dependents | 28 | 8 | 105 |
| Releases | 3 | 18 | 8 |
| Last Updated | 312d ago | 12d ago | 144d ago |
| Age | 1y 3m | 2y 3m | 4m |
Health Breakdown
postal-code
Maintenance
7
Quality
13
Community
9
Popularity
5
Documentation
13
phonelib
Maintenance
18
Quality
17
Community
9
Popularity
5
Documentation
15
clap-sort
Maintenance
18
Quality
17
Community
12
Popularity
5
Documentation
15
Technical Details
| postal-code | phonelib | clap-sort | |
|---|---|---|---|
| Version | 0.3.0 | 1.1.3 | 1.0.3 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 13 | 1 | 2 |
| Crate Size | 9KB | 44KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.70 | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •clap-sort leads with a health score of 67/100, but none of the options score above 80.
- •phonelib has the most downloads (33.9K), suggesting wider adoption.
- •clap-sort is depended on by 105 crates — strongest ecosystem trust.
- •postal-code is pre-1.0 — API may change.