forked from zkcrypto/bellman
-
Notifications
You must be signed in to change notification settings - Fork 120
/
Cargo.toml
93 lines (81 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
# NOTE vmx 2022-08-19: Using the `__private_bench` feature of `blstrs` is just temporarily until
# https://github.com/zkcrypto/group/pull/29 is fixed. Then we won't need the exports of `Fp` and
# `Fp2` any more.
[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.26.0"
readme = "README.md"
edition = "2021"
rust-version = "1.70"
[dependencies]
bellpepper-core = { version = "0.2" }
blake2s_simd = "1.0.0"
ff = "0.13.0"
group = "0.13.0"
rand_core = "0.6"
byteorder = "1"
log = "0.4.8"
rand = { version = "0.8", default-features = false }
rayon = "1.5.0"
thiserror = "1.0.10"
crossbeam-channel = "0.5.0"
digest = "0.10.6"
bincode = "1.3.1"
serde = { version = "1.0", features = ["derive"] }
sha2 = "0.10.6"
pairing = "0.23"
blstrs = { version = "0.7.0", features = ["__private_bench"] }
ec-gpu = { version = "0.2.0" }
ec-gpu-gen = { version = "0.7.0" }
fs2 = { version = "0.4.3", optional = true }
supraseal-c2 = { version = "0.1.0", optional = true }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
memmap2 = "0.5.8"
[dev-dependencies]
hex-literal = "0.4"
rand_xorshift = "0.3"
env_logger = "0.10.0"
criterion = "0.4.0"
rand_chacha = "0.3"
csv = "1.1.5"
tempfile = "3.1.0"
subtle = "2.2.1"
temp-env = "0.3.0"
rand = { version = "0.8", default-features = false, features = ["std", "std_rng"] }
itertools = "0.10.0"
[features]
default = ["groth16"]
cuda = ["ec-gpu-gen/cuda", "fs2", "blstrs/gpu"]
opencl = ["ec-gpu-gen/opencl", "fs2", "blstrs/gpu"]
groth16 = []
cuda-supraseal = ["supraseal-c2"]
# 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" }
[workspace]
members = [
"verifier-bench"
]
[build-dependencies]
blstrs = { version = "0.7.0", features = ["__private_bench"] }
ec-gpu-gen = { version = "0.7.0" }
rustversion = "1.0.6"