Decision Workspace
literal-funs vs type-const vs trig-const
Side-by-side comparison of Rust crates
48
literal-funs
growingv0.1.4
Some filters that ignore input values and return constant values
60
type-const
growingv1.1.1
Type-level associated consts
60
trig-const
experimentalv0.4.0
Const trig functions in Rust
Core Metrics
| literal-funs | type-const | trig-const | |
|---|---|---|---|
| Health Score | 48 | 60 | 60 |
| Total Downloads | 3.0K | 2.9K | 4.6K |
| 30d Downloads | 7 | 89 | 375 |
| Dependents | 0 | 9 | 8 |
| Releases | 5 | 5 | 10 |
| Last Updated | 365d ago | 278d ago | 41d ago |
| Age | 1y | 9m | 8m |
Health Breakdown
literal-funs
Maintenance
13
Quality
15
Community
6
Popularity
4
Documentation
10
type-const
Maintenance
14
Quality
19
Community
8
Popularity
4
Documentation
15
trig-const
Maintenance
16
Quality
16
Community
9
Popularity
4
Documentation
15
Technical Details
| literal-funs | type-const | trig-const | |
|---|---|---|---|
| Version | 0.1.4 | 1.1.1 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 0 | 1 |
| Crate Size | 2KB | 4KB | 40KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.78 | 1.85.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •type-const leads with a health score of 60/100, but none of the options score above 80.
- •trig-const has the most downloads (4.6K), suggesting wider adoption.
- •literal-funs, trig-const are pre-1.0 — API may change.