-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
26 lines (22 loc) · 810 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
[package]
name = "homomorphic-commitments"
version = "0.1.0"
edition = "2021"
[dependencies]
curve25519-dalek = { version = "4", features = ["rand_core"], optional = true }
rand = { version = "0.8", optional = true }
ancient-rand = { version = "0.3", package = "rand", optional = true }
bn = { version = "0.4.3", optional = true }
qfall-crypto = { git = "https://github.com/qfall/crypto", optional = true }
qfall-math = { git = "https://github.com/qfall/math", optional = true }
[features]
default = ["pedersen", "elgamal", "groth", "ajtai"]
pedersen = ["dep:curve25519-dalek", "dep:rand"]
elgamal = ["dep:curve25519-dalek", "dep:rand"]
groth = ["dep:ancient-rand", "dep:bn"]
ajtai = ["dep:qfall-crypto", "dep:qfall-math"]
[dev-dependencies]
criterion = "0.3"
[[bench]]
name = "commitments"
harness = false