-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
46 lines (38 loc) · 1.18 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
[package]
name = "crypto"
version = "0.1.0"
authors = ["Alexander Hofmann <[email protected]>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[lib]
name = "crypto"
path = "src/lib.rs"
[[bin]]
name = "cryptomain"
path = "src/main.rs"
required-features = ["std"]
[dependencies]
num-bigint = { version = "0.3.0", default-features = false }
num-integer = { version = "^0.1", default-features = false }
num-traits = { version = "^0.2", default-features = false }
num-iter = { version = "0.1.42", default-features = false }
digest = { version = "0.9.0", default-features = false }
blake2 = { version = "0.9.0", default-features = false }
sha2 = { version = "0.9.0", default-features = false }
rayon = { version = "1.5.0", default-features = false, optional = true }
[dev-dependencies]
hex-literal = { version = "0.3.1", default-features = false }
criterion = { version = "0.3", default-features = false }
[[bench]]
name = "benchmark"
harness = false
[features]
default = ['num-bigint/std',
'num-integer/std',
'num-traits/std',
'num-iter/std',
'digest/std',
'blake2/std',
'sha2/std',
'rayon']
bench = ["rayon"]