From 58406d805fb9ec4c666161d8a389d66926537ea8 Mon Sep 17 00:00:00 2001 From: Timo Glane Date: Thu, 6 Jun 2024 18:47:02 +0200 Subject: [PATCH] Activate tokio feature 'macros' to use 'tokio::select!' macro --- tokio-util/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index a33e9c9cff7..741f5867321 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -34,7 +34,7 @@ rt = ["tokio/rt", "tokio/sync", "futures-util", "hashbrown"] __docs_rs = ["futures-util"] [dependencies] -tokio = { version = "1.28.0", path = "../tokio", features = ["sync"] } +tokio = { version = "1.28.0", path = "../tokio", features = ["sync", "macros"] } bytes = "1.0.0" futures-core = "0.3.0" futures-sink = "0.3.0"