From 8665ca9e394f6bb09ba5d4a5cf7679bd61c5b2e3 Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Wed, 7 Aug 2024 23:45:54 +0200 Subject: [PATCH 1/2] deps: rm unused deps --- Cargo.lock | 6 ------ crates/payload/builder/Cargo.toml | 3 --- crates/primitives/Cargo.toml | 1 - crates/rpc/rpc-types/Cargo.toml | 3 --- crates/rpc/rpc/Cargo.toml | 1 - crates/storage/db/Cargo.toml | 1 - 6 files changed, 15 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 9ec4fe759e1e..e4bf014ac216 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8040,7 +8040,6 @@ dependencies = [ "reth-provider", "reth-rpc-types", "reth-transaction-pool", - "revm", "thiserror", "tokio", "tokio-stream", @@ -8108,7 +8107,6 @@ dependencies = [ "tempfile", "test-fuzz", "thiserror", - "toml", "zstd", ] @@ -8296,7 +8294,6 @@ dependencies = [ "secp256k1", "serde", "serde_json", - "tempfile", "thiserror", "tokio", "tokio-stream", @@ -8528,11 +8525,8 @@ dependencies = [ "alloy-rpc-types-txpool", "alloy-serde", "arbitrary", - "bytes", "jsonrpsee-types", - "proptest", "rand 0.8.5", - "serde_json", ] [[package]] diff --git a/crates/payload/builder/Cargo.toml b/crates/payload/builder/Cargo.toml index d551b4838f97..5d1d830824ec 100644 --- a/crates/payload/builder/Cargo.toml +++ b/crates/payload/builder/Cargo.toml @@ -35,8 +35,5 @@ metrics.workspace = true thiserror.workspace = true tracing.workspace = true -[dev-dependencies] -revm.workspace = true - [features] test-utils = [] \ No newline at end of file diff --git a/crates/primitives/Cargo.toml b/crates/primitives/Cargo.toml index cf775feb67f0..a73c663291c0 100644 --- a/crates/primitives/Cargo.toml +++ b/crates/primitives/Cargo.toml @@ -68,7 +68,6 @@ proptest-arbitrary-interop.workspace = true rand.workspace = true serde_json.workspace = true test-fuzz.workspace = true -toml.workspace = true modular-bitfield.workspace = true diff --git a/crates/rpc/rpc-types/Cargo.toml b/crates/rpc/rpc-types/Cargo.toml index 41f94d52d613..6c6dd91c5b4b 100644 --- a/crates/rpc/rpc-types/Cargo.toml +++ b/crates/rpc/rpc-types/Cargo.toml @@ -32,10 +32,7 @@ jsonrpsee-types = { workspace = true, optional = true } # misc alloy-primitives = { workspace = true, features = ["rand", "rlp", "serde", "arbitrary"] } arbitrary = { workspace = true, features = ["derive"] } -proptest.workspace = true rand.workspace = true -bytes.workspace = true -serde_json.workspace = true [features] default = ["jsonrpsee-types"] diff --git a/crates/rpc/rpc/Cargo.toml b/crates/rpc/rpc/Cargo.toml index a2373df270ba..68df91e0bca7 100644 --- a/crates/rpc/rpc/Cargo.toml +++ b/crates/rpc/rpc/Cargo.toml @@ -83,7 +83,6 @@ reth-provider = { workspace = true, features = ["test-utils"] } jsonrpsee-types.workspace = true jsonrpsee = { workspace = true, features = ["client"] } assert_matches.workspace = true -tempfile.workspace = true [features] optimism = [ diff --git a/crates/storage/db/Cargo.toml b/crates/storage/db/Cargo.toml index 619942f38ae1..69bc7fabcca4 100644 --- a/crates/storage/db/Cargo.toml +++ b/crates/storage/db/Cargo.toml @@ -57,7 +57,6 @@ reth-primitives = { workspace = true, features = ["arbitrary"] } rand.workspace = true serde_json.workspace = true -tempfile.workspace = true test-fuzz.workspace = true pprof = { workspace = true, features = [ From 450b22d69a4087a19913c1932f6c00dcc82b44be Mon Sep 17 00:00:00 2001 From: Thomas Coratger Date: Wed, 7 Aug 2024 23:51:55 +0200 Subject: [PATCH 2/2] fix clippy --- Cargo.lock | 1 + crates/payload/builder/Cargo.toml | 3 +++ 2 files changed, 4 insertions(+) diff --git a/Cargo.lock b/Cargo.lock index e4bf014ac216..a83be68e58de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -8040,6 +8040,7 @@ dependencies = [ "reth-provider", "reth-rpc-types", "reth-transaction-pool", + "revm", "thiserror", "tokio", "tokio-stream", diff --git a/crates/payload/builder/Cargo.toml b/crates/payload/builder/Cargo.toml index 5d1d830824ec..d551b4838f97 100644 --- a/crates/payload/builder/Cargo.toml +++ b/crates/payload/builder/Cargo.toml @@ -35,5 +35,8 @@ metrics.workspace = true thiserror.workspace = true tracing.workspace = true +[dev-dependencies] +revm.workspace = true + [features] test-utils = [] \ No newline at end of file