Decision Workspace
grid1d vs dashu-ratio vs dashu-float
Side-by-side comparison of Rust crates
A mathematically rigorous, type-safe Rust library for 1D grid operations and interval partitions, supporting both native and arbitrary-precision numerics.
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.
Arbitrary-precision float math library for Rust with arbitrary base and arbitrary rounding mode. Provides FBig, DBig, and CachedFBig with efficient base conversion, the hexadecimal float format used by C++ programs, and parsing and formatting in base 2-36. Transcendentals (exp, ln, trig, hyperbolic, powers, roots, pi) are correctly rounded; optional serde, rand, num-traits, rkyv, and zeroize.
Core Metrics
| grid1d | dashu-ratio | dashu-float | |
|---|---|---|---|
| Health Score | 50 | 67 | 65 |
| Total Downloads | 1.8K | 2.3M | 3.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 44 | 214 |
| Releases | 19 | 15 | 21 |
| Last Updated | 31d ago | 15d ago | 8d ago |
| Age | 1y | 3y 11m | 4y |
Health Breakdown
Technical Details
| grid1d | dashu-ratio | dashu-float | |
|---|---|---|---|
| Version | 0.7.1 | 0.6.1 | 0.6.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | non-standard | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 17 | 22 | 27 |
| Crate Size | 467KB | 73KB | 311KB |
| Features | 2 | 14 | 18 |
| Yanked % | 0.0% | 0.0% | 4.8% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.68 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dashu-ratio leads with a health score of 67/100, but none of the options score above 80.
- •dashu-float has the most downloads (3.2M), suggesting wider adoption.
- •dashu-float is depended on by 214 crates — strongest ecosystem trust.