forked from celo-org/snark-setup
-
Notifications
You must be signed in to change notification settings - Fork 95
/
Cargo.toml
58 lines (50 loc) · 2 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
[package]
name = "phase1"
version = "0.3.0"
authors = ["Sean Bowe", "Alex Vlasov", "The Aleo Team <[email protected]>"]
description = "Core logic for Phase 1"
homepage = "https://github.com/AleoHQ/aleo-setup"
repository = "https://github.com/AleoHQ/aleo-setup"
license = "MIT/Apache-2.0"
edition = "2018"
[[bench]]
name = "phase1"
harness = false
required-features = ["benchmark"]
[dependencies]
setup-utils = { path = "../setup-utils" }
snarkvm-algorithms = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c", default-features = false }
snarkvm-curves = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-fields = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-utilities = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
cfg-if = "1.0"
criterion = { version = "0.3", optional = true }
derivative = { version = "2", features = [ "use_core" ] }
itertools = "0.10"
rand = { version = "0.8" }
rayon = { version = "1.4.1", optional = true }
tracing = { version = "0.1.21" }
serde = { version = "1.0", features = ["derive"] }
[dev-dependencies]
phase1 = { path = "./", features = ["testing"] }
snarkvm-marlin = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-polycommit = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-ledger = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
snarkvm-r1cs = { git = "https://github.com/AleoHQ/snarkVM.git", rev = "fc997c" }
anyhow = { version = "1.0.37" }
blake2 = { version = "0.9", default-features = false }
memmap = { version = "0.7.0" }
num-traits = { version = "0.2.12" }
rand_chacha = { version = "0.3" }
rusty-hook = { version = "0.11.2" }
[features]
default = []
cli = ["parallel", "setup-utils/cli"]
parallel = ["rayon", "setup-utils/parallel", "snarkvm-algorithms/parallel"]
wasm = ["setup-utils/wasm"]
benchmark = ["criterion"]
testing = ["parallel"]
[[test]]
name = "marlin"
path = "tests/marlin.rs"
required-features = ["phase1/testing", "cli"]