From 7fbb0ade7754cc6ca923a46f89a7ecde9033ec4e Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Thu, 20 May 2021 20:40:49 +0200 Subject: [PATCH] Bump MSRV to 1.50 --- .clippy.toml | 2 +- .github/workflows/msrv.yml | 6 +++--- README.md | 2 +- xtask/src/ci.rs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.clippy.toml b/.clippy.toml index 1cf14c6d..72b5a65a 100644 --- a/.clippy.toml +++ b/.clippy.toml @@ -1 +1 @@ -msrv = "1.45" +msrv = "1.50" diff --git a/.github/workflows/msrv.yml b/.github/workflows/msrv.yml index 1eff9bae..c4441817 100644 --- a/.github/workflows/msrv.yml +++ b/.github/workflows/msrv.yml @@ -1,4 +1,4 @@ -name: Rust 1.45 +name: Rust 1.50 on: push: @@ -13,11 +13,11 @@ jobs: steps: - name: Checkout repo uses: actions/checkout@v2 - - name: Install rust 1.45 toolchain + - name: Install rust 1.50 toolchain uses: actions-rs/toolchain@v1 with: profile: minimal - toolchain: '1.45' + toolchain: '1.50' # Used to compile xtask - name: Install rust stable toolchain uses: actions-rs/toolchain@v1 diff --git a/README.md b/README.md index db6abdf1..d3919c5b 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md). ## Minimum Rust version -Ruma currently requires Rust 1.45. In general, we will never require beta or +Ruma currently requires Rust 1.50. 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/xtask/src/ci.rs b/xtask/src/ci.rs index 24adbaaf..3f58b184 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.45"; +const MSRV: &str = "1.50"; /// Task to run CI tests. pub struct CiTask {