From 62470bd5039c4a32b4454d0ceafbbca77c0d4874 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 27 Mar 2025 11:12:26 +0100 Subject: [PATCH] Bring back no-op async-stream feature for axum-extra (#3293) --- axum-extra/CHANGELOG.md | 4 ---- axum-extra/Cargo.toml | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/axum-extra/CHANGELOG.md b/axum-extra/CHANGELOG.md index 8ecd8b9f..f69433c5 100644 --- a/axum-extra/CHANGELOG.md +++ b/axum-extra/CHANGELOG.md @@ -7,12 +7,8 @@ and this project adheres to [Semantic Versioning]. # Unreleased -- **breaking:** Remove unused `async-stream` feature, which was accidentally - introduced as an implicit feature through an optional dependency which was no - longer being used ([#3145]) - **fixed:** Fix a broken link in the documentation of `ErasedJson` ([#3186]) -[#3145]: https://github.com/tokio-rs/axum/pull/3145 [#3186]: https://github.com/tokio-rs/axum/pull/3186 # 0.11.0 diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 266be0fa..15ef717d 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -15,6 +15,7 @@ version = "0.11.0" default = ["tracing"] async-read-body = ["dep:tokio-util", "tokio-util?/io", "dep:tokio"] +async-stream = [] # unused, remove before the next breaking-change release file-stream = ["dep:tokio-util", "tokio-util?/io", "dep:tokio", "tokio?/fs", "tokio?/io-util"] attachment = ["dep:tracing"] error-response = ["dep:tracing", "tracing/std"]