num-bigint-dig/Cargo.toml

95 lines
2.0 KiB
TOML
Raw Normal View History

2014-09-16 10:35:35 -07:00
[package]
2021-02-15 07:37:51 -08:00
authors = [
"dignifiedquire <dignifiedquire@gmail.com>",
"The Rust Project Developers"
]
description = "Big integer implementation for Rust"
documentation = "https://docs.rs/num-bigint-dig"
homepage = "https://github.com/dignifiedquire/num-bigint"
keywords = ["mathematics", "numerics", "bignum"]
2021-02-15 07:37:51 -08:00
categories = ["algorithms", "data-structures", "science"]
2016-03-01 11:47:10 +01:00
license = "MIT/Apache-2.0"
2018-11-24 12:04:44 +01:00
name = "num-bigint-dig"
2019-03-18 07:54:17 -04:00
repository = "https://github.com/dignifiedquire/num-bigint"
2020-12-02 17:46:49 +01:00
version = "0.6.1"
readme = "README.md"
build = "build.rs"
autobenches = false
2014-12-23 09:50:53 -08:00
2018-05-22 16:56:54 -07:00
[package.metadata.docs.rs]
features = ["std", "serde", "rand", "prime"]
2018-02-07 21:56:28 -08:00
2019-03-26 14:40:53 +01:00
[dependencies]
2018-12-19 22:00:11 +01:00
[dependencies.smallvec]
2019-12-11 00:48:19 +01:00
version = "1.0.0"
2018-12-19 22:00:11 +01:00
default-features = false
2016-02-17 18:51:28 +01:00
[dependencies.num-integer]
version = "0.1.39"
2018-02-07 22:42:51 -08:00
default-features = false
2016-02-17 18:51:28 +01:00
[dependencies.num-traits]
version = "0.2.4"
2018-02-07 22:42:51 -08:00
default-features = false
2016-03-11 01:05:40 +01:00
[dependencies.num-iter]
version = "0.1.37"
default-features = false
[dependencies.rand]
2016-03-04 12:32:44 +01:00
optional = true
2021-02-15 07:37:51 -08:00
version = "0.8.3"
default-features = false
2016-03-01 11:47:10 +01:00
2019-03-16 11:38:05 +01:00
[dependencies.zeroize]
2019-12-09 09:01:55 -08:00
version = "1.1.0"
default-features = false
2019-10-13 15:30:50 +02:00
optional = true
features = ["zeroize_derive"]
2019-03-16 11:38:05 +01:00
[dependencies.serde]
optional = true
version = "1.0"
default-features = false
[dependencies.libm]
2019-12-11 00:48:19 +01:00
version = "0.2.1"
[dependencies.lazy_static]
version = "1.2.0"
default-features = false
# no_std feature is an anti-pattern. Why, lazy_static, why?
# See https://github.com/rust-lang-nursery/lazy-static.rs/issues/150
features = ["spin_no_std"]
[dependencies.byteorder]
version = "1.2.7"
default-features = false
[dev-dependencies]
2021-02-15 07:37:51 -08:00
rand_chacha = "0.3"
rand_xorshift = "0.3"
rand_isaac = "0.3"
rand = { version = "0.8", features = ["small_rng"] }
2019-03-16 11:38:05 +01:00
[dev-dependencies.serde_test]
version = "1.0"
2019-10-13 16:29:37 +02:00
[build-dependencies]
autocfg = "0.1.5"
2016-03-01 11:47:10 +01:00
[features]
2018-12-19 19:10:19 +01:00
default = ["std", "i128", "u64_digit"]
i128 = ["num-integer/i128", "num-traits/i128"]
2021-02-15 07:37:51 -08:00
std = [
"num-integer/std",
"num-traits/std",
"smallvec/write",
"rand/std",
"serde/std"
]
2018-12-19 19:46:26 +01:00
u64_digit = []
2019-03-16 11:38:05 +01:00
prime = ["rand"]
nightly = []