-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
53 lines (47 loc) · 2.03 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
[package]
name = "dkg-snark"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
ark-ff = { version = "^0.3.0", default-features = false }
ark-ec = { version = "^0.3.0", default-features = false }
ark-std = { version = "^0.3.0", default-features = false }
ark-snark = { version = "^0.3.0", default-features = false }
ark-poly = { version = "^0.3.0" }
ark-r1cs-std = { version = "^0.3.0", default-features = false }
ark-nonnative-field = { version = "0.3.0", default-features = false }
ark-relations = { version = "^0.3.0", default-features = false }
ark-bls12-377 = { version = "^0.3.0", features = ["r1cs","curve"] }
ark-bw6-761 = { version = "^0.3.0" }
ark-groth16 = { version = "^0.3.0", features = ["r1cs"] }
ark-sponge = { version = "^0.3.0" , features = ["r1cs"] }
ark-crypto-primitives = { version = "^0.3.0", features = ["r1cs"] }
ark-serialize = { version = "^0.3.0", default-features = false }
rayon = "^1.5.1"
json = "0.12.4"
lazy_static = "^1.4.0"
tracing = { version = "0.1", default-features = false, features = [ "attributes" ] }
tracing-subscriber = { version = "0.2" }
[features]
default = ["asm", "parallel", "std"]
asm = ["ark-ff/asm"]
parallel = [ "std", "ark-ff/parallel", "ark-std/parallel", "ark-ec/parallel"]
std = ["ark-ff/std", "ark-ec/std", "ark-std/std", "ark-relations/std", "ark-serialize/std"]
[dev-dependencies]
serde = { version = "1.0", features = ["derive"] }
csv = "1.1.5"
[patch.crates-io]
#ark-groth16 = { git = "https://github.com/nikkolasg/groth16" }
#ark-crypto-primitives = { git = "https://github.com/nikkolasg/crypto-primitives" }
ark-r1cs-std = { git = "https://github.com/arkworks-rs/r1cs-std/", rev = "a2a5ac491ae005ba2afd03fd21b7d3160d794a83"}
#ark-r1cs-std = { path = "../r1cs-std" }
#ark-ec = { path = "../algebra/ec" }
#ark-ff = { path = "../algebra/ff" }
#ark-poly = { path = "../algebra/poly" }
#ark-serialize = { path = "../algebra/serialize" }
[[bench]]
name = "bench"
path = "benches/bench.rs"
harness = false
debug = true