-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
205 lines (188 loc) · 12.2 KB
/
Cargo.toml
File metadata and controls
205 lines (188 loc) · 12.2 KB
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
[workspace]
members = [
"bin/host",
"bin/eth-proofs",
"crates/executor/guest",
"crates/executor/host",
"crates/mpt",
"crates/primitives",
"crates/provider",
"crates/storage/rpc-db",
"crates/storage/witness-db",
]
exclude = []
resolver = "2"
[workspace.package]
edition = "2021"
exclude = ["**/target"]
version = "0.1.0"
[workspace.dependencies]
tracing = { version = "0.1.40", default-features = false }
cfg-if = "1.0.0"
spin = { version = "0.9.8", features = ["mutex"] }
async-trait = "0.1.80"
tokio = { version = "1.21", default-features = false, features = [
"rt",
"rt-multi-thread",
] }
reqwest = "0.12.9"
serde_json = "1.0.94"
serde = { version = "1.0", default-features = false, features = ["derive"] }
futures = "0.3"
url = "2.3"
thiserror = "1.0.61"
hex-literal = "0.4.1"
rayon = "1.10.0"
rlp = "0.5.2"
# workspace
rpc-db = { path = "./crates/storage/rpc-db" }
witness-db = { path = "./crates/storage/witness-db" }
guest-executor = { path = "./crates/executor/guest" }
host-executor = { path = "./crates/executor/host" }
mpt = { path = "./crates/mpt" }
primitives = { path = "./crates/primitives" }
provider = { path = "./crates/provider" }
# Ziren
zkm-build = { git = "https://github.com/ProjectZKM/Ziren" }
zkm-core-executor = { git = "https://github.com/ProjectZKM/Ziren" }
zkm-prover = { git = "https://github.com/ProjectZKM/Ziren" }
zkm-sdk = { git = "https://github.com/ProjectZKM/Ziren" }
# zkm-build = { path = "../Ziren/crates/build" }
# zkm-core-executor = { path = "../Ziren/crates/core/executor" }
# zkm-prover = { path = "../Ziren/crates/prover" }
# zkm-sdk = { path = "../Ziren/crates/sdk" }
# reth
reth-primitives-traits = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-consensus = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-consensus-common = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-evm = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-evm-ethereum = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-optimism-evm = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-optimism-primitives = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-storage-errors = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-trie = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-chainspec = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-optimism-chainspec = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-execution-types = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-errors = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-ethereum-consensus = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-ethereum-primitives = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false, features = ["serde"] }
reth-optimism-consensus = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
reth-optimism-forks = { git = "https://github.com/ziren-patches/reth", branch = "patch-1.9.3", default-features = false }
# reth-primitives-traits = { path = "../patch/reth/crates/primitives-traits", default-features = false }
# reth-consensus = { path = "../patch/reth/crates/consensus/consensus", default-features = false }
# reth-consensus-common = { path = "../patch/reth/crates/consensus/common", default-features = false }
# reth-evm = { path = "../patch/reth/crates/evm/evm", default-features = false }
# reth-evm-ethereum = { path = "../patch/reth/crates/ethereum/evm", default-features = false }
# reth-optimism-evm = { path = "../patch/reth/crates/optimism/evm", default-features = false }
# reth-optimism-primitives = { path = "../patch/reth/crates/optimism/primitives", default-features = false }
# reth-storage-errors = { path = "../patch/reth/crates/storage/errors", default-features = false }
# reth-trie = { path = "../patch/reth/crates/trie/trie", default-features = false }
# reth-chainspec = { path = "../patch/reth/crates/chainspec", default-features = false }
# reth-optimism-chainspec = { path = "../patch/reth/crates/optimism/chainspec", default-features = false }
# reth-execution-types = { path = "../patch/reth/crates/evm/execution-types", default-features = false }
# reth-errors = { path = "../patch/reth/crates/errors", default-features = false }
# reth-ethereum-consensus = { path = "../patch/reth/crates/ethereum/consensus", default-features = false }
# reth-ethereum-primitives = { path = "../patch/reth/crates/ethereum/primitives", default-features = false, features = ["serde"] }
# reth-optimism-consensus = { path = "../patch/reth/crates/optimism/consensus", default-features = false }
# reth-optimism-forks = { path = "../patch/reth/crates/optimism/hardforks", default-features = false }
# revm
revm = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", features = [
"serde",
"bn",
], default-features = false }
revm-bytecode = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false }
revm-state = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false }
revm-primitives = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", features = [
"serde",
], default-features = false }
revm-interpreter = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false }
revm-precompile = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false }
revm-database = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false }
revm-database-interface = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false }
op-revm = { git = "https://github.com/ziren-patches/revm", branch = "patch-31.0.2", default-features = false }
revm-inspectors = { git = "https://github.com/ziren-patches/revm-inspectors", branch = "patch-0.32.0" }
# revm = { path = "../patch/revm/crates/revm", features = [
# "serde",
# "bn",
# ], default-features = false }
# revm-bytecode = { path = "../patch/revm/crates/bytecode", default-features = false }
# revm-state = { path = "../patch/revm/crates/state", default-features = false }
# revm-primitives = { path = "../patch/revm/crates/primitives", features = [
# "serde",
# ], default-features = false }
# revm-interpreter = { path = "../patch/revm/crates/interpreter", default-features = false }
# revm-precompile = { path = "../patch/revm/crates/precompile", default-features = false }
# revm-database = { path = "../patch/revm/crates/database", default-features = false }
# revm-database-interface = { path = "../patch/revm/crates/database/interface", default-features = false }
# op-revm = { path = "../patch/revm/crates/optimism", default-features = false }
# revm-inspectors = { path = "../patch/revm-inspectors" }
# alloy
alloy-chains = { version = "0.2.0", default-features = false }
alloy-primitives = { version = "1.0.0", default-features = false, features = ["sha3-keccak", "map-foldhash"] }
alloy-rlp = "0.3.10"
alloy-trie = "0.8.1"
# alloy
alloy-evm = { git = "https://github.com/ziren-patches/evm", branch = "patch-0.23.0", default-features = false }
alloy-provider = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false, features = [
"reqwest",
"reqwest-rustls-tls",
] }
alloy-rpc-types = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false, features = [
"eth",
] }
alloy-rpc-types-debug = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false }
alloy-json-rpc = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false }
alloy-genesis = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false }
alloy-consensus = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false, features = ["serde", "serde-bincode-compat"] }
alloy-network = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false }
alloy-transport = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false }
alloy-transport-http = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", features = [
"reqwest-rustls-tls",
], default-features = false }
alloy-transport-ws = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41" }
alloy-rpc-client = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false }
alloy-eips = { git = "https://github.com/ziren-patches/alloy", branch = "patch-1.0.41", default-features = false }
# alloy-evm = { path = "../patch/evm/crates/evm", default-features = false }
# alloy-provider = { path = "../patch/alloy/crates/provider", default-features = false, features = [
# "reqwest",
# "reqwest-rustls-tls",
# ] }
# alloy-rpc-types = { path = "../patch/alloy/crates/rpc-types", default-features = false, features = [
# "eth",
# ] }
# alloy-rpc-types-debug = { path = "../patch/alloy/crates/rpc-types-debug", default-features = false}
# alloy-json-rpc = { path = "../patch/alloy/crates/json-rpc", default-features = false }
# alloy-genesis = { path = "../patch/alloy/crates/genesis", default-features = false }
# alloy-consensus = { path = "../patch/alloy/crates/consensus", default-features = false, features = ["serde", "serde-bincode-compat"] }
# alloy-network = { path = "../patch/alloy/crates/network", default-features = false }
# alloy-transport = { path = "../patch/alloy/crates/transport", default-features = false }
# alloy-transport-http = { path = "../patch/alloy/crates/transport-http", features = [
# "reqwest-rustls-tls",
# ], default-features = false }
# alloy-transport-ws = { path = "../patch/alloy/crates/transport-ws" }
# alloy-rpc-client = { path = "../patch/alloy/crates/rpc-client", default-features = false }
# alloy-eips = { path = "../patch/alloy/crates/eips", default-features = false }
# op goat
alloy-op-evm = { git = "https://github.com/ziren-patches/evm", branch = "patch-0.23.0", default-features = false }
op-alloy-consensus = { git = "https://github.com/ziren-patches/op-alloy", branch = "patch-0.22.0" }
op-alloy-network = { git = "https://github.com/ziren-patches/op-alloy", branch = "patch-0.22.0" }
op-alloy-rpc-types = { git = "https://github.com/ziren-patches/op-alloy", branch = "patch-0.22.0" }
# alloy-op-evm = { path = "../patch/evm/crates/evm", default-features = false }
# op-alloy-consensus = { path = "../patch/op-alloy/crates/consensus" }
# op-alloy-network = { path = "../patch/op-alloy/crates/network" }
# op-alloy-rpc-types = { path = "../patch/op-alloy/crates/rpc-types" }
kzg-rs = { git = "https://github.com/ziren-patches/kzg-rs", branch = "ziren" }
[workspace.lints]
rust.missing_debug_implementations = "warn"
rust.unreachable_pub = "warn"
rust.unused_must_use = "deny"
rust.rust_2018_idioms = { level = "deny", priority = -1 }
rustdoc.all = "warn"
[patch.crates-io]
# Precompile patches
sha2 = { git = "https://github.com/ziren-patches/RustCrypto-hashes", branch = "patch-sha2-0.10.9", package = "sha2" }
bn = { git = "https://github.com/ziren-patches/bn", branch = "patch-0.6.0", package = "substrate-bn" }
k256 = { git = "https://github.com/ziren-patches/elliptic-curves", branch = "patch-k256-0.13.4" }
p256 = { git = "https://github.com/ziren-patches/elliptic-curves", branch = "patch-p256-0.13.2" }
alloy-primitives-v1-4-1 = { git = "https://github.com/ziren-patches/core.git", package = "alloy-primitives", branch = "patch-alloy-primitives-1.4.1" }