blob: f97bc68d65172b45bb3c1bf27e63e31a9937a8af [file] [log] [blame]
[package]
authors = ["The Rust Project Developers"]
description = "Numeric traits for generic mathematics"
documentation = "https://docs.rs/num-traits"
homepage = "https://github.com/rust-num/num-traits"
keywords = ["mathematics", "numerics"]
categories = ["algorithms", "science", "no-std"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/rust-num/num-traits"
name = "num-traits"
version = "0.2.17"
readme = "README.md"
build = "build.rs"
exclude = ["/bors.toml", "/ci/*", "/.github/*"]
edition = "2018"
rust-version = "1.31"
[package.metadata.docs.rs]
features = ["std"]
rustdoc-args = ["--generate-link-to-definition"]
[dependencies]
libm = { version = "0.2.0", optional = true }
[features]
default = ["std"]
std = []
# vestigial features, now always in effect
i128 = []
[build-dependencies]
autocfg = "1"