#fraction #numeric

no-std bin+lib fractions-rs

Fractions numbers implementation for Rust

4 releases

new 0.1.4 Apr 3, 2025
0.1.2 Mar 21, 2024
0.1.1 Dec 14, 2023
0.1.0 Aug 3, 2023

#239 in Math

28 downloads per month
Used in 3 crates

MIT/Apache

60KB
1K SLoC

Rust 838 SLoC // 0.2% comments JavaScript 219 SLoC

➗ fractions-rs

Crates.io Docs.rs CI codecov

🛠️ Installation

📦 Cargo

  • Install the rust toolchain in order to have cargo installed by following this guide.
  • run cargo install fractions-rs

📜 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.

See CONTRIBUTING.md.

Dependencies

~135–420KB