1 | [package] |
2 | authors = ["The Rust Project Developers" ] |
3 | description = "Numeric traits for generic mathematics" |
4 | documentation = "https://docs.rs/num-traits" |
5 | homepage = "https://github.com/rust-num/num-traits" |
6 | keywords = ["mathematics" , "numerics" ] |
7 | categories = ["algorithms" , "science" , "no-std" ] |
8 | license = "MIT OR Apache-2.0" |
9 | repository = "https://github.com/rust-num/num-traits" |
10 | name = "num-traits" |
11 | version = "0.2.18" |
12 | readme = "README.md" |
13 | build = "build.rs" |
14 | exclude = ["/ci/*" , "/.github/*" ] |
15 | edition = "2018" |
16 | rust-version = "1.31" |
17 | |
18 | [package.metadata.docs.rs] |
19 | features = ["std" ] |
20 | rustdoc-args = ["--generate-link-to-definition" ] |
21 | |
22 | [dependencies] |
23 | libm = { version = "0.2.0" , optional = true } |
24 | |
25 | [features] |
26 | default = ["std" ] |
27 | std = [] |
28 | |
29 | # vestigial features, now always in effect |
30 | i128 = [] |
31 | |
32 | [build-dependencies] |
33 | autocfg = "1" |
34 | |