Decision Workspace
num-complex vs num-dual vs common_traits
Side-by-side comparison of Rust crates
62
num-complex
growingv0.4.6
Complex numbers implementation for Rust
66
num-dual
growingv0.13.7
Generalized (hyper) dual numbers for the calculation of exact (partial) derivatives
62
common_traits
growingv0.12.1
Traits to write generic functions on different numeric types, with atomic support, and other features.
Core Metrics
| num-complex | num-dual | common_traits | |
|---|---|---|---|
| Health Score | 62 | 66 | 62 |
| Total Downloads | 274.8M | 124.6K | 151.3K |
| 30d Downloads | 21.7M | 16.2K | 9.3K |
| Dependents | 8.7K | 268 | 153 |
| Releases | 26 | 33 | 39 |
| Last Updated | 486d ago | 4d ago | 57d ago |
| Age | 10y 1m | 4y 10m | 3y 3m |
Health Breakdown
num-complex
Maintenance
8
Quality
17
Community
14
Popularity
8
Documentation
15
num-dual
Maintenance
20
Quality
13
Community
15
Popularity
6
Documentation
12
common_traits
Maintenance
16
Quality
17
Community
13
Popularity
6
Documentation
10
Technical Details
| num-complex | num-dual | common_traits | |
|---|---|---|---|
| Version | 0.4.6 | 0.13.7 | 0.12.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | Apache-2.0 |
| Dependencies | 6 | 10 | 4 |
| Crate Size | 30KB | 257KB | 72KB |
| Features | 8 | 3 | 5 |
| Yanked % | 0.0% | 3.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | 1.60 | 1.87 | — |
| Owners | 1 | 2 | 2 |
Links
Quick Verdict
- •num-dual leads with a health score of 66/100, but none of the options score above 80.
- •num-complex has the most downloads (274.8M), suggesting wider adoption.
- •num-complex is depended on by 8.7K crates — strongest ecosystem trust.
- •⚠ num-complex has not been updated in over a year.