7 unstable releases

0.4.2 Jan 13, 2024
0.4.1 Jan 12, 2024
0.4.0 Sep 12, 2023
0.3.1 Dec 8, 2022
0.1.0 Jul 10, 2022

#196 in Math

Download history 1322/week @ 2024-08-21 1000/week @ 2024-08-28 1316/week @ 2024-09-04 1601/week @ 2024-09-11 1882/week @ 2024-09-18 3446/week @ 2024-09-25 6319/week @ 2024-10-02 5825/week @ 2024-10-09 4181/week @ 2024-10-16 3062/week @ 2024-10-23 2659/week @ 2024-10-30 3116/week @ 2024-11-06 3047/week @ 2024-11-13 3676/week @ 2024-11-20 4082/week @ 2024-11-27 6019/week @ 2024-12-04

17,250 downloads per month
Used in 38 crates (15 directly)

MIT/Apache

1MB
23K SLoC

dashu

Crate Docs Tests MSRV 1.61 License

A library set of arbitrary precision numbers (aka. big numbers) implemented in Rust. It's intended to be a Rust native alternative to GNU GMP + MPFR (+ MPC in future). It features:

  • Pure rust, full no_std support.
  • Focus on ergonomics & readability, and then efficiency.
  • Optimized speed and memory usage.
  • Current MSRV is 1.61.

Sub-crates

dashu is a meta crate that re-exports all the types from these sub-crates. Please see the README.md in each subdirectory for crate-specific introduction.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~0.2–1.3MB
~28K SLoC