chore: Bump MSRV to 1.65
Allows to use let-else statements.
This commit is contained in:
parent
77d94caf11
commit
963c2472e2
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
@ -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"
|
||||
|
@ -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.
|
||||
|
||||
|
@ -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)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user