From f5b67787d84f38921ac9c8629ddc11438ba61ec3 Mon Sep 17 00:00:00 2001 From: Michael Krasnitski Date: Thu, 24 Aug 2023 11:23:22 -0400 Subject: [PATCH] Bump MSRV to Rust 1.72 --- .github/workflows/ci.yml | 4 ++-- Cargo.toml | 2 +- README.md | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4be2266bf4b..85a0877377b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,8 +3,8 @@ name: CI on: [push, pull_request] env: - rust_min: 1.71.0 - rust_nightly: nightly-2023-07-12 + rust_min: 1.72.0 + rust_nightly: nightly-2023-08-23 jobs: test: diff --git a/Cargo.toml b/Cargo.toml index 5ccd809773c..2e9a9c2c44b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ readme = "README.md" repository = "https://github.com/serenity-rs/serenity.git" version = "0.11.5" edition = "2021" -rust-version = "1.70" +rust-version = "1.72" include = ["src/**/*", "LICENSE.md", "README.md", "CHANGELOG.md", "build.rs"] [workspace] diff --git a/README.md b/README.md index af2ab1b560a..cbabe48e08a 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ tokio = { version = "1.21.2", features = ["macros", "rt-multi-thread"] } ## MSRV Policy -Serenity's minimum supported Rust version (MSRV) is Rust 1.71. +Serenity's minimum supported Rust version (MSRV) is Rust 1.72. We opt to keep MSRV stable on the `current` branch. This means it will remain unchanged between minor releases. Occasionally, dependencies may violate SemVer @@ -251,5 +251,5 @@ a Rust-native cloud development platform that allows deploying Serenity bots for [repo:andesite]: https://github.com/natanbc/andesite [repo:lavaplayer]: https://github.com/sedmelluq/lavaplayer [logo]: https://raw.githubusercontent.com/serenity-rs/serenity/current/logo.png -[rust-version-badge]: https://img.shields.io/badge/rust-1.71.0+-93450a.svg?style=flat-square -[rust-version-link]: https://blog.rust-lang.org/2023/07/13/Rust-1.71.0.html +[rust-version-badge]: https://img.shields.io/badge/rust-1.72.0+-93450a.svg?style=flat-square +[rust-version-link]: https://blog.rust-lang.org/2023/08/24/Rust-1.72.0.html