From 0e49b70d65625073527cc8b22eb1761dfccf9383 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 19 Oct 2021 21:36:39 +0200 Subject: [PATCH] Raise MSRV to 1.55 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise `cargo check` errors on the `-Wclippy::…` arguments from `.cargo/config.toml`. Usage as a dependency continues to work with 1.53 for now, but since it's not changed this could soon change. --- .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 01ad219e..b34875bf 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.53" +msrv = "1.55" avoid-breaking-exported-api = false disallowed-types = [ "std::collections::HashMap", diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index de087f07..61b8fe49 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -1,4 +1,4 @@ -name: Rust 1.53 +name: Rust 1.55 on: push: @@ -13,11 +13,11 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v2 - - name: Install rust 1.53 toolchain + - name: Install rust 1.55 toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: '1.53' + toolchain: '1.55' # Used to compile xtask - name: Install rust stable toolchain uses: actions-rs/toolchain@v1 diff --git a/README.md b/README.md index 14f00a70..fdc2eb28 100644 --- a/README.md +++ b/README.md @@ -49,7 +49,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ## Minimum Rust version -Ruma currently requires Rust 1.53. In general, we will never require beta or +Ruma currently requires Rust 1.55. 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 2b37dd20..7f76424a 100644 --- a/crates/ruma-state-res/.clippy.toml +++ b/crates/ruma-state-res/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.53" +msrv = "1.55" avoid-breaking-exported-api = false disallowed-types = [] enforced-import-renames = [ { path = "serde_json::Value", rename = "JsonValue" } ] diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 1f390beb..c0ed36d7 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.53"; +const MSRV: &str = "1.55"; /// Task to run CI tests. pub struct CiTask {