Skip to content

Commit ddc8b45

Browse files
feat(l1, l2): remove unused dependencies (#6421)
## Motivation Continuation of #6413. Used `cargo machete --with-metadata` and `cargo udeps` to check for unused deps, filtering out false positives manually. ## Description Cherry-picked from #6413 onto current main with merge conflicts resolved (guest program Cargo.lock files). ## Checklist - [ ] Updated `STORE_SCHEMA_VERSION` (crates/storage/lib.rs) if the PR includes breaking changes to the `Store` requiring a re-sync. --------- Co-authored-by: Kevaundray Wedderburn <kevtheappdev@gmail.com>
1 parent 1d03a43 commit ddc8b45

25 files changed

Lines changed: 11 additions & 3481 deletions

File tree

Cargo.lock

Lines changed: 0 additions & 243 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cmd/ethrex/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ hex.workspace = true
3737
tracing.workspace = true
3838
tracing-subscriber.workspace = true
3939
clap = { workspace = true, features = ["string"] }
40-
clap_complete.workspace = true
4140
eyre.workspace = true
4241
directories = "5.0.1"
4342
serde.workspace = true

crates/blockchain/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,12 @@ ethrex-metrics = { path = "./metrics", default-features = false }
2020
thiserror.workspace = true
2121
tracing.workspace = true
2222
bytes.workspace = true
23-
hex.workspace = true
2423
rustc-hash.workspace = true
2524
crossbeam.workspace = true
2625
tokio = { workspace = true, features = ["time", "rt", "sync", "macros"] }
2726
tokio-util.workspace = true
2827

2928
[dev-dependencies]
30-
serde_json.workspace = true
31-
hex = "0.4.3"
3229
tokio = { workspace = true, features = ["full"] }
3330

3431
[lib]

crates/common/Cargo.toml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,12 @@ ethrex-trie.workspace = true
1414
ethrex-crypto.workspace = true
1515

1616
tracing.workspace = true
17-
tinyvec = "1.6.0"
1817
ethereum-types.workspace = true
1918
serde.workspace = true
2019
serde_json.workspace = true
2120
thiserror.workspace = true
2221
sha2.workspace = true
2322
kzg-rs.workspace = true
24-
sha3.workspace = true
2523
once_cell = "1.20.2"
2624
libc = "0.2"
2725
crc32fast.workspace = true
@@ -31,12 +29,9 @@ hex-literal.workspace = true
3129
lazy_static.workspace = true
3230
lru.workspace = true
3331
rayon.workspace = true
34-
url.workspace = true
3532
rkyv.workspace = true
3633
rustc-hash.workspace = true
3734
indexmap.workspace = true
38-
k256.workspace = true
39-
4035
hex-simd = "0.8.0"
4136

4237
secp256k1 = { workspace = true, optional = true }
@@ -51,6 +46,9 @@ sp1 = []
5146
zisk = []
5247
openvm = ["ethrex-crypto/openvm"]
5348

49+
[dev-dependencies]
50+
k256.workspace = true
51+
5452
[lib]
5553
path = "./common.rs"
5654

crates/common/rlp/Cargo.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,8 @@ documentation.workspace = true
77
license.workspace = true
88

99
[dependencies]
10-
tinyvec = "1.6.0"
1110
thiserror.workspace = true
1211
bytes.workspace = true
13-
hex.workspace = true
14-
lazy_static.workspace = true
1512
ethereum-types.workspace = true
1613
snap.workspace = true
1714

crates/common/trie/Cargo.toml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@ ethrex-rlp.workspace = true
1313
ethereum-types.workspace = true
1414
anyhow = "1.0.86"
1515
bytes.workspace = true
16-
tracing.workspace = true
1716
thiserror.workspace = true
18-
hex.workspace = true
1917
serde.workspace = true
20-
serde_json = "1.0.117"
21-
smallvec = { version = "1.10.0", features = ["const_generics", "union"] }
22-
digest = "0.10.6"
2318
lazy_static.workspace = true
2419
crossbeam.workspace = true
2520
rayon.workspace = true

0 commit comments

Comments
 (0)