-
Notifications
You must be signed in to change notification settings - Fork 28
/
Cargo.toml
323 lines (262 loc) · 15.1 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
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
[workspace]
resolver = "2"
# NOTE: All paths must be listed out (i.e. no globs) since ifd is still broken in nix (still can't import the output of `cargo metadata` :( ). See crane.nix for where this is used.
members = [
"cosmwasm/token-factory-api",
"cosmwasm/ucs00-pingpong",
"cosmwasm/ucs01-relay",
"cosmwasm/ucs01-relay-api",
"cosmwasm/ucs02-nft",
"cosmwasm/union-ibc",
"devnet-compose",
"e2e/ensure-blocks",
"generated/rust/contracts",
"generated/rust/protos",
"generated/rust/aptos-move-ibc",
"hubble",
"lib/beacon-api",
"lib/cometbft-rpc",
"lib/cometbft-types",
"lib/chain-utils",
"lib/gnark-key-parser",
"lib/gnark-mimc",
"lib/ibc-vm-rs",
"lib/ics-008-wasm-client",
"lib/ics23",
"lib/linea-verifier",
"lib/linea-zktrie",
"lib/macros",
"lib/pg-queue",
"lib/poseidon-rs",
"lib/voyager-vm",
"lib/subset-of-derive",
"lib/scroll-api",
"lib/scroll-codec",
"lib/scroll-rpc",
"lib/serde-utils",
"lib/ssz",
"lib/ssz/tests-generator",
"lib/ssz-derive",
"lib/unionlabs",
"lib/zktrie-rs",
"lib/voyager-message",
"lib/voyager-core",
"lib/galois-rpc",
"lib/ibc-events",
"lib/near/near-ibc",
"lib/near/near-light-client",
"lib/near/dummy-ibc-app",
# "lib/near/near-ibc-tests",
"lib/ibc-solidity",
"lib/arbitrum-verifier",
"lib/cometbls-groth16-verifier",
"lib/ethereum-sync-protocol",
"lib/evm-storage-verifier",
"lib/scroll-verifier",
"lib/tendermint-verifier",
# these will all be re enabled and updated once ethereum-light-client is updated
# "light-clients/arbitrum-light-client",
"light-clients/arbitrum-light-client/types",
# "light-clients/berachain-light-client",
"light-clients/berachain-light-client/types",
"light-clients/cometbls-light-client",
"light-clients/cometbls-light-client/types",
"light-clients/ethereum-light-client",
"light-clients/ethereum-light-client/types",
# "light-clients/evm-in-cosmos-light-client",
# "light-clients/scroll-light-client",
"light-clients/scroll-light-client/types",
"light-clients/tendermint-light-client",
"light-clients/tendermint-light-client/types",
# "light-clients/linea-light-client",
"light-clients/linea-light-client/types",
"tools/generate-rust-sol-bindings",
"tools/devnet-utils",
"tools/parse-wasm-client-type",
"tools/tidy",
"tools/move-bindgen",
"lib/move-bindgen-derive",
"unionvisor",
"voyager",
"voyager/modules/chain/cosmos-sdk",
"voyager/modules/chain/ethereum",
# "voyager/modules/chain/movement",
"voyager/modules/client/cometbls",
"voyager/modules/client/ethereum",
# "voyager/modules/client/movement",
"voyager/modules/client/tendermint",
"voyager/modules/consensus/cometbls",
"voyager/modules/consensus/ethereum",
# "voyager/modules/consensus/movement",
"voyager/modules/consensus/tendermint",
"voyager/plugins/client-update/cometbls",
"voyager/plugins/client-update/ethereum",
# "voyager/plugins/client-update/movement",
"voyager/plugins/client-update/tendermint",
"voyager/plugins/event-source/cosmos-sdk",
"voyager/plugins/event-source/ethereum",
"voyager/plugins/event-source/movement",
"voyager/plugins/transaction/cosmos-sdk",
"voyager/plugins/transaction/ethereum",
"voyager/plugins/transaction/aptos",
"voyager/plugins/packet-filter",
"voyager/plugins/transaction-batch",
"drip",
"light-clients/movement-light-client",
"light-clients/movement-light-client/types",
"lib/aptos-verifier",
"lib/reconnecting-jsonrpc-ws-client",
"lib/voyager-core",
"lib/subset-of",
"lib/cometbft-types",
"lib/galois-rpc",
"lib/beacon-api-types",
]
[workspace.package]
edition = "2021"
license-file = "LICENSE"
repository = "https://github.com/unionlabs/union"
[workspace.lints.clippy]
disallowed_types = "deny"
module_inception = "allow" # it's useful sometimes
module_name_repetitions = "allow" # dumb lint
[workspace.lints.rustdoc]
broken-intra-doc-links = "deny"
[profile.release]
lto = "thin"
opt-level = 3
[workspace.dependencies]
aptos-move-ibc = { path = "generated/rust/aptos-move-ibc", default-features = false }
aptos-verifier = { path = "lib/aptos-verifier", default-features = false }
beacon-api = { path = "lib/beacon-api", default-features = false }
beacon-api-types = { path = "lib/beacon-api-types", default-features = false }
chain-utils = { path = "lib/chain-utils", default-features = false }
cometbft-rpc = { path = "lib/cometbft-rpc", default-features = false }
cometbft-types = { path = "lib/cometbft-types", default-features = false }
arbitrum-light-client-types = { path = "light-clients/arbitrum-light-client/types", default-features = false }
arbitrum-verifier = { path = "lib/arbitrum-verifier", default-features = false }
cometbls-groth16-verifier = { path = "lib/cometbls-groth16-verifier", default-features = false }
cometbls-light-client-types = { path = "light-clients/cometbls-light-client/types", default-features = false }
scroll-light-client-types = { path = "light-clients/scroll-light-client/types", default-features = false }
contracts = { path = "generated/rust/contracts", default-features = false }
ethereum-light-client = { path = "light-clients/ethereum-light-client", default-features = false }
ethereum-light-client-types = { path = "light-clients/ethereum-light-client/types", default-features = false }
ethereum-sync-protocol = { path = "lib/ethereum-sync-protocol", default-features = false }
evm-storage-verifier = { path = "lib/evm-storage-verifier", default-features = false }
scroll-api = { path = "lib/scroll-api", default-features = false }
scroll-codec = { path = "lib/scroll-codec", default-features = false }
scroll-rpc = { path = "lib/scroll-rpc", default-features = false }
scroll-verifier = { path = "lib/scroll-verifier", default-features = false }
berachain-light-client-types = { path = "light-clients/berachain-light-client/types", default-features = false }
tendermint-light-client = { path = "light-clients/tendermint-light-client", default-features = false }
tendermint-light-client-types = { path = "light-clients/tendermint-light-client/types", default-features = false }
tendermint-verifier = { path = "lib/tendermint-verifier", default-features = false }
linea-light-client-types = { path = "light-clients/linea-light-client/types", default-features = false }
linea-verifier = { path = "lib/linea-verifier", default-features = false }
linea-zktrie = { path = "lib/linea-zktrie", default-features = false }
ibc-solidity = { path = "lib/ibc-solidity", default-features = false }
union-ibc = { path = "cosmwasm/union-ibc", default-features = false }
gnark-key-parser = { path = "lib/gnark-key-parser", default-features = false }
gnark-mimc = { path = "lib/gnark-mimc", default-features = false }
ibc-vm-rs = { path = "lib/ibc-vm-rs", default-features = false }
ics008-wasm-client = { path = "lib/ics-008-wasm-client", default-features = false }
ics23 = { path = "lib/ics23", default-features = false }
macros = { path = "lib/macros", default-features = false }
move-bindgen = { path = "tools/move-bindgen", default-features = false }
move-bindgen-derive = { path = "lib/move-bindgen-derive", default-features = false }
pg-queue = { path = "lib/pg-queue", default-features = false }
poseidon-rs = { path = "lib/poseidon-rs", default-features = false }
protos = { path = "generated/rust/protos", default-features = false }
reconnecting-jsonrpc-ws-client = { path = "lib/reconnecting-jsonrpc-ws-client", default-features = false }
movement-light-client-types = { path = "light-clients/movement-light-client/types", default-features = false }
ibc-events = { path = "lib/ibc-events", default-features = false }
serde-utils = { path = "lib/serde-utils", default-features = false }
ssz = { path = "lib/ssz", default-features = false }
ssz-derive = { path = "lib/ssz-derive", default-features = false }
subset-of = { path = "lib/subset-of", default-features = false }
subset-of-derive = { path = "lib/subset-of-derive", default-features = false }
token-factory-api = { path = "cosmwasm/token-factory-api", default-features = false }
ucs01-relay-api = { path = "cosmwasm/ucs01-relay-api", default-features = false }
unionlabs = { path = "lib/unionlabs", default-features = false }
zktrie = { path = "lib/zktrie-rs", default-features = false }
galois-rpc = { path = "lib/galois-rpc", default-features = false }
voyager-core = { path = "lib/voyager-core", default-features = false }
voyager-message = { path = "lib/voyager-message", default-features = false }
voyager-vm = { path = "lib/voyager-vm", default-features = false }
# external dependencies
milagro_bls = { git = "https://github.com/Snowfork/milagro_bls", rev = "bc2b5b5e8d48b7e2e1bfaa56dc2d93e13cb32095", default-features = false }
tendermint = { git = "https://github.com/unionlabs/tendermint-rs", branch = "v0.39.1-bn254", default-features = false }
tendermint-proto = { git = "https://github.com/unionlabs/tendermint-rs", branch = "v0.39.1-bn254", default-features = false }
tendermint-rpc = { git = "https://github.com/unionlabs/tendermint-rs", branch = "v0.39.1-bn254", default-features = false }
ethers = { git = "https://github.com/unionlabs/ethers-rs", branch = "ethers-core-wasm", default-features = false }
ethers-contract-abigen = { git = "https://github.com/unionlabs/ethers-rs", branch = "ethers-core-wasm", default-features = false }
ethers-contract-derive = { git = "https://github.com/unionlabs/ethers-rs", branch = "ethers-core-wasm", default-features = false }
ethers-core = { git = "https://github.com/unionlabs/ethers-rs", branch = "ethers-core-wasm", default-features = false }
alloy = { version = "0.5", default-features = false }
# https://github.com/aptos-labs/aptos-core/pull/12636
aptos-crypto = { git = "https://github.com/unionlabs/aptos-core" }
aptos-rest-client = { git = "https://github.com/unionlabs/aptos-core" }
aptos-types = { git = "https://github.com/unionlabs/aptos-core" }
axum = { version = "0.6.20", default-features = false }
base64 = { version = "0.21", default-features = false }
bcs = { version = "0.1.6", default-features = false }
bip32 = { version = "0.5.0", default-features = false }
bitvec = { version = "1.0.1", default-features = false }
borsh = { version = "1.5.0", default-features = false }
bytes = { version = "1.2.1", default-features = false }
chrono = { version = "0.4.26", default-features = false }
clap = { version = "4.3.0", default-features = false, features = ["std"] } # clap has a fake std feature that is required to be enabled by default
color-eyre = { version = "0.6.2", default-features = false }
cosmwasm-schema = { version = "1.5", default-features = false }
cosmwasm-std = { version = "1.5", default-features = false }
crossbeam-queue = { version = "0.3.8", default-features = false }
cw-storage-plus = { version = "1.2", default-features = false }
dashmap = { version = "5.5.3", default-features = false }
derive_more = { version = "0.99.17", default-features = false }
dlmalloc = { version = "=0.2.4", default-features = false }
either = { version = "1.9.0", default-features = false }
enumorph = { version = "0.1.2", default-features = false }
ethabi = { version = "18.0.0", default-features = false }
frame-support-procedural = { version = "30.0.0", default-features = false }
futures = { version = "0.3.28", default-features = false }
go-parse-duration = { version = "0.1.1", default-features = false }
hex = { version = "0.4.3", default-features = false }
hex-literal = { version = "0.4.1", default-features = false }
jsonrpsee = { version = "0.24.2", default-features = false }
lazy_static = { version = "1.4.0", default-features = false }
move-core-types = { git = "https://github.com/unionlabs/aptos-core" }
near-contract-standards = { version = "5.1.0", default-features = false }
near-sdk = { version = "5.1.0", default-features = false }
near-sdk-contract-tools = { version = "3.0.2", default-features = false }
num-bigint = { version = "0.4", default-features = false }
primitive-types = { version = "0.12.1", default-features = false }
prost = { version = "0.12.3", default-features = false }
reqwest = { version = "0.11.17", default-features = false }
ripemd = { version = "0.1.3", default-features = false }
rlp = { version = "0.5.2", default-features = false }
schemars = { version = "0.8.3", default-features = false }
serde = { version = "1.0.0", default-features = false }
serde-json-wasm = { version = "1.0.0", default-features = false }
serde_json = { version = "1.0.0", default-features = false, features = ["alloc"] } # serde-json requires one of "std" or "alloc"
serde_with = { version = "3.7.0", default-features = false, features = ["macros"] }
sha2 = { version = "0.10.7", default-features = false }
sha3 = { version = "0.10.8", default-features = false }
sqlx = { version = "0.7.2", default-features = false }
static_assertions = { git = "https://github.com/nvzqz/static-assertions" } # https://github.com/nvzqz/static-assertions/pull/28
subtle-encoding = { version = "0.5.1", default-features = false }
thiserror = { version = "1.0.0", default-features = false }
time = { version = "0.3.36", default-features = false } # Pinning to 0.3.36 here since they introduced a new trait in the minor version of semver..
tiny-keccak = { version = "2.0.2", default-features = false }
tokio = { version = "1.33.0", default-features = false }
tokio-stream = { version = "0.1.14", default-features = false }
toml = { version = "0.8.8", default-features = false }
tonic = { version = "0.10", default-features = false }
tracing = { version = "0.1.40", default-features = false }
tracing-subscriber = { version = "0.3", default-features = false, features = ["fmt", "ansi"] }
typenum = { version = "1.17.0", default-features = false }
[patch."crates-io"]
arbitrary = { git = "https://github.com/unionlabs/arbitrary" }
# parity-secp256k1 = { git = "https://github.com/paritytech/rust-secp256k1" }
# https://aptos.dev/en/build/sdks/rust-sdk
merlin = { git = "https://github.com/aptos-labs/merlin" }
x25519-dalek = { git = "https://github.com/aptos-labs/x25519-dalek", branch = "zeroize_v1" }