forked from penumbra-zone/penumbra
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
251 lines (241 loc) · 12.8 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
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
[workspace]
# Set virtual workspace's resolver to v1, to support the "rust-docs" script.
resolver = "1"
exclude = ["tools/proto-compiler", "tools/parameter-setup"]
# Also remember to add to deployments/scripts/rust-docs
members = [
"crates/bench",
"crates/bin/pcli",
"crates/bin/pclientd",
"crates/bin/pd",
"crates/bin/pindexer",
"crates/cnidarium",
"crates/cnidarium-component",
"crates/core/app",
"crates/core/asset",
"crates/core/component/community-pool",
"crates/core/component/compact-block",
"crates/core/component/auction",
"crates/core/component/dex",
"crates/core/component/distributions",
"crates/core/component/fee",
"crates/core/component/funding",
"crates/core/component/governance",
"crates/core/component/ibc",
"crates/core/component/sct",
"crates/core/component/shielded-pool",
"crates/core/component/stake",
"crates/core/keys",
"crates/core/num",
"crates/core/transaction",
"crates/core/txhash",
"crates/crypto/decaf377-fmd",
"crates/crypto/decaf377-frost",
"crates/crypto/decaf377-ka",
"crates/crypto/eddy",
"crates/crypto/proof-params",
"crates/crypto/proof-setup",
"crates/crypto/tct",
"crates/custody",
"crates/misc/measure",
"crates/misc/tct-visualize",
"crates/proto",
"crates/test/mock-client",
"crates/test/mock-consensus",
"crates/test/mock-tendermint-proxy",
"crates/test/tct-property-test",
"crates/test/tracing-subscriber",
"crates/util/auto-https",
"crates/util/tendermint-proxy",
"crates/util/tower-trace",
"crates/util/cometindex",
"crates/view",
"crates/wallet",
"tools/summonerd",
]
# Config for 'cargo dist'
[workspace.metadata.dist]
# The preferred cargo-dist version to use in CI (Cargo.toml SemVer syntax)
cargo-dist-version = "0.13.3"
# CI backends to support
ci = ["github"]
# The archive format to use for non-windows builds (defaults .tar.xz)
unix-archive = ".tar.gz"
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu"]
# The installers to generate for each app
installers = ["shell"]
# Publish jobs to run in CI
pr-run-mode = "plan"
# Skip checking whether the specified configuration files are up to date
allow-dirty = ["ci"]
# Whether to install an updater program
install-updater = false
[workspace.metadata.dist.github-custom-runners]
aarch64-apple-darwin = "macos-13-large"
x86_64-apple-darwin = "macos-13-large"
x86_64-unknown-linux-gnu = "buildjet-32vcpu-ubuntu-2204"
# The profile that 'cargo dist' will build with
[profile.dist]
inherits = "release"
# config for 'cargo release'
[workspace.metadata.release]
# Instruct cargo-release to increment versions for all packages in the workspace in lockstep.
shared-version = true
# Format spec for the auto-generated git tag, based on new version for release.
tag-name = "v{{version}}"
# The message is required for an annotated tag to be created.
tag-message = "Penumbra version {{version}}"
pre-release-commit-message = "chore: release version {{version}}"
# Don't push to crates.io; we're still using git branches for velocity.
publish = false
# Do commit, tag, and push the version bump, triggering a new release.
tag = true
# Don't push, since we're still evaluating the new release workflow.
push = false
[workspace.package]
authors = ["Penumbra Labs <[email protected]>"]
edition = "2021"
version = "0.80.2"
repository = "https://github.com/penumbra-zone/penumbra"
homepage = "https://penumbra.zone"
license = "MIT OR Apache-2.0"
[workspace.dependencies]
anyhow = { version = "1.0.75" }
ark-ec = { default-features = false, version = "0.4.2" }
ark-ff = { default-features = false, version = "0.4.2" }
ark-groth16 = { default-features = false, version = "0.4.0" }
ark-r1cs-std = { default-features = false, version = "0.4.0" }
ark-relations = { version = "0.4" }
ark-serialize = { version = "0.4.2" }
ark-snark = { version = "0.4.0" }
ark-std = { default-features = false, version = "0.4" }
assert_cmd = { version = "2.0" }
async-stream = { version = "0.3.5" }
async-trait = { version = "0.1.52" }
axum = { version = "0.6" }
axum-server = { version = "0.5" }
base64 = { version = "0.21.2" }
bech32 = { version = "0.8.1" }
bincode = { version = "1.3.3" }
bitvec = { version = "1" }
blake2b_simd = { version = "1" }
bytes = { version = "1.2" }
camino = { version = "1" }
chacha20poly1305 = { version = "0.9.0" }
chrono = { default-features = false, version = "0.4" }
clap = { version = "3.2" }
cnidarium = { default-features = false, path = "crates/cnidarium" }
cnidarium-component = { default-features = false, path = "crates/cnidarium-component" }
cometindex = { path = "crates/util/cometindex" }
criterion = { version = "0.4" }
decaf377 = { default-features = false, version = "0.10.1" }
decaf377-fmd = { path = "crates/crypto/decaf377-fmd" }
decaf377-ka = { path = "crates/crypto/decaf377-ka" }
decaf377-rdsa = { version = "0.11.0" }
derivative = { version = "2.2" }
directories = { version = "4.0.1" }
ed25519-consensus = { version = "2.1" }
ethnum = { version = "1.3" }
futures = { version = "0.3.28" }
hex = { version = "0.4.3" }
http = { version = "0.2.9" }
http-body = { version = "0.4.5" }
humantime = { version = "2.1" }
ibc-proto = { default-features = false, version = "0.41.0" }
ibc-types = { default-features = false, version = "0.12.0" }
ibig = { version = "0.3" }
ics23 = { version = "0.11.3" }
im = { version = "^15.1.0" }
indicatif = { version = "0.16" }
jmt = { version = "0.10", features = ["migration"] }
metrics = { version = "0.22" }
metrics-exporter-prometheus = { version = "0.13", features = ["http-listener"] }
metrics-tracing-context = { version = "0.15" }
num-bigint = { version = "0.4" }
num-traits = { default-features = false, version = "0.2.15" }
once_cell = { version = "1.8" }
parking_lot = { version = "0.12.1" }
pbjson = { version = "0.6" }
pbjson-types = { version = "0.6.0" }
penumbra-app = { path = "crates/core/app" }
penumbra-asset = { default-features = false, path = "crates/core/asset" }
penumbra-community-pool = { default-features = false, path = "crates/core/component/community-pool" }
penumbra-compact-block = { default-features = false, path = "crates/core/component/compact-block" }
penumbra-custody = { path = "crates/custody" }
penumbra-auction = { default-features = false, path = "crates/core/component/auction" }
penumbra-dex = { default-features = false, path = "crates/core/component/dex" }
penumbra-distributions = { default-features = false, path = "crates/core/component/distributions" }
penumbra-fee = { default-features = false, path = "crates/core/component/fee" }
penumbra-funding = { default-features = false, path = "crates/core/component/funding" }
penumbra-governance = { default-features = false, path = "crates/core/component/governance" }
penumbra-ibc = { default-features = false, path = "crates/core/component/ibc" }
penumbra-keys = { default-features = false, path = "crates/core/keys" }
penumbra-mock-client = { path = "crates/test/mock-client" }
penumbra-mock-consensus = { path = "crates/test/mock-consensus" }
penumbra-mock-tendermint-proxy = { path = "crates/test/mock-tendermint-proxy" }
penumbra-num = { default-features = false, path = "crates/core/num" }
penumbra-proof-params = { default-features = false, path = "crates/crypto/proof-params" }
penumbra-proof-setup = { path = "crates/crypto/proof-setup" }
penumbra-proto = { default-features = false, path = "crates/proto" }
penumbra-sct = { default-features = false, path = "crates/core/component/sct" }
penumbra-shielded-pool = { default-features = false, path = "crates/core/component/shielded-pool" }
penumbra-stake = { default-features = false, path = "crates/core/component/stake" }
penumbra-tct = { default-features = false, path = "crates/crypto/tct" }
penumbra-test-subscriber = { path = "crates/test/tracing-subscriber" }
penumbra-transaction = { default-features = false, path = "crates/core/transaction" }
penumbra-txhash = { default-features = false, path = "crates/core/txhash" }
penumbra-view = { path = "crates/view" }
penumbra-wallet = { path = "crates/wallet" }
penumbra-extension = { path = "crates/penumbra-extension", default-features = false }
pin-project = { version = "1.0.12" }
pin-project-lite = { version = "0.2.9" }
poseidon377 = { version = "1.2.0" }
proptest = { version = "1" }
proptest-derive = { version = "0.3" }
prost = { version = "0.12.3" }
prost-types = { version = "0.12" }
r2d2 = { version = "0.8" }
r2d2_sqlite = { version = "0.22" }
rand = { version = "0.8.5" }
rand_chacha = { version = "0.3.1" }
rand_core = { version = "0.6.4" }
regex = { version = "1.8.1" }
rocksdb = { version = "0.21.0" }
serde = { version = "1.0.186" }
serde_json = { version = "1.0.96" }
serde_unit_struct = { version = "0.1" }
serde_with = { version = "3.5.1" }
sha2 = { version = "0.10" }
sqlx = { version = "0.7", features = ["postgres", "runtime-tokio", "tls-rustls"] }
tap = "1.0.1"
tempfile = { version = "3.3.0" }
tendermint = { default-features = false, version = "0.34.0" }
tendermint-config = { version = "0.34.0" }
tendermint-light-client-verifier = { version = "0.34.0" }
tendermint-proto = { version = "0.34.0" }
tendermint-rpc = { version = "0.34.0" }
termion = { version = "3" }
thiserror = { version = "1.0" }
time = { version = "0.3" }
tokio = { version = "1.3" }
tokio-stream = { version = "0.1.8" }
tokio-util = { version = "0.7" }
toml = { version = "0.7" }
tonic = { version = "0.10" }
tonic-reflection = { version = "0.10.0" }
tonic-web = { version = "0.10.0" }
tower = { version = "0.4.0" }
tower-http = { version = "0.4" }
tower-service = { version = "0.3.2" }
tracing = { version = "0.1" }
tracing-subscriber = { version = "0.3.17", features = ["env-filter"] }
url = { version = "2.2" }
getrandom = { version = "0.2", default-features = false, features = ["js"] }
# TODO(kate):
# temporarily point these dependencies to a tag in the penumbra-zone fork.
# see #4392, #4400, and hyperium/tonic#1701 for more information.
[patch.crates-io]
tonic = { git = "https://github.com/penumbra-zone/tonic.git", tag = "v0.10.3-penumbra" }
tonic-reflection = { git = "https://github.com/penumbra-zone/tonic.git", tag = "v0.10.3-penumbra" }
tonic-web = { git = "https://github.com/penumbra-zone/tonic.git", tag = "v0.10.3-penumbra" }