Decision Workspace
num-lazy vs num-primitive vs dashu-base
Side-by-side comparison of Rust crates
50
num-lazy
growingv0.4.1
Number macros for generic-typed functions.
60
num-primitive
experimentalv0.3.10
Traits for primitive numeric types
68
dashu-base
growingv0.6.1
Common trait definitions, error types, and utilities shared by the dashu math crates (integers, floats, rationals, and complex numbers). Defines the core abstractions the library builds on — Approximation, AbsOrd, Signed, SquareRoot, CubicRoot, EstimatedLog2, BitTest, and FloatEncoding — plus the Sign type and conversion errors.
Core Metrics
| num-lazy | num-primitive | dashu-base | |
|---|---|---|---|
| Health Score | 50 | 60 | 68 |
| Total Downloads | 78.7K | 30.0K | 4.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 33 | 39 | 170 |
| Releases | 6 | 19 | 17 |
| Last Updated | 228d ago | 50d ago | 15d ago |
| Age | 1y 8m | 10m | 4y 3m |
Health Breakdown
num-lazy
Maintenance
10
Quality
11
Community
10
Popularity
6
Documentation
13
num-primitive
Maintenance
16
Quality
17
Community
10
Popularity
5
Documentation
12
dashu-base
Maintenance
17
Quality
17
Community
11
Popularity
8
Documentation
15
Technical Details
| num-lazy | num-primitive | dashu-base | |
|---|---|---|---|
| Version | 0.4.1 | 0.3.10 | 0.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | BSD-3-Clause | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 0 | 3 |
| Crate Size | 6KB | 29KB | 29KB |
| Features | 0 | 2 | 2 |
| Yanked % | 16.7% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.98 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dashu-base leads with a health score of 68/100, but none of the options score above 80.
- •dashu-base is depended on by 170 crates — strongest ecosystem trust.