• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

src/H03-May-2022-3,1542,661

.cargo-checksum.jsonH A D03-May-202289 11

.cargo_vcs_info.jsonH A D06-Nov-202074 65

.gitignoreH A D21-Feb-201918 32

Cargo.tomlH A D06-Nov-20201.6 KiB5549

Cargo.toml.orig-cargoH A D06-Nov-20201.1 KiB4839

LICENSE-APACHEH A D21-Feb-201910.6 KiB202169

LICENSE-MITH A D21-Feb-20191 KiB2622

README.mdH A D30-Oct-20201.4 KiB5233

RELEASES.mdH A D06-Nov-20204.9 KiB13892

build.rsH A D06-Nov-2020199 97

README.md

1# num-rational
2
3[![crate](https://img.shields.io/crates/v/num-rational.svg)](https://crates.io/crates/num-rational)
4[![documentation](https://docs.rs/num-rational/badge.svg)](https://docs.rs/num-rational)
5[![minimum rustc 1.31](https://img.shields.io/badge/rustc-1.31+-red.svg)](https://rust-lang.github.io/rfcs/2495-min-rust-version.html)
6[![build status](https://github.com/rust-num/num-rational/workflows/master/badge.svg)](https://github.com/rust-num/num-rational/actions)
7
8Generic `Rational` numbers (aka fractions) for Rust.
9
10## Usage
11
12Add this to your `Cargo.toml`:
13
14```toml
15[dependencies]
16num-rational = "0.3"
17```
18
19## Features
20
21This crate can be used without the standard library (`#![no_std]`) by disabling
22the default `std` feature.  Use this in `Cargo.toml`:
23
24```toml
25[dependencies.num-rational]
26version = "0.3"
27default-features = false
28```
29
30## Releases
31
32Release notes are available in [RELEASES.md](RELEASES.md).
33
34## Compatibility
35
36The `num-rational` crate is tested for rustc 1.31 and greater.
37
38## License
39
40Licensed under either of
41
42 * [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
43 * [MIT license](http://opensource.org/licenses/MIT)
44
45at your option.
46
47### Contribution
48
49Unless you explicitly state otherwise, any contribution intentionally submitted
50for inclusion in the work by you, as defined in the Apache-2.0 license, shall be
51dual licensed as above, without any additional terms or conditions.
52