Decision Workspace
dashu-cmplx vs dashu vs dashu-ratio
Side-by-side comparison of Rust crates
An arbitrary-precision complex math library for Rust — the Rust-native alternative to GNU MPC. Provides CBig and CachedCBig, built on dashu-float's FBig, with field arithmetic, elementary transcendentals, and abs/arg/conj/proj plus I/O, following the C99 Annex G / Kahan branch-cut and signed-zero model. Optional serde, rand, num-traits, rkyv, zeroize, and num-complex interop.
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.
Arbitrary-precision rational math library for Rust. Provides RBig and a relaxed variant for fast computation, with small values inlined on the stack. Exact arithmetic, Diophantine approximation of floats, parsing and formatting in any base including repeating-decimal notation, and conversions to and from other dashu types. Optional serde, rand, num-traits, rkyv, and zeroize.
Core Metrics
| dashu-cmplx | dashu | dashu-ratio | |
|---|---|---|---|
| Health Score | 55 | 68 | 67 |
| Total Downloads | 19.1K | 2.2M | 2.3M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 17 | 560 | 44 |
| Releases | 9 | 19 | 15 |
| Last Updated | 8d ago | 8d ago | 15d ago |
| Age | 3m | 4y 3m | 3y 11m |
Health Breakdown
Technical Details
| dashu-cmplx | dashu | dashu-ratio | |
|---|---|---|---|
| Version | 0.6.2 | 0.6.2 | 0.6.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 25 | 6 | 22 |
| Crate Size | 109KB | 19KB | 73KB |
| Features | 15 | 17 | 14 |
| Yanked % | 0.0% | 5.3% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.68 | 1.68 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dashu leads with a health score of 68/100, but none of the options score above 80.
- •dashu-ratio has the most downloads (2.3M), suggesting wider adoption.
- •dashu is depended on by 560 crates — strongest ecosystem trust.