39 lines
968 B
TOML
39 lines
968 B
TOML
[package]
|
|
|
|
name = "num"
|
|
version = "0.1.31"
|
|
authors = ["The Rust Project Developers"]
|
|
license = "MIT/Apache-2.0"
|
|
homepage = "https://github.com/rust-num/num"
|
|
repository = "https://github.com/rust-num/num"
|
|
documentation = "http://rust-num.github.io/num"
|
|
keywords = ["mathematics", "numerics"]
|
|
description = """
|
|
A collection of numeric types and traits for Rust, including bigint,
|
|
complex, rational, range iterators, generic integers, and more!
|
|
"""
|
|
|
|
[dependencies]
|
|
rand = { version = "0.3.8", optional = true }
|
|
rustc-serialize = { version = "0.3.13", optional = true }
|
|
serde = { version = "^0.7.0", optional = true }
|
|
|
|
[dev-dependencies]
|
|
# Some tests of non-rand functionality still use rand because the tests
|
|
# themselves are randomized.
|
|
rand = { version = "0.3.8" }
|
|
|
|
[features]
|
|
|
|
complex = []
|
|
rational = []
|
|
bigint = []
|
|
default = ["bigint", "complex", "rand", "rational", "rustc-serialize"]
|
|
|
|
[[bench]]
|
|
name = "bigint"
|
|
|
|
[[bench]]
|
|
name = "shootout-pidigits"
|
|
harness = false
|