forked from anoma/namada-trusted-setup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
96 lines (85 loc) · 2.9 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]
authors = ["The Aleo Team <hello@aleo.org>"]
description = "Coordinator implementation of Phase 1"
edition = "2018"
homepage = "https://github.com/AleoHQ/aleo-setup"
license = "MIT/Apache-2.0"
name = "phase2-coordinator"
repository = "https://github.com/AleoHQ/aleo-setup"
version = "1.1.0"
[[bin]]
name = "phase2-coordinator"
path = "src/main.rs"
required-features = ["parallel"]
[dependencies]
phase2 = {path = "../phase2"}
setup-utils = {path = "../setup-utils"}
snarkvm-curves = {git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c"}
anyhow = {version = "1.0.37"}
base64 = "0.13.0"
bip39 = {version = "1.0.1", default-features = false}
chrono = "0.4"
crossterm = "0.24.0"
ed25519-compact = "1.0.11"
fs-err = {version = "2.6.0"}
futures = {version = "0.3"}
lazy_static = "1.4.0"
memmap = {version = "0.7.0"}
once_cell = {version = "1.5.2"}
owo-colors = "3.4.0"
rayon = {version = "1.4.1"}
regex = "1"
rusoto_core = {version = "0.48.0", default_features = false, features = ["rustls"]}
rusoto_credential = {version = "0.48.0"}
rusoto_ssm = {version = "0.48.0", default_features = false, features = ["rustls"]}
rusoto_s3 = {version = "0.48.0", default_features = false, features = ["rustls"]}
serde = {version = "1.0", features = ["derive"]}
serde-aux = {version = "3.0"}
serde-diff = {version = "0.4"}
serde_json = {version = "1.0"}
serde_with = {version = "1.8", features = ["macros"]}
subtle = "2.4.1"
thiserror = {version = "1.0"}
time = {version = "0.3", features = ["serde-human-readable", "macros"]}
tracing = {version = "0.1"}
tracing-subscriber = {version = "0.3"}
url = "2.3.1"
# Imports from the crates included in Cargo.toml of `heliaxdev/masp-mpc` on branch `joe/update`
# Used in the crypto commands of the coordinator
bellman = {version = "0.11.1", features = ["groth16", "multicore"]}
blake2 = "0.10.4"
bls12_381 = "0.6.1"
getrandom = {version = "0.2.6", features = ["js"]}
hex = "0.4.2"
itertools = "0.10.3"
rand = {version = "0.8.5", default-features = false, features = ["getrandom"]}
rand-06 = {package = "rand", version = "0.6"}# Used just for compatibility with bip39
rand_chacha = "0.3.1"
sha2 = "0.10.2"
zip = "0.6.2"
[dependencies.rocket]
features = ["json"]
version = "0.5.0-rc.1"
# Imports MPC functions that will parameterize Powers of Tau to Groth16 (in our context MASP zk-SNARK)
[dependencies.masp-phase2]
branch = "master"
git = "https://github.com/anoma/masp-phase2"
# Imports the MASP circuits used as input to initialize the MPCParameters
[dependencies.masp_proofs]
git = "https://github.com/anoma/masp"
[dependencies.hex-literal]
optional = true
version = "0.3.4"
[dev-dependencies]
serial_test = {version = "0.5"}
tempfile = "3.3.0"
reqwest = { version = "0.11.11", features = ["blocking"] }
[features]
default = ["operator"]
operator = ["testing", "setup-utils/cli"]
parallel = ["phase2/parallel", "setup-utils/parallel"]
testing = []
[profile.release]
codegen-units = 1
lto = true
opt-level = 3