From 3eae861ae0411eda1b7c26120d30078845e13020 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sun, 29 Oct 2023 12:40:04 +0100 Subject: [PATCH] chore: remove unused deps (#5217) --- Cargo.lock | 7 ------- crates/config/Cargo.toml | 3 +-- crates/interfaces/Cargo.toml | 2 -- crates/primitives/Cargo.toml | 1 - crates/storage/nippy-jar/Cargo.toml | 5 +---- 5 files changed, 2 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7f56e9d33..05c28fd0d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -5812,7 +5812,6 @@ dependencies = [ "reth-net-nat", "reth-network", "reth-primitives", - "reth-stages", "secp256k1 0.27.0", "serde", "serde_json", @@ -6021,7 +6020,6 @@ dependencies = [ "clap", "futures", "modular-bitfield", - "parity-scale-codec", "parking_lot 0.12.1", "rand 0.8.5", "reth-codecs", @@ -6031,7 +6029,6 @@ dependencies = [ "reth-nippy-jar", "reth-primitives", "reth-rpc-types", - "reth-rpc-types-compat", "revm-primitives", "secp256k1 0.27.0", "thiserror", @@ -6206,10 +6203,8 @@ version = "0.1.0-alpha.10" dependencies = [ "anyhow", "bincode", - "bytes", "cuckoofilter", "derive_more", - "hex", "lz4_flex", "memmap2 0.7.1", "ph", @@ -6219,7 +6214,6 @@ dependencies = [ "tempfile", "thiserror", "tracing", - "tracing-appender", "zstd 0.12.4", ] @@ -6251,7 +6245,6 @@ version = "0.1.0-alpha.10" dependencies = [ "alloy-primitives", "alloy-rlp", - "alloy-sol-types", "arbitrary", "assert_matches", "byteorder", diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index e4de7d7c5..80d9a464b 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -13,7 +13,6 @@ reth-network = { path = "../net/network" } reth-net-nat = { path = "../net/nat" } reth-discv4 = { path = "../net/discv4" } reth-downloaders = { path = "../net/downloaders" } -reth-stages = { path = "../../crates/stages" } reth-primitives = { path = "../primitives" } # io @@ -24,8 +23,8 @@ serde_json.workspace = true secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } # misc -confy.workspace = true tempfile.workspace = true [dev-dependencies] +confy.workspace = true toml.workspace = true \ No newline at end of file diff --git a/crates/interfaces/Cargo.toml b/crates/interfaces/Cargo.toml index 2c767d3c9..1af41c74f 100644 --- a/crates/interfaces/Cargo.toml +++ b/crates/interfaces/Cargo.toml @@ -12,14 +12,12 @@ reth-codecs = { path = "../storage/codecs" } reth-nippy-jar = { path = "../storage/nippy-jar" } reth-primitives.workspace = true reth-rpc-types.workspace = true -reth-rpc-types-compat.workspace = true reth-network-api.workspace = true # TODO(onbjerg): We only need this for [BlockBody] reth-eth-wire = { path = "../net/eth-wire" } # eth revm-primitives.workspace = true -parity-scale-codec = { version = "3.2.1", features = ["bytes"] } # async async-trait.workspace = true diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index 0e0e82d08..1492a3a12 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -17,7 +17,6 @@ revm-primitives = { workspace = true, features = ["serde"] } # ethereum alloy-primitives = { workspace = true, features = ["rand", "rlp"] } alloy-rlp = { workspace = true, features = ["arrayvec"] } -alloy-sol-types.workspace = true ethers-core = { workspace = true, default-features = false, optional = true } # crypto diff --git a/crates/storage/nippy-jar/Cargo.toml b/crates/storage/nippy-jar/Cargo.toml index 4a2fc967b..10926c3d8 100644 --- a/crates/storage/nippy-jar/Cargo.toml +++ b/crates/storage/nippy-jar/Cargo.toml @@ -27,17 +27,14 @@ sucds = "~0.8" memmap2 = "0.7.1" bincode = "1.3" serde = { version = "1.0", features = ["derive"] } -bytes.workspace = true -tempfile.workspace = true tracing = "0.1.0" -tracing-appender = "0.2" anyhow = "1.0" thiserror.workspace = true -hex = "*" derive_more = "0.99" [dev-dependencies] rand = { version = "0.8", features = ["small_rng"] } +tempfile.workspace = true [features]