-
Notifications
You must be signed in to change notification settings - Fork 105
/
Cargo.toml
71 lines (66 loc) · 2.32 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
[package]
name = "jf-vid"
version = "0.2.0"
description = "Verifiable information dispersal (VID)."
authors = { workspace = true }
edition = { workspace = true }
license = { workspace = true }
rust-version = { workspace = true }
homepage = { workspace = true }
documentation = { workspace = true }
repository = { workspace = true }
[dependencies]
anyhow = "1.0"
ark-ec = { workspace = true }
ark-ff = { workspace = true }
ark-poly = { workspace = true }
ark-serialize = { workspace = true }
ark-std = { workspace = true }
derivative = { workspace = true }
digest = { workspace = true }
displaydoc = { workspace = true }
generic-array = { version = "0", features = [
"serde",
] } # not a direct dependency, but we need serde
itertools = { workspace = true, features = ["use_alloc"] }
jf-merkle-tree = { 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-utils = { version = "0.4.4", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", default-features = false }
rayon = { version = "1.5.0", optional = true }
serde = { workspace = true }
tagged-base64 = { workspace = true }
[dev-dependencies]
ark-bls12-381 = { workspace = true }
ark-bn254 = { 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"
criterion = "0.5.1"
jf-pcs = { version = "0.1.0", git = "https://github.com/EspressoSystems/jellyfish", tag = "0.4.5", features = ["test-srs"] }
sha2 = "0.10"
[[bench]]
name = "advz"
harness = false
required-features = ["test-srs"]
[[bench]]
name = "advz_multiplicity"
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", "itertools/use_std",
"jf-utils/std", "jf-pcs/std", "jf-merkle-tree/std",
]
test-srs = ["jf-pcs/test-srs"]
parallel = [
"ark-ff/parallel", "ark-ec/parallel", "jf-utils/parallel",
"jf-pcs/parallel", "rayon",
]
seq-fk-23 = [] # FK23 without parallelism
gpu-vid = ["jf-pcs/icicle"]
print-trace = ["ark-std/print-trace"]
kzg-print-trace = [
"print-trace",
] # leave disabled to reduce pollution in downstream users of KZG (such as VID)