From 7eee934487c8752958063b4ba9c24fb536339541 Mon Sep 17 00:00:00 2001 From: Hugo Ma Date: Mon, 18 May 2026 23:33:17 +0800 Subject: [PATCH] fix(examples): add missing `sink` feature for futures-channel in `example-testing-websockets` (#3773) Co-authored-by: Hugo Ma --- examples/testing-websockets/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/testing-websockets/Cargo.toml b/examples/testing-websockets/Cargo.toml index 27981188..2a8cfa21 100644 --- a/examples/testing-websockets/Cargo.toml +++ b/examples/testing-websockets/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] axum = { path = "../../axum", features = ["ws"] } -futures-channel = "0.3" +futures-channel = { version = "0.3", features = ["sink"] } futures-util = { version = "0.3", default-features = false, features = ["sink", "std"] } tokio = { version = "1.0", features = ["full"] } tokio-tungstenite = "0.29"