forked from filecoin-project/bellperson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
96 lines (83 loc) · 2.05 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
88
89
90
91
92
93
94
95
96
[package]
name = "bellperson"
authors = [
"dignifiedquire <[email protected]>",
"Sean Bowe <[email protected]>",
]
description = "zk-SNARK library"
documentation = "https://docs.rs/bellperson"
homepage = "https://github.com/filecoin-project/bellman"
license = "MIT/Apache-2.0"
repository = "https://github.com/filecoin-project/bellman"
version = "0.18.0"
readme = "README.md"
edition = "2018"
[dependencies]
bitvec = "0.22"
blake2s_simd = "0.5"
ff = "0.11.0"
group = "0.11.0"
rand_core = "0.6"
byteorder = "1"
log = "0.4.8"
lazy_static = "1.4.0"
rand = "0.8"
rayon = "1.5.0"
memmap = "0.7.0"
thiserror = "1.0.10"
num_cpus = "1"
crossbeam-channel = "0.5.0"
digest = "0.9.0"
itertools = "0.10.0"
bincode = "1.3.1"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.9"
blstrs = "0.4.0"
pairing = "0.21"
yastl = "0.1.2"
# cuda/opencl feature
rust-gpu-tools = { version = "0.5.0", optional = true, default-features = false }
ec-gpu = { version = "0.1.0", optional = true }
ec-gpu-gen = { version = "0.1.0", optional = true }
fs2 = { version = "0.4.3", optional = true }
[dev-dependencies]
hex-literal = "0.3"
rand_xorshift = "0.3"
env_logger = "0.9.0"
criterion = "0.3.2"
rand_chacha = "0.3"
csv = "1.1.5"
tempfile = "3.1.0"
subtle = "2.2.1"
[build-dependencies]
blstrs = "0.4.0"
execute = "0.2.9"
ec-gpu = { version = "0.1.0", optional = true }
ec-gpu-gen = { version = "0.1.0", optional = true }
hex = "0.4"
sha2 = "0.9"
[features]
default = ["groth16"]
cuda = ["rust-gpu-tools/cuda", "ec-gpu", "ec-gpu-gen", "fs2", "blstrs/gpu"]
opencl = ["rust-gpu-tools/opencl", "ec-gpu", "ec-gpu-gen", "fs2", "blstrs/gpu"]
groth16 = []
# This feature disables/modifies long running tests to make the suitable for code coverage
# reporting
_coverage = []
[[test]]
name = "mimc"
path = "tests/mimc.rs"
required-features = ["groth16"]
[[test]]
name = "groth16_aggregation"
path = "tests/groth16_aggregation.rs"
required-features = ["groth16"]
[badges]
maintenance = { status = "actively-developed" }
[[bench]]
name = "lc"
harness = false
[workspace]
members = [
"verifier-bench"
]