From 404a93202412101fca5c8396d760cee0d039ea78 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Mon, 17 Jun 2024 10:17:22 +0200 Subject: [PATCH] chore: increase MSRV to 1.70 --- .github/workflows/ci.yml | 2 +- README.md | 5 +++-- tokio-macros/Cargo.toml | 2 +- tokio-stream/Cargo.toml | 2 +- tokio-test/Cargo.toml | 2 +- tokio-util/Cargo.toml | 2 +- tokio/Cargo.toml | 2 +- tokio/README.md | 5 +++-- 8 files changed, 12 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 76151902576..657b23d4e12 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,7 +26,7 @@ env: # - tokio-util/Cargo.toml # - tokio-test/Cargo.toml # - tokio-stream/Cargo.toml - rust_min: '1.63' + rust_min: '1.70' defaults: run: diff --git a/README.md b/README.md index b04599b99bd..43542f42db4 100644 --- a/README.md +++ b/README.md @@ -186,12 +186,13 @@ When updating this, also update: Tokio will keep a rolling MSRV (minimum supported rust version) policy of **at least** 6 months. When increasing the MSRV, the new Rust version must have been -released at least six months ago. The current MSRV is 1.63. +released at least six months ago. The current MSRV is 1.70. Note that the MSRV is not increased automatically, and only as part of a minor release. The MSRV history for past minor releases can be found below: - * 1.30 to now - Rust 1.63 + * 1.39 to now - Rust 1.70 + * 1.30 to 1.38 - Rust 1.63 * 1.27 to 1.29 - Rust 1.56 * 1.17 to 1.26 - Rust 1.49 * 1.15 to 1.16 - Rust 1.46 diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml index c150334880c..597a762b9bd 100644 --- a/tokio-macros/Cargo.toml +++ b/tokio-macros/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio-macros" # - Create "tokio-macros-1.x.y" git tag. version = "2.3.0" edition = "2021" -rust-version = "1.63" +rust-version = "1.70" authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" diff --git a/tokio-stream/Cargo.toml b/tokio-stream/Cargo.toml index d3ea3076930..87b2bf6db0a 100644 --- a/tokio-stream/Cargo.toml +++ b/tokio-stream/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio-stream" # - Create "tokio-stream-0.1.x" git tag. version = "0.1.15" edition = "2021" -rust-version = "1.63" +rust-version = "1.70" authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" diff --git a/tokio-test/Cargo.toml b/tokio-test/Cargo.toml index 076f79bf5e8..536c5a848e8 100644 --- a/tokio-test/Cargo.toml +++ b/tokio-test/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio-test" # - Create "tokio-test-0.4.x" git tag. version = "0.4.4" edition = "2021" -rust-version = "1.63" +rust-version = "1.70" authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" diff --git a/tokio-util/Cargo.toml b/tokio-util/Cargo.toml index a33e9c9cff7..23a577a37fe 100644 --- a/tokio-util/Cargo.toml +++ b/tokio-util/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio-util" # - Create "tokio-util-0.7.x" git tag. version = "0.7.11" edition = "2021" -rust-version = "1.63" +rust-version = "1.70" authors = ["Tokio Contributors "] license = "MIT" repository = "https://github.com/tokio-rs/tokio" diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 13a9a8c0579..283ae66bd92 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -8,7 +8,7 @@ name = "tokio" # - Create "v1.x.y" git tag. version = "1.38.1" edition = "2021" -rust-version = "1.63" +rust-version = "1.70" authors = ["Tokio Contributors "] license = "MIT" readme = "README.md" diff --git a/tokio/README.md b/tokio/README.md index b04599b99bd..43542f42db4 100644 --- a/tokio/README.md +++ b/tokio/README.md @@ -186,12 +186,13 @@ When updating this, also update: Tokio will keep a rolling MSRV (minimum supported rust version) policy of **at least** 6 months. When increasing the MSRV, the new Rust version must have been -released at least six months ago. The current MSRV is 1.63. +released at least six months ago. The current MSRV is 1.70. Note that the MSRV is not increased automatically, and only as part of a minor release. The MSRV history for past minor releases can be found below: - * 1.30 to now - Rust 1.63 + * 1.39 to now - Rust 1.70 + * 1.30 to 1.38 - Rust 1.63 * 1.27 to 1.29 - Rust 1.56 * 1.17 to 1.26 - Rust 1.49 * 1.15 to 1.16 - Rust 1.46