2014-09-16 10:35:35 -07:00
|
|
|
[package]
|
|
|
|
|
|
|
|
name = "num"
|
2016-02-17 00:44:20 -08:00
|
|
|
version = "0.1.31"
|
2014-09-16 10:35:35 -07:00
|
|
|
authors = ["The Rust Project Developers"]
|
2014-11-18 21:26:43 -08:00
|
|
|
license = "MIT/Apache-2.0"
|
2015-11-12 18:40:13 -08: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 16:02:57 +11:00
|
|
|
keywords = ["mathematics", "numerics"]
|
2014-11-19 16:26:10 +11:00
|
|
|
description = """
|
2015-11-21 16:39:00 -08:00
|
|
|
A collection of numeric types and traits for Rust, including bigint,
|
|
|
|
complex, rational, range iterators, generic integers, and more!
|
2014-11-19 16:26:10 +11:00
|
|
|
"""
|
2014-12-23 09:50:53 -08:00
|
|
|
|
|
|
|
[dependencies]
|
2015-06-02 14:34:22 +02:00
|
|
|
rand = { version = "0.3.8", optional = true }
|
2016-02-27 00:07:32 -08:00
|
|
|
rustc-serialize = { version = "0.3.13", optional = true }
|
|
|
|
serde = { version = "^0.7.0", optional = true }
|
2015-06-02 14:34:22 +02:00
|
|
|
|
2016-02-16 00:19:23 +01:00
|
|
|
[dependencies.num-traits]
|
|
|
|
path = "./traits"
|
|
|
|
|
2016-02-17 18:51:28 +01:00
|
|
|
[dependencies.num-integer]
|
|
|
|
path = "./integer"
|
|
|
|
|
2016-01-07 16:30:50 -10: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 14:34:22 +02:00
|
|
|
[features]
|
|
|
|
|
|
|
|
complex = []
|
|
|
|
rational = []
|
2016-01-07 16:30:50 -10:00
|
|
|
bigint = []
|
|
|
|
default = ["bigint", "complex", "rand", "rational", "rustc-serialize"]
|
2015-05-26 07:21:12 -07:00
|
|
|
|
2015-11-09 13:54:48 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "bigint"
|
|
|
|
|
2015-05-26 07:21:12 -07:00
|
|
|
[[bench]]
|
|
|
|
name = "shootout-pidigits"
|
|
|
|
harness = false
|