1 | [package] |
2 | authors = ["The Rust Project Developers" ] |
3 | description = "Rational numbers implementation for Rust" |
4 | documentation = "https://docs.rs/num-rational" |
5 | homepage = "https://github.com/rust-num/num-rational" |
6 | keywords = ["mathematics" , "numerics" , "fractions" ] |
7 | categories = ["algorithms" , "data-structures" , "science" , "no-std" ] |
8 | license = "MIT OR Apache-2.0" |
9 | name = "num-rational" |
10 | repository = "https://github.com/rust-num/num-rational" |
11 | version = "0.4.1" |
12 | readme = "README.md" |
13 | exclude = ["/bors.toml" , "/ci/*" , "/.github/*" ] |
14 | edition = "2018" |
15 | |
16 | [package.metadata.docs.rs] |
17 | features = ["std" , "num-bigint-std" , "serde" ] |
18 | |
19 | [dependencies] |
20 | |
21 | [dependencies.num-bigint] |
22 | optional = true |
23 | version = "0.4.0" |
24 | default-features = false |
25 | |
26 | [dependencies.num-integer] |
27 | version = "0.1.42" |
28 | default-features = false |
29 | features = ["i128" ] |
30 | |
31 | [dependencies.num-traits] |
32 | version = "0.2.11" |
33 | default-features = false |
34 | features = ["i128" ] |
35 | |
36 | [dependencies.serde] |
37 | optional = true |
38 | version = "1.0.0" |
39 | default-features = false |
40 | |
41 | [features] |
42 | default = ["num-bigint-std" , "std" ] |
43 | std = ["num-integer/std" , "num-traits/std" ] |
44 | num-bigint-std = ["num-bigint/std" ] |
45 | |
46 | [build-dependencies] |
47 | autocfg = "1.0.0" |
48 | |