forked from matter-labs/bellman
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
56 lines (49 loc) · 1.73 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
[package]
authors = ["Sean Bowe <[email protected]>", "Alex Vlasov <[email protected]>", "Alex Gluchowski <[email protected]"]
description = "zk-SNARK library"
documentation = "https://github.com/matter-labs/bellman"
homepage = "https://github.com/matter-labs/bellman"
license = "MIT/Apache-2.0"
name = "bellman_ce"
repository = "https://github.com/matter-labs/bellman"
version = "0.3.2"
edition = "2018"
[lib]
crate-type = ["cdylib", "lib", "staticlib"]
[dependencies]
rand = "0.4"
bit-vec = { version = "0.6", features = ["serde"] }
cfg-if = "1.*"
smallvec = "1.10"
arrayvec = "0.7"
byteorder = "1"
num_cpus = "1"
serde = {version = "1", features = ["derive", "rc"]}
pairing = {package = "pairing_ce", version = "0.28.*" }
# pairing = {package = "pairing_ce", path = "../pairing"}
futures = {package = "futures", version = "0.3", default_features = false, features = ["executor"]}
crossbeam = {version = "0.7", optional = true}
prefetch = {version = "0.2", optional = true}
web-sys = {version = "0.3", optional = true, features = ["console", "Performance", "Window"]}
tiny-keccak = {version = "1.5", optional = true}
blake2-rfc = {version = "0.2.18", optional = true}
blake2s_simd = {version = "0.5"}
lazy_static = {version = "1", optional = true}
blake2s_const = {version = "0.6", optional = true, path = "./src/plonk/blake2_const/blake2s/"}
hex = "*"
[features]
default = ["multicore", "plonk"]
multicore = ["crossbeam", "futures/thread-pool"]
sonic = ["tiny-keccak", "blake2-rfc"]
gm17 = []
nolog = []
plonk = ["lazy_static", "tiny-keccak", "blake2s_const"]
redshift = ["multicore", "plonk"]
marlin = ["tiny-keccak", "blake2s_const"]
wasm = ["web-sys"]
asm = ["pairing/asm"]
allocator = []
[profile.release]
debug = true
[profile.bench]
debug = true