| 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.19" |
| 12 |
readme = "README.md" |
| 13 |
build = "build.rs" |
| 14 |
exclude = ["/ci/*", "/.github/*"] |
| 15 |
edition = "2021" |
| 16 |
rust-version = "1.60" |
| 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 |
libm = ["dep:libm"] |
| 28 |
std = [] |
| 29 |
|
| 30 |
# vestigial features, now always in effect |
| 31 |
i128 = [] |
| 32 |
|
| 33 |
[build-dependencies] |
| 34 |
autocfg = "1" |