| 1 |
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO |
| 2 |
# |
| 3 |
# When uploading crates to the registry Cargo will automatically |
| 4 |
# "normalize" Cargo.toml files for maximal compatibility |
| 5 |
# with all versions of Cargo and also rewrite `path` dependencies |
| 6 |
# to registry (e.g., crates.io) dependencies. |
| 7 |
# |
| 8 |
# If you are reading this file be aware that the original Cargo.toml |
| 9 |
# will likely look very different (and much more reasonable). |
| 10 |
# See Cargo.toml.orig for the original contents. |
| 11 |
|
| 12 |
[package] |
| 13 |
edition = "2021" |
| 14 |
rust-version = "1.60" |
| 15 |
name = "num-traits" |
| 16 |
version = "0.2.19" |
| 17 |
authors = ["The Rust Project Developers"] |
| 18 |
build = "build.rs" |
| 19 |
exclude = [ |
| 20 |
"/ci/*", |
| 21 |
"/.github/*", |
| 22 |
] |
| 23 |
description = "Numeric traits for generic mathematics" |
| 24 |
homepage = "https://github.com/rust-num/num-traits" |
| 25 |
documentation = "https://docs.rs/num-traits" |
| 26 |
readme = "README.md" |
| 27 |
keywords = [ |
| 28 |
"mathematics", |
| 29 |
"numerics", |
| 30 |
] |
| 31 |
categories = [ |
| 32 |
"algorithms", |
| 33 |
"science", |
| 34 |
"no-std", |
| 35 |
] |
| 36 |
license = "MIT OR Apache-2.0" |
| 37 |
repository = "https://github.com/rust-num/num-traits" |
| 38 |
|
| 39 |
[package.metadata.docs.rs] |
| 40 |
features = ["std"] |
| 41 |
rustdoc-args = ["--generate-link-to-definition"] |
| 42 |
|
| 43 |
[dependencies.libm] |
| 44 |
version = "0.2.0" |
| 45 |
optional = true |
| 46 |
|
| 47 |
[build-dependencies.autocfg] |
| 48 |
version = "1" |
| 49 |
|
| 50 |
[features] |
| 51 |
default = ["std"] |
| 52 |
i128 = [] |
| 53 |
libm = ["dep:libm"] |
| 54 |
std = [] |