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