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