Decision Workspace
calc_rational vs num-dual vs num-complex
Side-by-side comparison of Rust crates
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
62
num-complex
growingv0.4.6
Complex numbers implementation for Rust
Core Metrics
| calc_rational | num-dual | num-complex | |
|---|---|---|---|
| Health Score | 66 | 64 | 62 |
| Total Downloads | 23.4K | 101.1K | 235.5M |
| 30d Downloads | 38 | 5.9K | 17.7M |
| Dependents | 0 | 201 | 7.8K |
| Releases | 23 | 32 | 26 |
| Last Updated | 7d ago | 19d ago | 427d ago |
| Age | 2y 11m | 4y 8m | 9y 11m |
Health Breakdown
calc_rational
Maintenance
19
Quality
21
Community
6
Popularity
5
Documentation
15
num-dual
Maintenance
19
Quality
13
Community
14
Popularity
6
Documentation
12
num-complex
Maintenance
8
Quality
17
Community
14
Popularity
8
Documentation
15
Technical Details
| calc_rational | num-dual | num-complex | |
|---|---|---|---|
| Version | 3.0.0 | 0.13.6 | 0.4.6 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 6 | 10 | 6 |
| Crate Size | 36KB | 258KB | 30KB |
| Features | 3 | 3 | 8 |
| Yanked % | 0.0% | 3.1% | 0.0% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | 1.93.1 | 1.87 | 1.60 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •calc_rational leads with a health score of 66/100, but none of the options score above 80.
- •num-complex has the most downloads (235.5M), suggesting wider adoption.
- •num-complex is depended on by 7.8K crates — strongest ecosystem trust.
- •⚠ num-complex has not been updated in over a year.
- •num-dual, num-complex are pre-1.0 — API may change.