-
Notifications
You must be signed in to change notification settings - Fork 41
/
Cargo.toml
134 lines (114 loc) · 4.35 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
[workspace.package]
edition = "2021"
license = "MIT"
rust-version = "1.81"
authors = ["clabby", "refcell"]
homepage = "https://github.com/anton-rs/kona"
repository = "https://github.com/anton-rs/kona"
keywords = ["ethereum", "optimism", "crypto"]
categories = ["cryptography", "cryptography::cryptocurrencies"]
exclude = ["**/target"]
[workspace]
members = ["crates/*", "bin/*"]
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
kona-mpt = { path = "crates/mpt", version = "0.0.5", default-features = false }
kona-client = { path = "bin/client", version = "0.1.0", default-features = false }
kona-common = { path = "crates/common", version = "0.0.4", default-features = false }
kona-derive = { path = "crates/derive", version = "0.0.5", default-features = false }
kona-preimage = { path = "crates/preimage", version = "0.0.4", default-features = false }
kona-executor = { path = "crates/executor", version = "0.0.4", default-features = false }
kona-common-proc = { path = "crates/common-proc", version = "0.0.4", default-features = false }
kona-derive-alloy = { path = "crates/derive-alloy", version = "0.0.2", default-features = false }
# Alloy
alloy-rlp = { version = "0.3.9", default-features = false }
alloy-trie = { version = "0.7.2", default-features = false }
alloy-eips = { version = "0.5.4", default-features = false }
alloy-serde = { version = "0.5.4", default-features = false }
alloy-provider = { version = "0.5.4", default-features = false }
alloy-primitives = { version = "0.8", default-features = false }
alloy-consensus = { version = "0.5.4", default-features = false }
alloy-transport = { version = "0.5.4", default-features = false }
alloy-rpc-types = { version = "0.5.4", default-features = false }
alloy-rpc-client = { version = "0.5.4", default-features = false }
alloy-node-bindings = { version = "0.5.4", default-features = false }
alloy-transport-http = { version = "0.5.4", default-features = false }
alloy-rpc-types-engine = { version = "0.5.4", default-features = false }
alloy-rpc-types-beacon = { version = "0.5.4", default-features = false }
# OP Alloy
op-alloy-genesis = { version = "0.5.2", default-features = false }
op-alloy-protocol = { version = "0.5.2", default-features = false }
op-alloy-consensus = { version = "0.5.2", default-features = false }
op-alloy-rpc-types-engine = { version = "0.5.2", default-features = false }
# General
lru = "0.12.4"
spin = "0.9.8"
rand = "0.8.5"
clap = "4.5.19"
tokio = "1.40.0"
cfg-if = "1.0.0"
os_pipe = "1.2.1"
reqwest = "0.12.8"
command-fds = "0.3.0"
async-trait = "0.1.83"
alloc-no-stdlib = "2.0.4"
linked_list_allocator = "0.10.5"
# General
sha2 = { version = "0.10.8", default-features = false }
c-kzg = { version = "1.0.3", default-features = false }
anyhow = { version = "1.0.89", default-features = false }
futures = { version = "0.3.30", default-features = false }
derive_more = { version = "1.0.0", default-features = false }
# Tracing
tracing-loki = "0.2.5"
tracing-subscriber = "0.3.18"
tracing = { version = "0.1.40", default-features = false }
# Encoding
miniz_oxide = "0.8.0"
brotli = { version = "7.0.0", default-features = false }
# Testing
pprof = "0.13.0"
proptest = "1.5"
criterion = "0.5.1"
# Serialization
rkyv = "0.8.8"
serde = { version = "1.0.213", default-features = false }
serde_json = { version = "1.0.132", default-features = false }
# Ethereum
unsigned-varint = "0.8.0"
revm = { version = "16.0.0", default-features = false }
# K/V database
rocksdb = { version = "0.22", default-features = false }