forked from ProvableHQ/snarkVM
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
162 lines (136 loc) · 3.36 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
[package]
name = "snarkvm"
version = "0.7.5"
authors = [ "The Aleo Team <[email protected]>" ]
description = "A decentralized virtual machine"
homepage = "https://aleo.org"
repository = "https://github.com/AleoHQ/snarkVM"
keywords = [
"aleo",
"cryptography",
"blockchain",
"decentralized",
"zero-knowledge"
]
categories = [ "cryptography::cryptocurrencies", "operating-systems" ]
include = [ "Cargo.toml", "snarkvm", "README.md", "LICENSE.md" ]
license = "GPL-3.0"
edition = "2018"
[workspace]
members = [
"algorithms",
"circuits",
"curves",
"derives", # excluded from [features], for internal use primarily
"dpc",
"fields",
"gadgets",
"marlin", # excluded from [features], to be merged in `algorithms` and `gadgets` once stable
"parameters",
"polycommit", # excluded from [features], to be merged in `algorithms` and `gadgets` once stable
"profiler", # excluded from [features], for internal use primarily
"r1cs",
"utilities",
"wasm", # excluded from [features], WASM contexts will typically import this crate directly
".integration" # excluded from [features], for CI only
]
[lib]
path = "snarkvm/lib.rs"
[[bin]]
name = "snarkvm"
path = "snarkvm/cli/main.rs"
required-features = ["cli"]
[features]
default = ["core"]
#
# `core` is defined as the commonly-used members of snarkVM with default features.
#
# If you need more granular control of members and/or member features,
# please import the requisite crates directly and enable features as needed.
core = ["dpc", "utilities"]
full = ["algorithms", "curves", "dpc", "fields", "gadgets", "parameters", "r1cs", "utilities"]
## snarkVM workspace ##
algorithms = ["snarkvm-algorithms"]
curves = ["snarkvm-curves"]
dpc = ["snarkvm-dpc"]
fields = ["snarkvm-fields"]
gadgets = ["snarkvm-gadgets"]
parameters = ["snarkvm-parameters"]
r1cs = ["snarkvm-r1cs"]
utilities = ["snarkvm-utilities"]
## snarkVM workspace specific ##
parameters_no_std_out = ["snarkvm-parameters/no_std_out"]
## snarkVM CLI ##
cli = ["anyhow", "colored", "self_update", "structopt", "thiserror"]
## CI ##
noconfig = []
[dependencies.snarkvm-algorithms]
path = "./algorithms"
version = "0.7.5"
optional = true
[dependencies.snarkvm-curves]
path = "./curves"
version = "0.7.5"
optional = true
[dependencies.snarkvm-dpc]
path = "./dpc"
version = "0.7.5"
optional = true
[dependencies.snarkvm-fields]
path = "./fields"
version = "0.7.5"
optional = true
[dependencies.snarkvm-gadgets]
path = "./gadgets"
version = "0.7.5"
optional = true
[dependencies.snarkvm-parameters]
path = "./parameters"
version = "0.7.5"
optional = true
[dependencies.snarkvm-r1cs]
path = "./r1cs"
version = "0.7.5"
optional = true
[dependencies.snarkvm-utilities]
path = "./utilities"
version = "0.7.5"
optional = true
[dependencies.anyhow]
version = "1.0.52"
optional = true
[dependencies.colored]
version = "2"
optional = true
[dependencies.self_update]
version = "0.28"
optional = true
[dependencies.structopt]
version = "0.3"
optional = true
[dependencies.thiserror]
version = "1.0"
optional = true
[dev-dependencies.rusty-hook]
version = "0.11.2"
[profile.release]
opt-level = 3
lto = "thin"
incremental = true
[profile.bench]
opt-level = 3
debug = false
rpath = false
lto = "thin"
incremental = true
debug-assertions = false
[profile.dev]
opt-level = 3
lto = "thin"
incremental = true
[profile.test]
opt-level = 3
lto = "thin"
incremental = true
debug = true
debug-assertions = true