Decision Workspace
num-primitive vs num-lazy vs num-dual
Side-by-side comparison of Rust crates
59
num-primitive
experimentalv0.3.7
Traits for primitive numeric types
53
num-lazy
growingv0.4.1
Number macros for generic-typed functions.
66
num-dual
growingv0.13.7
Generalized (hyper) dual numbers for the calculation of exact (partial) derivatives
Core Metrics
| num-primitive | num-lazy | num-dual | |
|---|---|---|---|
| Health Score | 59 | 53 | 66 |
| Total Downloads | 9.7K | 23.2K | 124.6K |
| 30d Downloads | 4.8K | 5.7K | 16.2K |
| Dependents | 22 | 25 | 268 |
| Releases | 16 | 6 | 33 |
| Last Updated | 71d ago | 90d ago | 4d ago |
| Age | 5m | 1y 3m | 4y 10m |
Health Breakdown
num-primitive
Maintenance
15
Quality
17
Community
10
Popularity
5
Documentation
12
num-lazy
Maintenance
14
Quality
11
Community
10
Popularity
5
Documentation
13
num-dual
Maintenance
20
Quality
13
Community
15
Popularity
6
Documentation
12
Technical Details
| num-primitive | num-lazy | num-dual | |
|---|---|---|---|
| Version | 0.3.7 | 0.4.1 | 0.13.7 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | BSD-3-Clause | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 10 |
| Crate Size | 26KB | 6KB | 257KB |
| Features | 2 | 0 | 3 |
| Yanked % | 0.0% | 16.7% | 3.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.94 | — | 1.87 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •num-dual leads with a health score of 66/100, but none of the options score above 80.
- •num-dual is depended on by 268 crates — strongest ecosystem trust.