Decision Workspace
num-derive vs dashu-base vs dashu
Side-by-side comparison of Rust crates
Numeric syntax extensions
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.
A pure-Rust library set of arbitrary-precision numbers (big numbers) for math and numerics, a native alternative to GNU GMP + MPFR + MPC. Ergonomics and readability come first, with speed and memory usage optimized enough for real workloads. Full no_std, MSRV 1.68; integers, floats, rationals, and complex numbers with configurable precision and rounding, literal macros, and optional serde, rand, num-traits, rkyv, zeroize.
Core Metrics
| num-derive | dashu-base | dashu | |
|---|---|---|---|
| Health Score | 62 | 68 | 68 |
| Total Downloads | 252.0M | 4.2M | 2.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 21.5K | 170 | 560 |
| Releases | 24 | 17 | 19 |
| Last Updated | 81d ago | 15d ago | 8d ago |
| Age | 10y | 4y 3m | 4y 3m |
Health Breakdown
Technical Details
| num-derive | dashu-base | dashu | |
|---|---|---|---|
| Version | 0.5.1 | 0.6.1 | 0.6.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 3 | 6 |
| Crate Size | 16KB | 29KB | 19KB |
| Features | 0 | 2 | 17 |
| Yanked % | 0.0% | 0.0% | 5.3% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.71.0 | 1.68 | 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.
- •num-derive has the most downloads (252.0M), suggesting wider adoption.
- •num-derive is depended on by 21.5K crates — strongest ecosystem trust.