-
Notifications
You must be signed in to change notification settings - Fork 120
/
Copy pathCargo.toml
87 lines (82 loc) · 2.67 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
80
81
82
83
84
85
86
87
[package]
name = "jf-plonk"
description = "TurboPlonk and UntraPlonk implementation."
version = "0.5.1"
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
[dependencies]
ark-ec = { workspace = true }
ark-ff = { workspace = true }
ark-poly = { workspace = true }
ark-serialize = { workspace = true }
ark-std = { workspace = true }
derivative = { workspace = true }
displaydoc = { workspace = true }
downcast-rs = { version = "1.2.0", default-features = false }
dyn-clone = "^1.0"
espresso-systems-common = { git = "https://github.com/espressosystems/espresso-systems-common", tag = "0.4.0" }
hashbrown = { workspace = true }
itertools = { workspace = true }
jf-crhf = { version = "0.1.0", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false }
jf-pcs = { version = "0.1.0", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false }
jf-relation = { version = "0.4.4", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false }
jf-rescue = { version = "0.1.0", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false, features = ["gadgets"] }
jf-utils = { version = "0.4.4", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false }
merlin = { workspace = true }
num-bigint = { workspace = true }
rand_chacha = { workspace = true }
rayon = { version = "1.5.0", optional = true }
serde = { workspace = true }
sha3 = { workspace = true }
tagged-base64 = { workspace = true }
[dev-dependencies]
ark-bls12-377 = { workspace = true }
ark-bls12-381 = { workspace = true }
ark-bn254 = { workspace = true }
ark-bw6-761 = { workspace = true }
ark-ed-on-bls12-377 = "0.4.0"
ark-ed-on-bls12-381 = "0.4.0"
ark-ed-on-bn254 = "0.4.0"
hex = "^0.4.3"
# Benchmarks
[[bench]]
name = "plonk-benches"
path = "benches/bench.rs"
harness = false
required-features = ["test-srs"]
[features]
default = ["parallel"]
std = [
"ark-std/std",
"ark-serialize/std",
"ark-ff/std",
"ark-ec/std",
"ark-poly/std",
"downcast-rs/std",
"itertools/use_std",
"jf-relation/std",
"jf-utils/std",
"jf-rescue/std",
"merlin/std",
"num-bigint/std",
"rand_chacha/std",
"sha3/std",
]
test-apis = [] # exposing apis for testing purpose
parallel = [
"ark-ff/parallel",
"ark-ec/parallel",
"ark-poly/parallel",
"jf-utils/parallel",
"jf-pcs/parallel",
"jf-relation/parallel",
"jf-rescue/parallel",
"dep:rayon",
]
test-srs = []
[[example]]
name = "proof-of-exp"
path = "examples/proof_of_exp.rs"
required-features = ["test-srs"]