Decision Workspace
num-primitive vs num-lazy vs calc_rational
Side-by-side comparison of Rust crates
60
num-primitive
experimentalv0.3.7
Traits for primitive numeric types
56
num-lazy
growingv0.4.1
Number macros for generic-typed functions.
66
calc_rational
stablev3.0.0
CLI calculator for rational numbers.
Core Metrics
| num-primitive | num-lazy | calc_rational | |
|---|---|---|---|
| Health Score | 60 | 56 | 66 |
| Total Downloads | 2.9K | 13.9K | 23.4K |
| 30d Downloads | 1.6K | 3.5K | 38 |
| Dependents | 13 | 25 | 0 |
| Releases | 16 | 6 | 23 |
| Last Updated | 12d ago | 31d ago | 7d ago |
| Age | 3m | 1y 1m | 2y 11m |
Health Breakdown
num-primitive
Maintenance
18
Quality
17
Community
9
Popularity
4
Documentation
12
num-lazy
Maintenance
17
Quality
11
Community
10
Popularity
5
Documentation
13
calc_rational
Maintenance
19
Quality
21
Community
6
Popularity
5
Documentation
15
Technical Details
| num-primitive | num-lazy | calc_rational | |
|---|---|---|---|
| Version | 0.3.7 | 0.4.1 | 3.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | BSD-3-Clause | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 6 |
| Crate Size | 26KB | 6KB | 36KB |
| Features | 2 | 0 | 3 |
| Yanked % | 0.0% | 16.7% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.94 | — | 1.93.1 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •calc_rational leads with a health score of 66/100, but none of the options score above 80.
- •num-primitive, num-lazy are pre-1.0 — API may change.