From 6939c048b026fdc79906fcd58eb3db7fdaeed29d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sat, 7 May 2022 12:42:35 +0200 Subject: [PATCH] chore: Bump MSRV to 1.59 --- .clippy.toml | 2 +- .github/workflows/msrv.yml | 8 ++++---- README.md | 2 +- crates/ruma-state-res/.clippy.toml | 2 +- xtask/src/ci.rs | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.clippy.toml b/.clippy.toml index 88520209..a1d46bbd 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.55" +msrv = "1.59" avoid-breaking-exported-api = false disallowed-methods = [ # https://github.com/serde-rs/json/issues/160 diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index a049c9a5..502735f6 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -1,4 +1,4 @@ -name: Rust 1.55 +name: Rust 1.59 env: CARGO_TERM_COLOR: always @@ -35,11 +35,11 @@ jobs: - name: Checkout repo uses: actions/checkout@v2 - - name: Install rust 1.55 toolchain + - name: Install rust 1.59 toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: "1.55" + toolchain: "1.59" # Used to compile xtask - name: Install rust stable toolchain @@ -54,7 +54,7 @@ jobs: # A stable compiler update should automatically not reuse old caches. # Add the MSRV as a stable cache key too so bumping it also gets us a # fresh cache. - sharedKey: msrv1.55 + sharedKey: msrv1.59 - name: Run checks uses: actions-rs/cargo@v1 diff --git a/README.md b/README.md index 6583abe7..8530e0b1 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ## Minimum Rust version -Ruma currently requires Rust 1.55. In general, we will never require beta or +Ruma currently requires Rust 1.59. 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 962cf70b..807a7017 100644 --- a/crates/ruma-state-res/.clippy.toml +++ b/crates/ruma-state-res/.clippy.toml @@ -1,4 +1,4 @@ -msrv = "1.55" +msrv = "1.59" avoid-breaking-exported-api = false disallowed-methods = [ # https://github.com/serde-rs/json/issues/160 diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index e17bc0f9..37908682 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -9,7 +9,7 @@ mod spec_links; use spec_links::check_spec_links; -const MSRV: &str = "1.55"; +const MSRV: &str = "1.59"; const NIGHTLY: &str = "nightly"; #[derive(Args)]