/
Cargo.toml
69 lines (56 loc) · 1.44 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
[package]
name = "masp_mpc"
version = "0.2.0"
authors = ["Sean Bowe <ewillbefull@gmail.com>", "joe <joe@heliax.dev>"]
edition = "2018"
[lib]
crate-type = ["lib",]
[[bin]]
name = "new"
required-features = ["verification"]
[[bin]]
name = "verify"
required-features = ["verification"]
[[bin]]
name = "beacon"
required-features = ["beacon"]
[[bin]]
name = "verify_transform"
[[bin]]
name = "split_params"
[[bin]]
name = "verify_contribution"
required-features = ["verification"]
[dependencies]
rand = {version = "0.8.5", default-features = false, features = ["getrandom"] }
blake2 = "0.10.5"
bellman = { version = "0.13.1", features = ["groth16", "multicore"] }
exitcode = "1.1.2"
hex = "0.4.2"
itertools = "0.10.3"
byteorder = "1"
sha2 = "0.10.2"
rand_chacha = "0.3.1"
getrandom = { version = "0.2.6", features = ["js"] }
bls12_381 = "0.7"
blake2b_simd = "1"
# Imports MPC functions that will parameterize Powers of Tau to Groth16 (in our context MASP zk-SNARK)
[dependencies.masp-phase2]
branch = "joe/nts"
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"
branch = "joe/2022-11-update"
optional = true
[dependencies.hex-literal]
version = "0.3.4"
optional = true
[features]
verification = ["masp_proofs"]
#u128-support = ["pairing/u128-support"]
beacon = ["hex-literal"]
[profile.release]
opt-level = 3
lto = true
codegen-units = 1