From 689ca1aea278c4f40468884d82157a1a4a9e1f2c Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Sat, 28 Sep 2024 21:21:41 +0000 Subject: [PATCH] Update MSRV for all crates to 1.75 (#2943) --- .github/workflows/CI.yml | 2 +- Cargo.toml | 3 +++ axum-core/CHANGELOG.md | 6 ++++++ axum-core/Cargo.toml | 2 +- axum-extra/CHANGELOG.md | 3 ++- axum-extra/Cargo.toml | 2 +- axum-macros/CHANGELOG.md | 6 ++++++ axum-macros/Cargo.toml | 2 +- axum/CHANGELOG.md | 2 ++ axum/Cargo.toml | 2 +- 10 files changed, 24 insertions(+), 6 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 5d553d9f..cf8e4e1e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -2,7 +2,7 @@ name: CI env: CARGO_TERM_COLOR: always - MSRV: '1.70' + MSRV: '1.75' on: push: diff --git a/Cargo.toml b/Cargo.toml index a68aaab1..f9c9d027 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,3 +5,6 @@ default-members = ["axum", "axum-*"] # Example has been deleted, but README.md remains exclude = ["examples/async-graphql"] resolver = "2" + +[workspace.package] +rust-version = "1.75" diff --git a/axum-core/CHANGELOG.md b/axum-core/CHANGELOG.md index dc1b9ed5..dfa3fbf2 100644 --- a/axum-core/CHANGELOG.md +++ b/axum-core/CHANGELOG.md @@ -5,6 +5,12 @@ 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). +# Unreleased + +- **change:** Update minimum rust version to 1.75 ([#2943]) + +[#2943]: https://github.com/tokio-rs/axum/pull/2943 + # 0.4.5 - **fixed:** Compile errors from the internal `__log_rejection` macro under diff --git a/axum-core/Cargo.toml b/axum-core/Cargo.toml index 99146940..045a3562 100644 --- a/axum-core/Cargo.toml +++ b/axum-core/Cargo.toml @@ -2,7 +2,7 @@ categories = ["asynchronous", "network-programming", "web-programming"] description = "Core types and traits for axum" edition = "2021" -rust-version = "1.57" +rust-version = { workspace = true } homepage = "https://github.com/tokio-rs/axum" keywords = ["http", "web", "framework"] license = "MIT" diff --git a/axum-extra/CHANGELOG.md b/axum-extra/CHANGELOG.md index 2abed911..a8d1f5ce 100644 --- a/axum-extra/CHANGELOG.md +++ b/axum-extra/CHANGELOG.md @@ -8,9 +8,10 @@ and this project adheres to [Semantic Versioning]. # Unreleased - **breaking:** Update to prost 0.13. Used for the `Protobuf` extractor ([#2829]) -- **change:** Update minimum rust version to 1.70 ([#2829]) +- **change:** Update minimum rust version to 1.75 ([#2943]) [#2829]: https://github.com/tokio-rs/axum/pull/2829 +[#2943]: https://github.com/tokio-rs/axum/pull/2943 # 0.9.4 diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 5cca92cd..fe620ce3 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -2,7 +2,7 @@ categories = ["asynchronous", "network-programming", "web-programming"] description = "Extra utilities for axum" edition = "2021" -rust-version = "1.70" +rust-version = { workspace = true } homepage = "https://github.com/tokio-rs/axum" keywords = ["http", "web", "framework"] license = "MIT" diff --git a/axum-macros/CHANGELOG.md b/axum-macros/CHANGELOG.md index b707dda9..ff132d85 100644 --- a/axum-macros/CHANGELOG.md +++ b/axum-macros/CHANGELOG.md @@ -5,6 +5,12 @@ 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). +# Unreleased + +- **change:** Update minimum rust version to 1.75 ([#2943]) + +[#2943]: https://github.com/tokio-rs/axum/pull/2943 + # 0.4.2 - **added:** Add `#[debug_middleware]` ([#1993], [#2725]) diff --git a/axum-macros/Cargo.toml b/axum-macros/Cargo.toml index d24af7e5..543b520c 100644 --- a/axum-macros/Cargo.toml +++ b/axum-macros/Cargo.toml @@ -2,7 +2,7 @@ categories = ["asynchronous", "network-programming", "web-programming"] description = "Macros for axum" edition = "2021" -rust-version = "1.66" +rust-version = { workspace = true } homepage = "https://github.com/tokio-rs/axum" keywords = ["axum"] license = "MIT" diff --git a/axum/CHANGELOG.md b/axum/CHANGELOG.md index 02987018..e1d73a32 100644 --- a/axum/CHANGELOG.md +++ b/axum/CHANGELOG.md @@ -8,8 +8,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 # Unreleased - **breaking:** The tuple and tuple_struct `Path` extractor deserializers now check that the number of parameters matches the tuple length exactly ([#2931]) +- **change:** Update minimum rust version to 1.75 ([#2943]) [#2931]: https://github.com/tokio-rs/axum/pull/2931 +[#2943]: https://github.com/tokio-rs/axum/pull/2943 # 0.7.7 diff --git a/axum/Cargo.toml b/axum/Cargo.toml index 263d3a96..ad593adc 100644 --- a/axum/Cargo.toml +++ b/axum/Cargo.toml @@ -4,7 +4,7 @@ version = "0.7.7" categories = ["asynchronous", "network-programming", "web-programming::http-server"] description = "Web framework that focuses on ergonomics and modularity" edition = "2021" -rust-version = "1.66" +rust-version = { workspace = true } homepage = "https://github.com/tokio-rs/axum" keywords = ["http", "web", "framework"] license = "MIT"