rustio rustio.net
67

dashu-ratio

v0.6.1 Growing

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.

MIT OR Apache-2.0 Edition 2021 MSRV 1.68
No standard libraryMathematics #mathematics#numerics#arbitrary-precision#rational#bigrat

Quick Verdict

  • โœ“Actively maintained (updated 15d ago)
  • !Pre-1.0: API may have breaking changes
  • !Heavy dependency tree (22 direct deps)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
2.3M
Dependents
44
Releases
15
Size
73KB

Deep Insights

๐Ÿ“Š
Steady growth

236.8K downloads in the last 30 days (7.9K/day), up 6% from the previous period.

๐Ÿ”ฌ
Pre-1.0 for over a year

Despite being 3+ years old, dashu-ratio hasn't reached 1.0 yet. Expect potential API changes between versions.

๐Ÿ“ฆ
Heavy dependency tree

22 direct dependencies. Consider the impact on compile times and supply chain complexity.

๐ŸŒŸ
Used by top crates

Notable dependents include dashu, dashu-macros, manifold-rust, calculo, oxinum-rational. When high-quality crates choose dashu-ratio, it's a strong quality signal.

Health Breakdown

Maintenance 17/25

Recency, release consistency, active ratio

Quality 16/25

Yanked ratio, deps, size, maturity, features

Community 11/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
1K/day avg-100%
05K10K8/239/109/2810/1611/311/20

Top Dependents

Version Adoption

v0.4.2
64%
v0.4.4
25%
v0.4.3
7%
v0.5.1
4%
v0.6.0
1%

Release Timeline

10 releasessince 2026
J
F
M
A
M
J
J
A
S
O
N
D
2026
10
Less
More

Feature Flags

default =["std", "num-order", "dashu-float"]

std*randrkyvserdezeroizerand_v08rand_v09rkyv_v07rkyv_v08num-order*rand_v010num-traitsnum-traits_v02

README

Loading README...

Maintainers

Dependencies
22
direct dependencies
Dependents
44
crates depend on dashu-ratio

Similar Crates