Decision Workspace
num-rational vs calc_rational vs num-dual
Side-by-side comparison of Rust crates
59
num-rational
growingv0.4.2
Rational numbers implementation for Rust
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
| num-rational | calc_rational | num-dual | |
|---|---|---|---|
| Health Score | 59 | 66 | 64 |
| Total Downloads | 249.6M | 23.4K | 101.1K |
| 30d Downloads | 17.3M | 38 | 5.9K |
| Dependents | 3.4K | 0 | 201 |
| Releases | 21 | 23 | 32 |
| Last Updated | 427d ago | 7d ago | 19d ago |
| Age | 9y 11m | 2y 11m | 4y 8m |
Health Breakdown
num-rational
Maintenance
6
Quality
16
Community
14
Popularity
8
Documentation
15
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
| num-rational | calc_rational | num-dual | |
|---|---|---|---|
| Version | 0.4.2 | 3.0.0 | 0.13.6 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 6 | 10 |
| Crate Size | 28KB | 36KB | 258KB |
| Features | 5 | 3 | 3 |
| Yanked % | 4.8% | 0.0% | 3.1% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | 1.60 | 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-rational has the most downloads (249.6M), suggesting wider adoption.
- •num-rational is depended on by 3.4K crates — strongest ecosystem trust.
- •⚠ num-rational has not been updated in over a year.
- •num-rational, num-dual are pre-1.0 — API may change.