Decision Workspace
url-macro vs url vs iref
Side-by-side comparison of Rust crates
57
url-macro
growingv0.2.3
A compile-time URL validation macro. Parses and checks URLs at compile-time, converting valid URLs into `url::Url` objects. Provides early error detection for malformed URLs.
76
url
stablev2.5.8
URL library for Rust, based on the WHATWG URL Standard
71
iref
stablev4.0.0
Uniform & Internationalized Resource Identifiers (URIs/IRIs), borrowed and owned.
Core Metrics
| url-macro | url | iref | |
|---|---|---|---|
| Health Score | 57 | 76 | 71 |
| Total Downloads | 76.7K | 550.9M | 5.3M |
| 30d Downloads | 13.7K | 39.9M | 350.6K |
| Dependents | 45 | 152.8K | 1.1K |
| Releases | 18 | 89 | 39 |
| Last Updated | 88d ago | 81d ago | 5d ago |
| Age | 1y 8m | 11y 4m | 6y |
Health Breakdown
url-macro
Maintenance
14
Quality
15
Community
10
Popularity
6
Documentation
12
url
Maintenance
15
Quality
20
Community
19
Popularity
8
Documentation
14
iref
Maintenance
19
Quality
15
Community
14
Popularity
8
Documentation
15
Technical Details
| url-macro | url | iref | |
|---|---|---|---|
| Version | 0.2.3 | 2.5.8 | 4.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | Apache-2.0 OR MIT | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 1 | 10 | 9 |
| Crate Size | 11KB | 87KB | 87KB |
| Features | 0 | 5 | 4 |
| Yanked % | 0.0% | 3.4% | 25.6% |
| Edition | 2021 | 2018 | 2024 |
| MSRV | 1.85.0 | 1.63 | 1.89.0 |
| Owners | 1 | 5 (team) | 1 |
Links
Quick Verdict
- •url leads with a health score of 76/100, but none of the options score above 80.
- •url is depended on by 152.8K crates — strongest ecosystem trust.
- •url-macro is pre-1.0 — API may change.