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"
|
|
|
|
]
|
2017-12-17 15:44:53 -08:00
|
|
|
description = "Big integer implementation for Rust"
|
2019-01-15 17:02:12 +03:00
|
|
|
documentation = "https://docs.rs/num-bigint-dig"
|
|
|
|
homepage = "https://github.com/dignifiedquire/num-bigint"
|
2017-07-10 17:12:20 +01:00
|
|
|
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"
|
2022-11-18 18:02:21 +01:00
|
|
|
version = "0.8.2"
|
2022-02-01 16:24:03 -07:00
|
|
|
edition = "2021"
|
|
|
|
rust-version = "1.56"
|
2017-12-17 15:44:53 -08:00
|
|
|
readme = "README.md"
|
2018-05-15 18:01:14 -07:00
|
|
|
build = "build.rs"
|
2019-01-15 17:02:12 +03:00
|
|
|
autobenches = false
|
2014-12-23 09:50:53 -08:00
|
|
|
|
2018-05-22 16:56:54 -07:00
|
|
|
[package.metadata.docs.rs]
|
2019-01-15 17:02:12 +03:00
|
|
|
features = ["std", "serde", "rand", "prime"]
|
2018-02-07 21:56:28 -08:00
|
|
|
|
2022-11-18 17:47:25 +01:00
|
|
|
[dependencies.arbitrary]
|
|
|
|
version = "1.1.0"
|
|
|
|
optional = true
|
2019-03-26 14:40:53 +01:00
|
|
|
|
2018-12-19 22:00:11 +01:00
|
|
|
[dependencies.smallvec]
|
2022-11-18 17:54:15 +01:00
|
|
|
version = "1.10.0"
|
2018-12-19 22:00:11 +01:00
|
|
|
default-features = false
|
2015-06-02 14:34:22 +02:00
|
|
|
|
2016-02-17 18:51:28 +01:00
|
|
|
[dependencies.num-integer]
|
2018-07-11 12:14:46 +02:00
|
|
|
version = "0.1.39"
|
2018-02-07 22:42:51 -08:00
|
|
|
default-features = false
|
2021-11-03 11:24:09 -04:00
|
|
|
features = [ "i128" ]
|
2016-02-17 18:51:28 +01:00
|
|
|
|
2017-12-17 15:44:53 -08:00
|
|
|
[dependencies.num-traits]
|
2018-05-15 18:01:14 -07:00
|
|
|
version = "0.2.4"
|
2018-02-07 22:42:51 -08:00
|
|
|
default-features = false
|
2021-11-03 11:24:09 -04:00
|
|
|
features = [ "i128" ]
|
2016-03-11 01:05:40 +01:00
|
|
|
|
2019-01-15 17:02:12 +03:00
|
|
|
[dependencies.num-iter]
|
|
|
|
version = "0.1.37"
|
|
|
|
default-features = false
|
|
|
|
|
2017-12-17 15:44:53 -08:00
|
|
|
[dependencies.rand]
|
2016-03-04 12:32:44 +01:00
|
|
|
optional = true
|
2024-11-01 12:49:27 +02:00
|
|
|
git = "https://git.alnyan.me/yggdrasil/rand.git"
|
|
|
|
branch = "alnyan/yggdrasil-rng_core-0.6.4"
|
2018-05-16 13:59:29 -07:00
|
|
|
default-features = false
|
2016-03-01 11:47:10 +01:00
|
|
|
|
2019-03-16 11:38:05 +01:00
|
|
|
[dependencies.zeroize]
|
2022-02-18 12:37:39 +01:00
|
|
|
version = "1.5"
|
2019-10-13 15:14:14 +02:00
|
|
|
default-features = false
|
2019-10-13 15:30:50 +02:00
|
|
|
optional = true
|
2019-03-16 11:38:05 +01:00
|
|
|
|
2017-12-17 15:44:53 -08:00
|
|
|
[dependencies.serde]
|
|
|
|
optional = true
|
2018-02-24 01:28:57 -08:00
|
|
|
version = "1.0"
|
2018-05-16 13:59:29 -07:00
|
|
|
default-features = false
|
2022-03-01 15:05:05 +01:00
|
|
|
features = [ "alloc" ]
|
2019-10-13 15:14:14 +02:00
|
|
|
|
|
|
|
[dependencies.libm]
|
2019-12-11 00:48:19 +01:00
|
|
|
version = "0.2.1"
|
2016-01-07 16:30:50 -10:00
|
|
|
|
2019-01-15 17:02:12 +03:00
|
|
|
[dependencies.lazy_static]
|
|
|
|
version = "1.2.0"
|
2019-10-13 15:14:14 +02:00
|
|
|
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"]
|
2019-01-15 17:02:12 +03:00
|
|
|
|
|
|
|
[dependencies.byteorder]
|
|
|
|
version = "1.2.7"
|
2019-10-13 15:14:14 +02:00
|
|
|
default-features = false
|
2019-01-15 17:02:12 +03:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2021-02-15 07:37:51 -08:00
|
|
|
rand_chacha = "0.3"
|
|
|
|
rand_xorshift = "0.3"
|
|
|
|
rand_isaac = "0.3"
|
2024-11-01 12:49:27 +02:00
|
|
|
rand = { git = "https://git.alnyan.me/yggdrasil/rand.git", branch = "alnyan/yggdrasil-rng_core-0.6.4", features = ["small_rng"] }
|
2019-01-15 17:02:12 +03:00
|
|
|
|
2019-03-16 11:38:05 +01:00
|
|
|
[dev-dependencies.serde_test]
|
|
|
|
version = "1.0"
|
|
|
|
|
2016-03-01 11:47:10 +01:00
|
|
|
[features]
|
2021-11-03 11:24:09 -04:00
|
|
|
default = ["std", "u64_digit"]
|
2022-11-18 17:47:25 +01:00
|
|
|
fuzz = ["arbitrary", "smallvec/arbitrary"]
|
2021-11-03 11:24:09 -04:00
|
|
|
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 = []
|
2021-02-17 10:59:46 -08:00
|
|
|
prime = ["rand/std_rng"]
|
2020-12-02 17:39:19 +01:00
|
|
|
nightly = []
|