Decision Workspace
postal-code vs phonelib vs postcode-validator
Side-by-side comparison of Rust crates
47
postal-code
growingv0.3.0
A robust, production-grade Rust library for validating international postal codes.
66
phonelib
stablev1.2.0
A comprehensive library for phone number validation, formatting, parsing, and manipulation
46
postcode-validator
experimentalv0.1.0
per-country postal code format validation
Core Metrics
| postal-code | phonelib | postcode-validator | |
|---|---|---|---|
| Health Score | 47 | 66 | 46 |
| Total Downloads | 12.0K | 51.0K | 18 |
| 30d Downloads | 668 | 4.4K | 0 |
| Dependents | 54 | 23 | 0 |
| Releases | 3 | 19 | 1 |
| Last Updated | 420d ago | 36d ago | 12d ago |
| Age | 1y 7m | 2y 7m | 12d |
Health Breakdown
postal-code
Maintenance
6
Quality
13
Community
10
Popularity
5
Documentation
13
phonelib
Maintenance
17
Quality
18
Community
10
Popularity
6
Documentation
15
postcode-validator
Maintenance
12
Quality
14
Community
6
Popularity
2
Documentation
12
Technical Details
| postal-code | phonelib | postcode-validator | |
|---|---|---|---|
| Version | 0.3.0 | 1.2.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 13 | 1 | 1 |
| Crate Size | 9KB | 49KB | 15KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.70 | 1.80 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •phonelib leads with a health score of 66/100, but none of the options score above 80.
- •⚠ postal-code has not been updated in over a year.
- •postal-code, postcode-validator are pre-1.0 — API may change.