From a3e22d9ef29678a14920d5cc8fe689f70f3202a8 Mon Sep 17 00:00:00 2001 From: John Nunley Date: Mon, 1 Jan 2024 10:47:50 -0800 Subject: [PATCH] CI check 2 Signed-off-by: John Nunley --- axum/Cargo.toml | 2 +- axum/src/extract/ws.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 8f2dbe5033f..7f740daa5ee 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -117,6 +117,7 @@ rustversion = "1.0.9" [dev-dependencies] anyhow = "1.0" axum-macros = { path = "../axum-macros", version = "0.4.0", features = ["__private"] } +futures-util = "0.3" quickcheck = "1.0" quickcheck_macros = "1.0" reqwest = { version = "0.11.14", default-features = false, features = ["json", "stream", "multipart"] } @@ -198,7 +199,6 @@ allowed = [ # not 1.0 "futures_core", "futures_sink", - "futures_util", "tower_layer", "tower_service", diff --git a/axum/src/extract/ws.rs b/axum/src/extract/ws.rs index 98cccd63211..728c6069a5f 100644 --- a/axum/src/extract/ws.rs +++ b/axum/src/extract/ws.rs @@ -160,7 +160,7 @@ impl WebSocketUpgrade { /// It is often more optimal to allow them to buffer a little, hence the default value. /// /// Note: [`flush`] will always fully write the buffer regardless. - /// + /// /// [`flush`]: https://docs.rs/futures-util/latest/futures_util/sink/trait.SinkExt.html#method.flush pub fn write_buffer_size(mut self, size: usize) -> Self { self.config.write_buffer_size = size;