diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 370e541ed69..8cd18f7cc63 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,7 +43,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-14, windows-latest] - rust-version: ["1.70", stable] + rust-version: ["1.72", stable] fail-fast: false env: RUSTFLAGS: -D warnings @@ -82,7 +82,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-14, windows-latest] - rust-version: ["1.70", stable] + rust-version: ["1.72", stable] fail-fast: false env: RUSTFLAGS: -D warnings diff --git a/Cargo.toml b/Cargo.toml index 736523639aa..d1c5ec29f44 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,6 +22,9 @@ members = [ ahash = "0.8.7" guppy-workspace-hack = "0.1.0" +[workspace.package] +rust-version = "1.72" + [patch.crates-io.guppy-workspace-hack] path = "workspace-hack" diff --git a/README.md b/README.md index 36250daa3fc..4ef4680fe8b 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.70**. +The minimum supported Rust version (MSRV) is **Rust 1.72**. 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 5aaa73adaef..b3aca25b50c 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.70" +rust-version.workspace = true [package.metadata.docs.rs] all-features = true diff --git a/guppy/Cargo.toml b/guppy/Cargo.toml index b240e4aac48..4bfc6a8a38f 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.70" +rust-version.workspace = true [package.metadata.docs.rs] all-features = true diff --git a/target-spec-miette/Cargo.toml b/target-spec-miette/Cargo.toml index 70faa174ee9..b99357ae3f7 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.70" +rust-version.workspace = true [dependencies] target-spec = { version = "3.0.1", path = "../target-spec" } diff --git a/target-spec/Cargo.toml b/target-spec/Cargo.toml index 713373f7beb..30340e0b2b2 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.70" +rust-version.workspace = true [package.metadata.docs.rs] all-features = true diff --git a/target-spec/README.md b/target-spec/README.md index 5aa59fd3a0a..961f5d452fa 100644 --- a/target-spec/README.md +++ b/target-spec/README.md @@ -56,7 +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**. +* Unreleased: **Rust 1.72**. 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 24071c7e54c..0f8b01d34c4 100644 --- a/target-spec/src/lib.rs +++ b/target-spec/src/lib.rs @@ -50,7 +50,7 @@ //! //! The minimum supported Rust version (MSRV) is: //! * For target-spec 3.0.x: **Rust 1.66**. -//! * Unreleased: **Rust 1.70**. +//! * Unreleased: **Rust 1.72**. //! //! 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 ad72cc1f489..50cbf3e889b 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.70" +rust-version.workspace = true [dependencies] camino = "1.1.6" diff --git a/tools/determinator/Cargo.toml b/tools/determinator/Cargo.toml index 20f53a8f5ce..4549ac2ade9 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.70" +rust-version.workspace = true [dependencies] ahash.workspace = true diff --git a/tools/hakari/Cargo.toml b/tools/hakari/Cargo.toml index 38b58809cd5..68809a7d063 100644 --- a/tools/hakari/Cargo.toml +++ b/tools/hakari/Cargo.toml @@ -15,7 +15,7 @@ keywords = [ "guppy", ] categories = ["development-tools"] -rust-version = "1.70" +rust-version.workspace = true [package.metadata.docs.rs] all-features = true