-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
39 lines (33 loc) · 983 Bytes
/
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
[package]
name = "crypto"
description = "a simple crypto library (ElGamal)"
version = "0.2.0"
authors = ["Moritz Eck <moritz.eck@gmail.com>"]
edition = "2018"
license = "MIT"
repository = "https://github.com/meck93/provotum-mixnet/crypto"
readme = "README.md"
[lib]
name = "crypto"
path = "src/lib.rs"
crate-type = ["lib"]
[[bench]]
name = "benchmarks"
harness = false
[dependencies]
num-bigint = { version = "^0.3", default-features = false, features = ["rand", "serde"] }
num-traits = { version = "^0.2", default-features = false }
blake2 = { version = "^0.9", default-features = false }
criterion = { version = "^0.3", default-features = false, optional = true }
serde = { version = "1", default-features = false, features = ["derive"], optional = true }
rand = { version = "^0.7", optional = true }
[dev-dependencies]
rand = { version = "^0.7" }
[features]
std = [
'num-bigint/std',
'num-traits/std',
'serde/std',
'rand/std'
]
bench = ["criterion", "rand"]