diff --git a/Cargo.lock b/Cargo.lock index 114e99007c..2371578938 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4357,7 +4357,6 @@ dependencies = [ "futures", "human_bytes", "jsonrpsee", - "metrics", "metrics-exporter-prometheus", "metrics-util", "proptest", @@ -4365,8 +4364,6 @@ dependencies = [ "reth-db", "reth-discv4", "reth-downloaders", - "reth-eth-wire", - "reth-executor", "reth-interfaces", "reth-net-nat", "reth-network", @@ -4386,12 +4383,9 @@ dependencies = [ "serde_json", "shellexpand", "tempfile", - "thiserror", "tokio", - "tokio-stream", "tracing", "tui", - "walkdir", ] [[package]] diff --git a/bin/reth/Cargo.toml b/bin/reth/Cargo.toml index fea91f9e8b..947ef36a6b 100644 --- a/bin/reth/Cargo.toml +++ b/bin/reth/Cargo.toml @@ -17,8 +17,6 @@ reth-stages = { path = "../../crates/stages"} reth-interfaces = { path = "../../crates/interfaces", features = ["test-utils"] } reth-transaction-pool = { path = "../../crates/transaction-pool", features = ["test-utils"] } reth-consensus = { path = "../../crates/consensus" } -reth-executor = { path = "../../crates/executor" } -reth-eth-wire = { path = "../../crates/net/eth-wire" } reth-rpc-engine-api = { path = "../../crates/rpc/rpc-engine-api" } reth-rpc-builder = { path = "../../crates/rpc/rpc-builder" } reth-rpc = { path = "../../crates/rpc/rpc" } @@ -36,7 +34,6 @@ tracing = "0.1" # io fdlimit = "0.2.1" -walkdir = "2.3" serde = "1.0" serde_json = "1.0" shellexpand = "3.0.0" @@ -44,7 +41,6 @@ dirs-next = "2.0.0" confy = "0.5" # rpc/metrics -metrics = "0.20.1" metrics-exporter-prometheus = { version = "0.11.0", features = ["http-listener"] } metrics-util = "0.14.0" @@ -54,9 +50,7 @@ proptest = "1.0" # misc eyre = "0.6.8" clap = { version = "4.0", features = ["derive", "cargo"] } -thiserror = "1.0" tokio = { version = "1.21", features = ["sync", "macros", "rt-multi-thread"] } -tokio-stream = "0.1" futures = "0.3.25" tempfile = { version = "3.3.0" } backon = "0.4" diff --git a/bin/reth/src/lib.rs b/bin/reth/src/lib.rs index d22105b050..36ebcf6324 100644 --- a/bin/reth/src/lib.rs +++ b/bin/reth/src/lib.rs @@ -1,4 +1,4 @@ -#![warn(missing_docs, unreachable_pub)] +#![warn(missing_docs, unreachable_pub, unused_crate_dependencies)] #![deny(unused_must_use, rust_2018_idioms)] #![doc(test( no_crate_inject,