Decision Workspace
iri-rs-static vs iref vs const-gen
Side-by-side comparison of Rust crates
57
iri-rs-static
experimentalv3.4.1
Compile-time IRI and URI literal macros for iri-rs. Validate at macro expansion and emit const expressions with pre-computed component positions.
70
iref
stablev4.3.0
Uniform & Internationalized Resource Identifiers (URIs/IRIs), borrowed and owned.
69
const-gen
stablev1.6.10
A crate for generating (relatively) complex compile-time constants in rust.
Core Metrics
| iri-rs-static | iref | const-gen | |
|---|---|---|---|
| Health Score | 57 | 70 | 69 |
| Total Downloads | 1.4K | 8.6M | 602.3K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 20 | 1.2K | 37 |
| Releases | 10 | 44 | 46 |
| Last Updated | 66d ago | 8d ago | 12d ago |
| Age | 5m | 6y 6m | 5y 5m |
Health Breakdown
iri-rs-static
Maintenance
15
Quality
16
Community
10
Popularity
4
Documentation
12
iref
Maintenance
18
Quality
15
Community
14
Popularity
8
Documentation
15
const-gen
Maintenance
18
Quality
22
Community
10
Popularity
7
Documentation
12
Technical Details
| iri-rs-static | iref | const-gen | |
|---|---|---|---|
| Version | 3.4.1 | 4.3.0 | 1.6.10 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 9 | 2 |
| Crate Size | 5KB | 89KB | 11KB |
| Features | 0 | 4 | 5 |
| Yanked % | 0.0% | 25.0% | 2.2% |
| Edition | 2024 | 2024 | 2018 |
| MSRV | 1.85.0 | 1.89.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •iref leads with a health score of 70/100, but none of the options score above 80.
- •iref is depended on by 1.2K crates — strongest ecosystem trust.