Decision Workspace
trig-const vs generic-upper-bound vs url-static
Side-by-side comparison of Rust crates
57
trig-const
growingv0.4.0
Const trig functions in Rust
58
generic-upper-bound
growingv3.1.2
Stable workaround for internal uses of generic-const-exprs
58
url-static
growingv1.0.0
Simple macro for compile-time URL validation
Core Metrics
| trig-const | generic-upper-bound | url-static | |
|---|---|---|---|
| Health Score | 57 | 58 | 58 |
| Total Downloads | 9.1K | 5.0K | 31.4K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 26 | 19 | 2 |
| Releases | 10 | 11 | 7 |
| Last Updated | 237d ago | 171d ago | 27d ago |
| Age | 1y 2m | 1y 4m | 7m |
Health Breakdown
trig-const
Maintenance
10
Quality
17
Community
10
Popularity
5
Documentation
15
generic-upper-bound
Maintenance
11
Quality
19
Community
9
Popularity
4
Documentation
15
url-static
Maintenance
17
Quality
17
Community
7
Popularity
5
Documentation
12
Technical Details
| trig-const | generic-upper-bound | url-static | |
|---|---|---|---|
| Version | 0.4.0 | 3.1.2 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 5 |
| Crate Size | 40KB | 6KB | 12KB |
| Features | 2 | 0 | 4 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.85.0 | 1.78 | 1.85.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •generic-upper-bound leads with a health score of 58/100, but none of the options score above 80.
- •url-static has the most downloads (31.4K), suggesting wider adoption.
- •trig-const is pre-1.0 — API may change.