From 8382529f7a1794e0516fbe7fe623295bb4e34557 Mon Sep 17 00:00:00 2001 From: Oliver Nordbjerg Date: Mon, 22 Apr 2024 14:09:10 +0200 Subject: [PATCH] chore: pull async-stream into workspace deps (#7794) --- Cargo.toml | 1 + crates/net/eth-wire-types/Cargo.toml | 15 ++++++++++++--- crates/net/eth-wire/Cargo.toml | 15 ++++++++++++--- 3 files changed, 25 insertions(+), 6 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index cea64d994..1e016ab87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -342,6 +342,7 @@ tokio = { version = "1.21", default-features = false } tokio-util = { version = "0.7.4", features = ["codec"] } # async +async-stream = "0.3" async-trait = "0.1.68" futures = "0.3.26" pin-project = "1.0.12" diff --git a/crates/net/eth-wire-types/Cargo.toml b/crates/net/eth-wire-types/Cargo.toml index 7e9365d48..d68fbbd1f 100644 --- a/crates/net/eth-wire-types/Cargo.toml +++ b/crates/net/eth-wire-types/Cargo.toml @@ -35,15 +35,24 @@ reth-tracing.workspace = true test-fuzz.workspace = true tokio-util = { workspace = true, features = ["io", "codec"] } rand.workspace = true -secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } +secp256k1 = { workspace = true, features = [ + "global-context", + "rand-std", + "recovery", +] } arbitrary = { workspace = true, features = ["derive"] } proptest.workspace = true proptest-derive.workspace = true -async-stream = "0.3" +async-stream.workspace = true [features] default = ["serde"] serde = ["dep:serde"] -arbitrary = ["reth-primitives/arbitrary", "dep:arbitrary", "dep:proptest", "dep:proptest-derive"] +arbitrary = [ + "reth-primitives/arbitrary", + "dep:arbitrary", + "dep:proptest", + "dep:proptest-derive", +] optimism = ["reth-primitives/optimism"] diff --git a/crates/net/eth-wire/Cargo.toml b/crates/net/eth-wire/Cargo.toml index f5b157e73..cddc84cf9 100644 --- a/crates/net/eth-wire/Cargo.toml +++ b/crates/net/eth-wire/Cargo.toml @@ -49,17 +49,26 @@ reth-tracing.workspace = true test-fuzz.workspace = true tokio-util = { workspace = true, features = ["io", "codec"] } rand.workspace = true -secp256k1 = { workspace = true, features = ["global-context", "rand-std", "recovery"] } +secp256k1 = { workspace = true, features = [ + "global-context", + "rand-std", + "recovery", +] } arbitrary = { workspace = true, features = ["derive"] } proptest.workspace = true proptest-derive.workspace = true -async-stream = "0.3" +async-stream.workspace = true [features] default = ["serde"] serde = ["dep:serde"] -arbitrary = ["reth-primitives/arbitrary", "dep:arbitrary", "dep:proptest", "dep:proptest-derive"] +arbitrary = [ + "reth-primitives/arbitrary", + "dep:arbitrary", + "dep:proptest", + "dep:proptest-derive", +] optimism = ["reth-primitives/optimism"] [[test]]