From 0f0cea24decca1bb13317063605ee816d3b36f07 Mon Sep 17 00:00:00 2001 From: Rain Date: Tue, 3 Oct 2023 17:17:09 -0700 Subject: [PATCH] [meta] update MSRV to Rust 1.70 --- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- guppy-summaries/Cargo.toml | 2 +- guppy/Cargo.toml | 2 +- target-spec-miette/Cargo.toml | 2 +- target-spec/Cargo.toml | 2 +- target-spec/README.md | 1 + target-spec/src/lib.rs | 1 + tools/cargo-hakari/Cargo.toml | 2 +- tools/determinator/Cargo.toml | 2 +- tools/hakari/CHANGELOG.md | 6 ++++++ tools/hakari/Cargo.toml | 2 +- 12 files changed, 18 insertions(+), 10 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index baebc762d1d..13a44d1ccb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - rust-version: [ 1.66, stable ] + rust-version: [ "1.70", stable ] fail-fast: false env: RUSTFLAGS: -D warnings @@ -82,7 +82,7 @@ jobs: strategy: matrix: os: [ ubuntu-latest, macos-latest, windows-latest ] - rust-version: [ 1.66, stable ] + rust-version: [ "1.70", stable ] fail-fast: false env: RUSTFLAGS: -D warnings diff --git a/README.md b/README.md index 174d4035d87..36250daa3fc 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ metadata`](https://doc.rust-lang.org/cargo/commands/cargo-metadata.html) format. ## Minimum supported Rust version -The minimum supported Rust version (MSRV) is **Rust 1.66**. +The minimum supported Rust version (MSRV) is **Rust 1.70**. While a crate is pre-release status (0.x.x) it may have its MSRV bumped in a patch release. Once a crate has reached 1.x, any MSRV bump will be accompanied with a new minor version. diff --git a/guppy-summaries/Cargo.toml b/guppy-summaries/Cargo.toml index 11bdcdd4d63..9973be62b67 100644 --- a/guppy-summaries/Cargo.toml +++ b/guppy-summaries/Cargo.toml @@ -19,7 +19,7 @@ exclude = [ # Readme template that doesn't need to be included. "README.tpl", ] -rust-version = "1.66" +rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/guppy/Cargo.toml b/guppy/Cargo.toml index 0be6f1b1197..b9361db7ce8 100644 --- a/guppy/Cargo.toml +++ b/guppy/Cargo.toml @@ -19,7 +19,7 @@ exclude = [ # Readme template that doesn't need to be included. "README.tpl", ] -rust-version = "1.66" +rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/target-spec-miette/Cargo.toml b/target-spec-miette/Cargo.toml index 1435c12086e..a32a8b15b5d 100644 --- a/target-spec-miette/Cargo.toml +++ b/target-spec-miette/Cargo.toml @@ -9,7 +9,7 @@ readme = "README.md" keywords = ["cargo", "targets", "platforms", "miette"] categories = ["development-tools"] edition = "2021" -rust-version = "1.66" +rust-version = "1.70" [dependencies] target-spec = { version = "3.0.1", path = "../target-spec" } diff --git a/target-spec/Cargo.toml b/target-spec/Cargo.toml index 26f068a12a3..8b19ab2cdab 100644 --- a/target-spec/Cargo.toml +++ b/target-spec/Cargo.toml @@ -10,7 +10,7 @@ readme = "README.md" keywords = ["cargo", "targets", "platforms", "os", "cpu"] categories = ["development-tools", "parser-implementations"] edition = "2021" -rust-version = "1.66" +rust-version = "1.70" [package.metadata.docs.rs] all-features = true diff --git a/target-spec/README.md b/target-spec/README.md index 4069b58df6d..5aa59fd3a0a 100644 --- a/target-spec/README.md +++ b/target-spec/README.md @@ -56,6 +56,7 @@ For more advanced usage, see `Platform` and `TargetSpec`. The minimum supported Rust version (MSRV) is: * For target-spec 3.0.x: **Rust 1.66**. +* Unreleased: **Rust 1.70**. Within the 3.x series, MSRV bumps will be accompanied by a minor version update. diff --git a/target-spec/src/lib.rs b/target-spec/src/lib.rs index b717da17774..24071c7e54c 100644 --- a/target-spec/src/lib.rs +++ b/target-spec/src/lib.rs @@ -50,6 +50,7 @@ //! //! The minimum supported Rust version (MSRV) is: //! * For target-spec 3.0.x: **Rust 1.66**. +//! * Unreleased: **Rust 1.70**. //! //! Within the 3.x series, MSRV bumps will be accompanied by a minor version update. //! diff --git a/tools/cargo-hakari/Cargo.toml b/tools/cargo-hakari/Cargo.toml index 6d762064a3a..744693f6afc 100644 --- a/tools/cargo-hakari/Cargo.toml +++ b/tools/cargo-hakari/Cargo.toml @@ -15,7 +15,7 @@ keywords = [ "guppy", ] categories = ["development-tools::cargo-plugins"] -rust-version = "1.66" +rust-version = "1.70" [dependencies] camino = "1.1.6" diff --git a/tools/determinator/Cargo.toml b/tools/determinator/Cargo.toml index aac7745ffa9..f23b2cb8612 100644 --- a/tools/determinator/Cargo.toml +++ b/tools/determinator/Cargo.toml @@ -22,7 +22,7 @@ include = [ # Include default rules with the package. "default-rules.toml", ] -rust-version = "1.66" +rust-version = "1.70" [dependencies] camino = "1.1.6" diff --git a/tools/hakari/CHANGELOG.md b/tools/hakari/CHANGELOG.md index 78c79d6a7c4..b25c5849551 100644 --- a/tools/hakari/CHANGELOG.md +++ b/tools/hakari/CHANGELOG.md @@ -1,5 +1,11 @@ # Changelog +## Unreleased + +### Changed + +- MSRV updated to Rust 1.70. + ## [0.16.0] - 2023-07-29 ### Changed diff --git a/tools/hakari/Cargo.toml b/tools/hakari/Cargo.toml index b4ad1a07184..4d8bd97cc84 100644 --- a/tools/hakari/Cargo.toml +++ b/tools/hakari/Cargo.toml @@ -15,7 +15,7 @@ keywords = [ "guppy", ] categories = ["development-tools"] -rust-version = "1.66" +rust-version = "1.70" [package.metadata.docs.rs] all-features = true