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