From 5c76cfd26a99d38c4e63c84ef4f1981de0a37f79 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ml=C3=A1dek?= Date: Tue, 30 Sep 2025 11:53:30 +0200 Subject: [PATCH 1/3] Remove usage of the `doc_auto_cfg` feature (#3505) --- axum-extra/src/lib.rs | 2 +- axum/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/axum-extra/src/lib.rs b/axum-extra/src/lib.rs index 67d50137..ddf21d19 100644 --- a/axum-extra/src/lib.rs +++ b/axum-extra/src/lib.rs @@ -30,7 +30,7 @@ //! //! [`axum`]: https://crates.io/crates/axum -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(test, allow(clippy::float_cmp))] #![cfg_attr(not(test), warn(clippy::print_stdout, clippy::dbg_macro))] diff --git a/axum/src/lib.rs b/axum/src/lib.rs index b5d754e1..3800db5d 100644 --- a/axum/src/lib.rs +++ b/axum/src/lib.rs @@ -427,7 +427,7 @@ //! [`axum-core`]: http://crates.io/crates/axum-core //! [`State`]: crate::extract::State -#![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(test, allow(clippy::float_cmp))] #![cfg_attr(not(test), warn(clippy::print_stdout, clippy::dbg_macro))] From 4a50581968a1c1f9343aa5748373a8252285c7c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ml=C3=A1dek?= Date: Tue, 30 Sep 2025 12:00:20 +0200 Subject: [PATCH 2/3] Update changelogs --- axum-core/CHANGELOG.md | 4 ++++ axum-extra/CHANGELOG.md | 4 ++++ axum/CHANGELOG.md | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/axum-core/CHANGELOG.md b/axum-core/CHANGELOG.md index b6697115..d2b090ab 100644 --- a/axum-core/CHANGELOG.md +++ b/axum-core/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# 0.5.5 + +Released without changes to fix docs.rs build. + # 0.5.4 - **fixed:** Removed unused `rustversion` dependency ([#3502]) diff --git a/axum-extra/CHANGELOG.md b/axum-extra/CHANGELOG.md index 97b0220b..23edf957 100644 --- a/axum-extra/CHANGELOG.md +++ b/axum-extra/CHANGELOG.md @@ -11,6 +11,10 @@ Yanked from crates.io due to unforeseen breaking change, see [#3190] for details [#3190]: https://github.com/tokio-rs/axum/pull/3190 +# 0.10.3 + +Released without changes to fix docs.rs build. + # 0.10.2 - **added:** Implement `OptionalFromRequest` for `Host` ([#3177]) diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index 9ecae4cf..92d46088 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +# 0.8.6 + +Released without changes to fix docs.rs build. + # 0.8.5 - **fixed:** Reject JSON request bodies with trailing characters after the JSON document ([#3453]) From c1bb9c3e90625fb8de4f9c9750f669cb4edac3df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Ml=C3=A1dek?= Date: Tue, 30 Sep 2025 12:03:26 +0200 Subject: [PATCH 3/3] Release axum 0.8.6 and related crates --- Cargo.lock | 6 +++--- axum-core/Cargo.toml | 2 +- axum-extra/Cargo.toml | 6 +++--- axum/Cargo.toml | 4 ++-- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ee914b1f..1178a791 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -292,7 +292,7 @@ dependencies = [ [[package]] name = "axum" -version = "0.8.5" +version = "0.8.6" dependencies = [ "anyhow", "axum-core", @@ -339,7 +339,7 @@ dependencies = [ [[package]] name = "axum-core" -version = "0.5.4" +version = "0.5.5" dependencies = [ "axum", "axum-extra", @@ -362,7 +362,7 @@ dependencies = [ [[package]] name = "axum-extra" -version = "0.10.2" +version = "0.10.3" dependencies = [ "axum", "axum-core", diff --git a/axum-core/Cargo.toml b/axum-core/Cargo.toml index a9b0c779..5403fd3f 100644 --- a/axum-core/Cargo.toml +++ b/axum-core/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" name = "axum-core" readme = "README.md" repository = "https://github.com/tokio-rs/axum" -version = "0.5.4" # remember to bump the version that axum and axum-extra depend on +version = "0.5.5" # remember to bump the version that axum and axum-extra depend on [features] tracing = ["dep:tracing"] diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 2554dbee..da09715e 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" name = "axum-extra" readme = "README.md" repository = "https://github.com/tokio-rs/axum" -version = "0.10.2" +version = "0.10.3" [features] default = ["tracing"] @@ -47,8 +47,8 @@ typed-routing = ["dep:axum-macros", "dep:percent-encoding", "dep:serde_html_form __private_docs = ["axum/json", "dep:serde", "dep:tower"] [dependencies] -axum = { path = "../axum", version = "0.8.5", default-features = false, features = ["original-uri"] } -axum-core = { path = "../axum-core", version = "0.5.3" } +axum = { path = "../axum", version = "0.8.6", default-features = false, features = ["original-uri"] } +axum-core = { path = "../axum-core", version = "0.5.5" } bytes = "1.1.0" futures-util = { version = "0.3", default-features = false, features = ["alloc"] } http = "1.0.0" diff --git a/axum/Cargo.toml b/axum/Cargo.toml index e929e9dd..007738eb 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "axum" -version = "0.8.5" # remember to bump the version that axum-extra depends on +version = "0.8.6" # remember to bump the version that axum-extra depends on categories = ["asynchronous", "network-programming", "web-programming::http-server"] description = "Web framework that focuses on ergonomics and modularity" edition = "2021" @@ -52,7 +52,7 @@ __private_docs = [ __private = ["tokio", "http1", "dep:reqwest"] [dependencies] -axum-core = { path = "../axum-core", version = "0.5.3" } +axum-core = { path = "../axum-core", version = "0.5.5" } bytes = "1.0" futures-util = { version = "0.3", default-features = false, features = ["alloc"] } http = "1.0.0"