From 142f1800df14839f03b9a18dbcec0e6c6afb38ae Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Wed, 6 Oct 2021 21:37:46 +0200 Subject: [PATCH] Bump MSRV to 1.53 --- .clippy.toml | 2 +- .github/workflows/msrv.yml | 6 +++--- README.md | 2 +- crates/ruma-state-res/.clippy.toml | 2 +- xtask/src/ci.rs | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.clippy.toml b/.clippy.toml index 6d497a6e..5867c685 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.50" +msrv = "1.53" disallowed-types = [ "std::collections::HashMap", "std::collections::HashSet", diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index c4441817..de087f07 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -1,4 +1,4 @@ -name: Rust 1.50 +name: Rust 1.53 on: push: @@ -13,11 +13,11 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v2 - - name: Install rust 1.50 toolchain + - name: Install rust 1.53 toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: '1.50' + toolchain: '1.53' # Used to compile xtask - name: Install rust stable toolchain uses: actions-rs/toolchain@v1 diff --git a/README.md b/README.md index e9d24ab7..14f00a70 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ## Minimum Rust version -Ruma currently requires Rust 1.50. In general, we will never require beta or +Ruma currently requires Rust 1.53. In general, we will never require beta or nightly for crates.io releases of our crates, and we will try to avoid releasing crates that depend on features that were only just stabilized. diff --git a/crates/ruma-state-res/.clippy.toml b/crates/ruma-state-res/.clippy.toml index 8fd20db8..852a9d42 100644 --- a/crates/ruma-state-res/.clippy.toml +++ b/crates/ruma-state-res/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.50" +msrv = "1.53" disallowed-types = [] enforced-import-renames = [ { path = "serde_json::Value", rename = "JsonValue" } ] standard-macro-braces = [ diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index e2ff92e6..b8d77baf 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -4,7 +4,7 @@ use xshell::pushd; use crate::{cmd, Metadata, Result}; -const MSRV: &str = "1.50"; +const MSRV: &str = "1.53"; /// Task to run CI tests. pub struct CiTask {