chore: Bump MSRV to 1.65

Allows to use let-else statements.
This commit is contained in:
Kévin Commaille 2023-07-04 15:02:00 +02:00 committed by Kévin Commaille
parent 77d94caf11
commit 963c2472e2
4 changed files with 7 additions and 7 deletions

View File

@ -65,7 +65,7 @@ jobs:
run: target/debug/xtask ci lint
msrv:
name: Rust 1.64 / ${{ matrix.name }}
name: Rust 1.65 / ${{ matrix.name }}
needs: xtask
runs-on: ubuntu-latest
strategy:
@ -90,17 +90,17 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install rust 1.64 toolchain
- name: Install rust 1.65 toolchain
uses: dtolnay/rust-toolchain@master
with:
toolchain: 1.64
toolchain: 1.65
- uses: Swatinem/rust-cache@v2
with:
# 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.64
sharedKey: msrv1.65
- name: Get xtask
uses: actions/cache@v3

View File

@ -5,7 +5,7 @@ default-members = ["crates/*"]
resolver = "2"
[workspace.package]
rust-version = "1.64"
rust-version = "1.65"
[workspace.dependencies]
assert_matches2 = "0.1.0"

View File

@ -52,7 +52,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
## Minimum Rust version
Ruma currently requires Rust 1.64. In general, we will never require beta or
Ruma currently requires Rust 1.65. 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.

View File

@ -12,7 +12,7 @@ mod spec_links;
use spec_links::check_spec_links;
const MSRV: &str = "1.64";
const MSRV: &str = "1.65";
const NIGHTLY: &str = "nightly-2023-07-03";
#[derive(Args)]