From ebe3ef5e7903066ca98f7cfa8a19e15ee444bb72 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Sat, 6 Jul 2024 09:13:11 +0200 Subject: [PATCH] chore(deps): trim tokio features in eth-wire (#9343) --- crates/net/downloaders/Cargo.toml | 2 +- crates/net/eth-wire/Cargo.toml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/crates/net/downloaders/Cargo.toml b/crates/net/downloaders/Cargo.toml index 4f009b445..6f8e2a309 100644 --- a/crates/net/downloaders/Cargo.toml +++ b/crates/net/downloaders/Cargo.toml @@ -33,7 +33,7 @@ alloy-rlp.workspace = true futures.workspace = true futures-util.workspace = true pin-project.workspace = true -tokio = { workspace = true, features = ["sync"] } +tokio = { workspace = true, features = ["sync", "fs"] } tokio-stream.workspace = true tokio-util = { workspace = true, features = ["codec"] } diff --git a/crates/net/eth-wire/Cargo.toml b/crates/net/eth-wire/Cargo.toml index 120512af1..31ea291c4 100644 --- a/crates/net/eth-wire/Cargo.toml +++ b/crates/net/eth-wire/Cargo.toml @@ -29,7 +29,7 @@ bytes.workspace = true derive_more.workspace = true thiserror.workspace = true serde = { workspace = true, optional = true } -tokio = { workspace = true, features = ["full"] } +tokio = { workspace = true, features = ["net", "sync", "time"] } tokio-util = { workspace = true, features = ["io", "codec"] } futures.workspace = true tokio-stream.workspace = true @@ -45,6 +45,7 @@ reth-primitives = { workspace = true, features = ["arbitrary"] } reth-tracing.workspace = true test-fuzz.workspace = true +tokio = { workspace = true, features = ["rt", "rt-multi-thread"] } tokio-util = { workspace = true, features = ["io", "codec"] } rand.workspace = true secp256k1 = { workspace = true, features = [