forked from kobigurk/phase2-bn254
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathCargo.toml
60 lines (48 loc) · 2.34 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
[package]
name = "phase2"
version = "0.3.0"
authors = ["Sean Bowe <[email protected]>", "Georgios Konstantopoulos <[email protected]>", "Kobi Gurkan <[email protected]>", "The Aleo Team <[email protected]>"]
description = "Library for performing MPCs for creating zk-SNARK public parameters"
homepage = "https://github.com/celo-org/snark-setup"
repository = "https://github.com/celo-org/snark-setup"
license = "MIT/Apache-2.0"
edition = "2018"
[lib]
crate-type = ["cdylib", "lib"]
[[test]]
name = "mpc"
path = "tests/mpc.rs"
required-features = ["phase2/testing"]
[dependencies]
setup-utils = { path = "../setup-utils", default-features = false }
algebra = { git = "https://github.com/scipr-lab/zexe", version = "0.1.1-alpha.0", package = "algebra", features = ["bls12_377", "bls12_381", "bw6_761"] }
groth16 = { git = "https://github.com/scipr-lab/zexe", version = "0.1.1-alpha.0", package = "groth16", features = [] }
r1cs_core = { git = "https://github.com/scipr-lab/zexe", version = "0.1.1-alpha.0", package = "r1cs-core" }
byteorder = { version = "1.3.4" }
cfg-if = { version = "0.1.10" }
crossbeam = { version = "0.7" }
itertools = { version = "0.9.0", optional = true }
num_cpus = { version = "1" }
rand = { version = "0.7.3" }
rayon = { version = "1.3.0", optional = true }
tracing = { version = "0.1.17" }
wasm-bindgen = { version = "0.2.67", features=["serde-serialize"] }
# The `console_error_panic_hook` crate provides better debugging of panics by
# logging them with `console.error`. This is great for development, but requires
# all the `std::fmt` and `std::panicking` infrastructure, so isn't great for
# code size when deploying.
console_error_panic_hook = { version = "0.1.6", optional = true }
web-sys = { version = "0.3", features = ["console"], optional = true }
[dev-dependencies]
phase1 = { path = "../phase1", features = ["testing"] }
phase2 = { path = "./", features = ["testing"] }
wasm-bindgen-test = { version = "0.3.15" }
r1cs_std = { git = "https://github.com/scipr-lab/zexe", version = "0.1.1-alpha.0", package = "r1cs-std" }
rusty-hook = { version = "0.11.2" }
tracing-subscriber = { version = "0.2.3" }
[features]
default = ["parallel"]
testing = ["parallel"]
parallel = ["rayon", "setup-utils/parallel", "algebra/parallel", "groth16/parallel"]
cli = ["setup-utils/cli"]
wasm = ["console_error_panic_hook", "itertools", "web-sys", "setup-utils/wasm"]