Decision Workspace
num-traits vs calc_rational vs num-dual
Side-by-side comparison of Rust crates
59
num-traits
growingv0.2.19
Numeric traits for generic mathematics
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-traits | calc_rational | num-dual | |
|---|---|---|---|
| Health Score | 59 | 66 | 64 |
| Total Downloads | 655.3M | 23.4K | 101.1K |
| 30d Downloads | 39.8M | 38 | 5.8K |
| Dependents | 80.6K | 0 | 201 |
| Releases | 32 | 23 | 32 |
| Last Updated | 693d ago | 7d ago | 19d ago |
| Age | 9y 11m | 2y 11m | 4y 8m |
Health Breakdown
num-traits
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-traits | calc_rational | num-dual | |
|---|---|---|---|
| Version | 0.2.19 | 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 | 2 | 6 | 10 |
| Crate Size | 52KB | 36KB | 258KB |
| Features | 4 | 3 | 3 |
| Yanked % | 3.1% | 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-traits has the most downloads (655.3M), suggesting wider adoption.
- •num-traits is depended on by 80.6K crates — strongest ecosystem trust.
- •⚠ num-traits has not been updated in over a year.
- •num-traits, num-dual are pre-1.0 — API may change.