Source code

Revision control

Copy as Markdown

Other Tools

# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.
[package]
edition = "2021"
rust-version = "1.60"
name = "num-traits"
version = "0.2.19"
authors = ["The Rust Project Developers"]
build = "build.rs"
exclude = [
"/ci/*",
"/.github/*",
]
description = "Numeric traits for generic mathematics"
documentation = "https://docs.rs/num-traits"
readme = "README.md"
keywords = [
"mathematics",
"numerics",
]
categories = [
"algorithms",
"science",
"no-std",
]
license = "MIT OR Apache-2.0"
[package.metadata.docs.rs]
features = ["std"]
rustdoc-args = ["--generate-link-to-definition"]
[dependencies.libm]
version = "0.2.0"
optional = true
[build-dependencies.autocfg]
version = "1"
[features]
default = ["std"]
i128 = []
libm = ["dep:libm"]
std = []