[package]
authors = ["The Rust Project Developers"]
description = "A collection of numeric types and traits for Rust, including bigint,\ncomplex, rational, range iterators, generic integers, and more!\n"
documentation = "https://docs.rs/num"
homepage = "https://github.com/rust-num/num"
keywords = ["mathematics", "numerics", "bignum"]
categories = [ "algorithms", "data-structures", "science", "no-std" ]
license = "MIT/Apache-2.0"
repository = "https://github.com/rust-num/num"
name = "num"
version = "0.2.1"
readme = "README.md"
exclude = ["/ci/*", "/.travis.yml", "/bors.toml"]
[package.metadata.docs.rs]
features = ["std", "serde", "rand"]
[badges]
travis-ci = { repository = "rust-num/num" }
[dependencies]
[dependencies.num-bigint]
optional = true
version = "0.2.5"
default-features = false
[dependencies.num-complex]
version = "0.2.4"
default-features = false
[dependencies.num-integer]
version = "0.1.42"
default-features = false
[dependencies.num-iter]
version = "0.1.40"
default-features = false
[dependencies.num-rational]
version = "0.2.3"
default-features = false
[dependencies.num-traits]
version = "0.2.11"
default-features = false
[dev-dependencies]
[features]
default = ["std"]
std = [
"num-bigint/std",
"num-complex/std",
"num-integer/std",
"num-iter/std",
"num-rational/std", "num-rational/bigint",
"num-traits/std",
]
i128 = [
"num-bigint/i128",
"num-complex/i128",
"num-integer/i128",
"num-iter/i128",
"num-rational/i128",
"num-traits/i128",
]
rand = [
"num-bigint/rand",
"num-complex/rand",
]
serde = [
"num-bigint/serde",
"num-complex/serde",
"num-rational/serde",
]