-
Notifications
You must be signed in to change notification settings - Fork 51
/
Cargo.toml
47 lines (40 loc) · 1.16 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
[package]
authors = ["The Rust Project Developers"]
description = "Rational numbers implementation for Rust"
documentation = "https://docs.rs/num-rational"
homepage = "https://github.com/rust-num/num-rational"
keywords = ["mathematics", "numerics", "fractions"]
categories = ["algorithms", "data-structures", "science", "no-std"]
license = "MIT OR Apache-2.0"
name = "num-rational"
repository = "https://github.com/rust-num/num-rational"
version = "0.4.2"
readme = "README.md"
exclude = ["/ci/*", "/.github/*"]
edition = "2021"
rust-version = "1.60"
[package.metadata.docs.rs]
features = ["std", "num-bigint-std", "serde"]
[dependencies]
[dependencies.num-bigint]
optional = true
version = "0.4.0"
default-features = false
[dependencies.num-integer]
version = "0.1.42"
default-features = false
features = ["i128"]
[dependencies.num-traits]
version = "0.2.18"
default-features = false
features = ["i128"]
[dependencies.serde]
optional = true
version = "1.0.0"
default-features = false
[features]
default = ["num-bigint", "std"]
std = ["num-bigint?/std", "num-integer/std", "num-traits/std"]
num-bigint-std = ["num-bigint/std"]
num-bigint = ["dep:num-bigint"]
serde = ["dep:serde"]