2014-09-16 17:35:35 +00:00
|
|
|
[package]
|
|
|
|
|
|
|
|
name = "num"
|
2016-02-17 08:44:20 +00:00
|
|
|
version = "0.1.31"
|
2014-09-16 17:35:35 +00:00
|
|
|
authors = ["The Rust Project Developers"]
|
2014-11-19 05:26:43 +00:00
|
|
|
license = "MIT/Apache-2.0"
|
2015-11-13 02:40:13 +00:00
|
|
|
homepage = "https://github.com/rust-num/num"
|
|
|
|
repository = "https://github.com/rust-num/num"
|
|
|
|
documentation = "http://rust-num.github.io/num"
|
2014-11-21 05:02:57 +00:00
|
|
|
keywords = ["mathematics", "numerics"]
|
2014-11-19 05:26:10 +00:00
|
|
|
description = """
|
2015-11-22 00:39:00 +00:00
|
|
|
A collection of numeric types and traits for Rust, including bigint,
|
|
|
|
complex, rational, range iterators, generic integers, and more!
|
2014-11-19 05:26:10 +00:00
|
|
|
"""
|
2014-12-23 17:50:53 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2015-06-02 12:34:22 +00:00
|
|
|
rand = { version = "0.3.8", optional = true }
|
2016-02-27 08:07:32 +00:00
|
|
|
rustc-serialize = { version = "0.3.13", optional = true }
|
|
|
|
serde = { version = "^0.7.0", optional = true }
|
2015-06-02 12:34:22 +00:00
|
|
|
|
2016-02-15 23:19:23 +00:00
|
|
|
[dependencies.num-traits]
|
|
|
|
path = "./traits"
|
|
|
|
|
2016-01-08 02:30:50 +00:00
|
|
|
[dev-dependencies]
|
|
|
|
# Some tests of non-rand functionality still use rand because the tests
|
|
|
|
# themselves are randomized.
|
|
|
|
rand = { version = "0.3.8" }
|
|
|
|
|
2015-06-02 12:34:22 +00:00
|
|
|
[features]
|
|
|
|
|
|
|
|
complex = []
|
|
|
|
rational = []
|
2016-01-08 02:30:50 +00:00
|
|
|
bigint = []
|
|
|
|
default = ["bigint", "complex", "rand", "rational", "rustc-serialize"]
|
2015-05-26 14:21:12 +00:00
|
|
|
|
2015-11-09 20:54:48 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "bigint"
|
|
|
|
|
2015-05-26 14:21:12 +00:00
|
|
|
[[bench]]
|
|
|
|
name = "shootout-pidigits"
|
|
|
|
harness = false
|