Decision Workspace
upcast-arithmetic vs calc_rational vs num-dual
Side-by-side comparison of Rust crates
42
upcast-arithmetic
growingv0.1.2
Arithmetic that is upcasted on overflow
66
calc_rational
stablev3.0.0
CLI calculator for rational numbers.
64
num-dual
growingv0.13.6
Generalized (hyper) dual numbers for the calculation of exact (partial) derivatives
Core Metrics
| upcast-arithmetic | calc_rational | num-dual | |
|---|---|---|---|
| Health Score | 42 | 66 | 64 |
| Total Downloads | 7.1K | 23.4K | 101.1K |
| 30d Downloads | 8 | 38 | 5.8K |
| Dependents | 0 | 0 | 201 |
| Releases | 6 | 23 | 32 |
| Last Updated | 1322d ago | 7d ago | 19d ago |
| Age | 3y 8m | 2y 11m | 4y 8m |
Health Breakdown
upcast-arithmetic
Maintenance
4
Quality
17
Community
6
Popularity
5
Documentation
10
calc_rational
Maintenance
19
Quality
21
Community
6
Popularity
5
Documentation
15
num-dual
Maintenance
19
Quality
13
Community
14
Popularity
6
Documentation
12
Technical Details
| upcast-arithmetic | calc_rational | num-dual | |
|---|---|---|---|
| Version | 0.1.2 | 3.0.0 | 0.13.6 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 6 | 10 |
| Crate Size | 6KB | 36KB | 258KB |
| Features | 2 | 3 | 3 |
| Yanked % | 0.0% | 0.0% | 3.1% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.93.1 | 1.87 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •calc_rational leads with a health score of 66/100, but none of the options score above 80.
- •num-dual has the most downloads (101.1K), suggesting wider adoption.
- •num-dual is depended on by 201 crates — strongest ecosystem trust.
- •⚠ upcast-arithmetic has not been updated in over a year.
- •upcast-arithmetic, num-dual are pre-1.0 — API may change.