forked from RustCrypto/crypto-bigint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
79 lines (67 loc) · 2.05 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
[package]
name = "crypto-bigint"
version = "0.6.0-pre.12"
description = """
Pure Rust implementation of a big integer library which has been designed from
the ground-up for use in cryptographic applications. Provides constant-time,
no_std-friendly implementations of modern formulas using const generics.
"""
authors = ["RustCrypto Developers"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/RustCrypto/crypto-bigint"
categories = ["algorithms", "cryptography", "data-structures", "mathematics", "no-std"]
keywords = ["arbitrary", "crypto", "bignum", "integer", "precision"]
readme = "README.md"
resolver = "2"
edition = "2021"
rust-version = "1.73"
[dependencies]
subtle = { version = "2.5", default-features = false }
# optional dependencies
der = { version = "0.7", optional = true, default-features = false }
hybrid-array = { version = "0.2.0-rc.8", optional = true }
num-traits = { version = "0.2.19", default-features = false }
rand_core = { version = "0.6.4", optional = true }
rlp = { version = "0.5", optional = true, default-features = false }
serdect = { version = "0.2", optional = true, default-features = false }
zeroize = { version = "1", optional = true, default-features = false }
[dev-dependencies]
bincode = "1"
criterion = { version = "0.5", features = ["html_reports"] }
hex-literal = "0.4"
num-bigint = "0.4"
num-integer = "0.1"
num-modular = { version = "0.6", features = ["num-bigint", "num-integer", "num-traits"] }
proptest = "1"
rand_core = { version = "0.6", features = ["std"] }
rand_chacha = "0.3"
[features]
default = ["rand"]
alloc = ["serdect?/alloc"]
std = ["alloc"]
extra-sizes = []
rand = ["rand_core/std"]
serde = ["dep:serdect"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[[bench]]
name = "boxed_monty"
harness = false
required-features = ["alloc"]
[[bench]]
name = "boxed_uint"
harness = false
required-features = ["alloc"]
[[bench]]
name = "const_monty"
harness = false
[[bench]]
name = "limb"
harness = false
[[bench]]
name = "monty"
harness = false
[[bench]]
name = "uint"
harness = false