dashu-ratio 0.6.0

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.
Documentation
//! Implementations for third party crates and traits

#[cfg(feature = "dashu-float")]
mod dashu_float;

// Version-agnostic distributions + sampling algorithms (the `dashu_rational::rand` path).
// The per-version rand trait impls live in `rand_v08` / `rand_v09` / `rand_v010`.
#[cfg(any(feature = "rand_v08", feature = "rand_v09", feature = "rand_v010"))]
pub mod rand;

#[cfg(feature = "rand_v08")]
mod rand_v08;

#[cfg(feature = "rand_v09")]
mod rand_v09;

#[cfg(feature = "rand_v010")]
mod rand_v010;

#[cfg(feature = "num-traits_v02")]
mod num_traits;

#[cfg(feature = "num-order")]
mod num_order;

#[cfg(feature = "serde")]
mod serde;

#[cfg(feature = "zeroize")]
mod zeroize;

#[cfg(all(feature = "rkyv_v08", not(feature = "rkyv_v07")))]
mod rkyv_v08;