forked from celo-org/snark-setup
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Cargo.toml
60 lines (50 loc) · 2.22 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]>", "The Aleo Team <[email protected]>"]
description = "Library for performing MPCs for creating zk-SNARK public parameters"
homepage = "https://github.com/AleoHQ/aleo-setup"
repository = "https://github.com/AleoHQ/aleo-setup"
license = "MIT/Apache-2.0"
edition = "2018"
[lib]
crate-type = ["cdylib", "lib"]
[[test]]
name = "aleo_compatibility"
path = "tests/aleo_compatibility.rs"
required-features = ["phase2/testing"]
[dependencies]
setup-utils = { path = "../setup-utils" }
snarkvm-algorithms = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c", default-features = false, features = ["snark"] }
snarkvm-curves = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-fields = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-r1cs = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-utilities = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
byteorder = { version = "1.3.4" }
cfg-if = "1.0"
crossbeam = { version = "0.8" }
hex = { version = "0.4.3" }
itertools = { version = "0.10", optional = true }
num_cpus = { version = "1" }
rand = { version = "0.8" }
rayon = { version = "1.4.1", optional = true }
tracing = { version = "0.1.21" }
wasm-bindgen = { version = "0.2.69", 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.18" }
rusty-hook = { version = "0.11.2" }
tracing-subscriber = { version = "0.3" }
[features]
default = []
testing = ["parallel"]
parallel = ["rayon", "setup-utils/parallel", "snarkvm-algorithms/parallel"]
cli = ["setup-utils/cli"]
wasm = ["console_error_panic_hook", "itertools", "web-sys", "setup-utils/wasm"]