Decision Workspace
gmp-rs vs gmp-mpfr-sys vs dashu-int
Side-by-side comparison of Rust crates
54
gmp-rs
experimentalv0.5.2
A pure-Rust, no-unsafe, no_std, no_alloc arbitrary-precision integer (mpz) subset, faithful to GMP's mpz_* operations.
68
gmp-mpfr-sys
stablev1.7.1
Rust FFI bindings for GMP, MPFR and MPC.
64
dashu-int
growingv0.6.2
Arbitrary-precision integer math library for Rust, balancing ergonomics and efficiency. Provides UBig and IBig (unsigned and signed), with small values inlined on the stack. Efficient arithmetic, modular arithmetic, and number theory (pow, ilog, gcd, gcd_ext); two's-complement bit operations; parsing and formatting in base 2-36; optional serde, rand, num-traits, rkyv, and zeroize.
Core Metrics
| gmp-rs | gmp-mpfr-sys | dashu-int | |
|---|---|---|---|
| Health Score | 54 | 68 | 64 |
| Total Downloads | 160 | 6.3M | 4.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 545 | 348 |
| Releases | 9 | 72 | 18 |
| Last Updated | 81d ago | 167d ago | 8d ago |
| Age | 2m | 9y 9m | 4y 3m |
Health Breakdown
gmp-rs
Maintenance
15
Quality
17
Community
6
Popularity
3
Documentation
13
gmp-mpfr-sys
Maintenance
13
Quality
19
Community
13
Popularity
8
Documentation
15
dashu-int
Maintenance
17
Quality
11
Community
13
Popularity
8
Documentation
15
Technical Details
| gmp-rs | gmp-mpfr-sys | dashu-int | |
|---|---|---|---|
| Version | 0.5.2 | 1.7.1 | 0.6.2 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | LGPL-3.0-or-later | LGPL-3.0+ | MIT OR Apache-2.0 |
| Dependencies | 3 | 2 | 22 |
| Crate Size | 79KB | 5.6MB | 227KB |
| Features | 5 | 8 | 7 |
| Yanked % | 0.0% | 0.0% | 5.6% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.71 | 1.68 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •gmp-mpfr-sys leads with a health score of 68/100, but none of the options score above 80.
- •gmp-mpfr-sys is depended on by 545 crates — strongest ecosystem trust.
- •gmp-rs, dashu-int are pre-1.0 — API may change.