forked from rust-num/num-bigint
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Cargo.toml
94 lines (80 loc) · 1.98 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
[package]
authors = [
"dignifiedquire <[email protected]>",
"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"]
categories = ["algorithms", "data-structures", "science"]
license = "MIT/Apache-2.0"
name = "num-bigint-dig"
repository = "https://github.com/dignifiedquire/num-bigint"
version = "0.8.4"
edition = "2021"
rust-version = "1.56"
readme = "README.md"
build = "build.rs"
autobenches = false
[package.metadata.docs.rs]
features = ["std", "serde", "rand", "prime"]
[dependencies.arbitrary]
version = "1.1.0"
optional = true
[dependencies.smallvec]
version = "1.10.0"
default-features = false
[dependencies.num-integer]
version = "0.1.39"
default-features = false
features = [ "i128" ]
[dependencies.num-traits]
version = "0.2.4"
default-features = false
features = [ "i128" ]
[dependencies.num-iter]
version = "0.1.37"
default-features = false
[dependencies.rand]
optional = true
version = "0.8.3"
default-features = false
[dependencies.zeroize]
version = "1.5"
default-features = false
optional = true
[dependencies.serde]
optional = true
version = "1.0"
default-features = false
features = [ "alloc" ]
[dependencies.libm]
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"]
[dev-dependencies]
rand_chacha = "0.3"
rand_xorshift = "0.3"
rand_isaac = "0.3"
rand = { version = "0.8", features = ["small_rng"] }
[dev-dependencies.serde_test]
version = "1.0"
[features]
default = ["std", "u64_digit"]
fuzz = ["arbitrary", "smallvec/arbitrary"]
i128 = []
std = [
"num-integer/std",
"num-traits/std",
"smallvec/write",
"rand/std",
"serde/std"
]
u64_digit = []
prime = ["rand/std_rng"]
nightly = []