-
Notifications
You must be signed in to change notification settings - Fork 57
/
Copy pathCargo.toml
206 lines (177 loc) · 7.57 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
[workspace.package]
edition = "2021"
license = "MIT"
rust-version = "1.82"
authors = ["clabby", "refcell"]
homepage = "https://github.com/op-rs/kona"
repository = "https://github.com/op-rs/kona"
keywords = ["ethereum", "optimism", "crypto"]
categories = ["cryptography", "cryptography::cryptocurrencies"]
exclude = ["**/target"]
[workspace]
members = [
"bin/*",
"crates/proof/*",
"crates/protocol/*",
"crates/external/*",
"crates/providers/*",
"crates/utilities/*",
]
default-members = ["bin/host", "bin/client"]
# Explicitly set the resolver to version 2, which is the default for packages with edition >= 2021
# https://doc.rust-lang.org/edition-guide/rust-2021/default-cargo-resolver.html
resolver = "2"
[workspace.lints.rust]
missing-debug-implementations = "warn"
missing-docs = "warn"
unreachable-pub = "warn"
unused-must-use = "deny"
rust-2018-idioms = "deny"
unnameable-types = "warn"
[workspace.lints.rustdoc]
all = "warn"
[workspace.lints.clippy]
needless-return = "allow" # Temporary fix since this is breaking in nightly clippy
all = { level = "warn", priority = -1 }
missing-const-for-fn = "warn"
use-self = "warn"
option-if-let-else = "warn"
redundant-clone = "warn"
[profile.dev]
opt-level = 1
overflow-checks = false
[profile.bench]
debug = true
[profile.dev-client]
inherits = "dev"
panic = "abort"
[profile.release-client-lto]
inherits = "release"
panic = "abort"
codegen-units = 1
lto = "fat"
[workspace.dependencies]
# Workspace Binaries
kona-host = { path = "bin/host", version = "0.1.0", default-features = false }
kona-client = { path = "bin/client", version = "0.1.0", default-features = false }
# Workspace Protocol
kona-derive = { path = "crates/protocol/derive", version = "0.2.3", default-features = false }
kona-hardforks = { path = "crates/protocol/hardforks", version = "0.1.0", default-features = false }
kona-protocol = { path = "crates/protocol/protocol", version = "0.1.0", default-features = false }
kona-genesis = { path = "crates/protocol/genesis", version = "0.1.0", default-features = false }
kona-registry = { path = "crates/protocol/registry", version = "0.1.0", default-features = false }
kona-driver = { path = "crates/protocol/driver", version = "0.2.3", default-features = false }
kona-interop = { path = "crates/protocol/interop", version = "0.1.2", default-features = false }
# External
kona-net = { path = "crates/external/net", version = "0.1.0", default-features = false }
kona-rpc = { path = "crates/external/rpc", version = "0.1.0", default-features = false }
# Providers
kona-providers-local = { path = "crates/providers/providers-local", version = "0.1.0", default-features = false }
kona-providers-alloy = { path = "crates/providers/providers-alloy", version = "0.1.0", default-features = false }
# Proof
kona-mpt = { path = "crates/proof/mpt", version = "0.1.2", default-features = false }
kona-proof = { path = "crates/proof/proof", version = "0.2.3", default-features = false }
kona-executor = { path = "crates/proof/executor", version = "0.2.3", default-features = false }
kona-std-fpvm = { path = "crates/proof/std-fpvm", version = "0.1.2", default-features = false }
kona-preimage = { path = "crates/proof/preimage", version = "0.2.1", default-features = false }
kona-std-fpvm-proc = { path = "crates/proof/std-fpvm-proc", version = "0.1.2", default-features = false }
kona-proof-interop = { path = "crates/proof/proof-interop", version = "0.1.1", default-features = false }
# Workspace Utilities
kona-cli = { path = "crates/utilities/cli", version = "0.1.0", default-features = false }
kona-serde = { path = "crates/utilities/serde", version = "0.1.0", default-features = false }
# Maili Shadow Crates
maili-rpc = { path = "crates/protocol/rpc/maili", version = "0.2.8", default-features = false }
maili-serde = { path = "crates/utilities/serde/maili", version = "0.2.8", default-features = false }
maili-registry = { path = "crates/protocol/registry/maili", version = "0.2.8", default-features = false }
maili-genesis = { path = "crates/protocol/genesis/maili", version = "0.2.8", default-features = false }
maili-protocol = { path = "crates/protocol/protocol/maili", version = "0.2.8", default-features = false }
maili-interop = { path = "crates/protocol/interop/maili", version = "0.2.8", default-features = false }
# Alloy
alloy-rlp = { version = "0.3.11", default-features = false }
alloy-trie = { version = "0.7.9", default-features = false }
alloy-eips = { version = "0.11.1", default-features = false }
alloy-serde = { version = "0.11.1", default-features = false }
alloy-provider = { version = "0.11.1", default-features = false }
alloy-sol-types = { version = "0.8.20", default-features = false }
alloy-consensus = { version = "0.11.1", default-features = false }
alloy-transport = { version = "0.11.1", default-features = false }
alloy-rpc-types = { version = "0.11.1", default-features = false }
alloy-rpc-client = { version = "0.11.1", default-features = false }
alloy-primitives = { version = "0.8.21", default-features = false }
alloy-node-bindings = { version = "0.11.1", default-features = false }
alloy-transport-http = { version = "0.11.1", default-features = false }
alloy-rpc-types-engine = { version = "0.11.1", default-features = false }
alloy-rpc-types-beacon = { version = "0.11.1", default-features = false }
# OP Alloy
op-alloy-flz = { version = "0.10.5", default-features = false }
op-alloy-network = { version = "0.10.5", default-features = false }
op-alloy-consensus = { version = "0.10.5", default-features = false }
op-alloy-rpc-jsonrpsee = { version = "0.10.5", default-features = false }
op-alloy-rpc-types-engine = { version = "0.10.5", default-features = false }
# Reth
reth-provider = { git = "https://github.com/paradigmxyz/reth", tag = "v1.1.0", default-features = false }
reth-primitives = { git = "https://github.com/paradigmxyz/reth", tag = "v1.1.0", default-features = false }
# General
lru = "0.13.0"
spin = "0.9.8"
clap = "4.5.29"
tokio = "1.43.0"
cfg-if = "1.0.0"
rstest = "0.24.0"
futures = "0.3.31"
reqwest = "0.12.12"
tempfile = "3.16.0"
arbitrary = "1.4.1"
parking_lot = "0.12.3"
async-trait = "0.1.86"
async-channel = "2.3.1"
linked_list_allocator = "0.10.5"
# Compression
miniz_oxide = "0.8.3"
alloc-no-stdlib = "2.0.4"
brotli = { version = "7.0.0", default-features = false }
getrandom = "0.2.15"
# rpc
jsonrpsee = { version = "0.24.8", features = [
"jsonrpsee-core",
"client-core",
"server-core",
"macros",
] }
jsonrpsee-core = "0.24.8"
jsonrpsee-types = "0.24.8"
# General
rand = { version = "0.9.0", default-features = false }
sha2 = { version = "0.10.8", default-features = false }
c-kzg = { version = "2.0.0", default-features = false }
anyhow = { version = "1.0.95", default-features = false }
thiserror = { version = "2.0.11", default-features = false }
derive_more = { version = "2.0.1", default-features = false }
lazy_static = { version = "1.5.0", default-features = false }
# Networking
snap = "1.1.1"
discv5 = "0.9.1"
libp2p = "0.54.1"
openssl = "0.10.70"
libp2p-identity = "0.2.10"
# Tracing
tracing-loki = "0.2.6"
tracing-subscriber = "0.3.19"
tracing = { version = "0.1.41", default-features = false }
metrics-exporter-prometheus = { version = "0.16.0", default-features = false }
# Testing
pprof = "0.14.0"
arbtest = "0.3.2"
proptest = "1.6.0"
criterion = "0.5.1"
# Serialization
rkyv = "0.8.10"
serde_repr = "0.1.19"
serde = { version = "1.0.217", default-features = false }
toml = { version = "0.8.19", default-features = false }
serde_json = { version = "1.0.138", default-features = false }
# Ethereum
unsigned-varint = "0.8.0"
revm = { version = "19.5.0", default-features = false }
# K/V database
rocksdb = { version = "0.22.0", default-features = false }