chore: Bump MSRV to 1.70
This commit is contained in:
parent
1701d9a803
commit
b2fe172be1
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
@ -67,7 +67,7 @@ jobs:
|
||||
run: target/debug/xtask ci lint
|
||||
|
||||
msrv:
|
||||
name: Rust 1.65 / ${{ matrix.name }}
|
||||
name: Rust 1.70 / ${{ matrix.name }}
|
||||
needs: xtask
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
@ -92,17 +92,17 @@ jobs:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install rust 1.65 toolchain
|
||||
- name: Install rust 1.70 toolchain
|
||||
uses: dtolnay/rust-toolchain@master
|
||||
with:
|
||||
toolchain: 1.65
|
||||
toolchain: "1.70"
|
||||
|
||||
- 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.65
|
||||
sharedKey: msrv1.70
|
||||
|
||||
- name: Get xtask
|
||||
uses: actions/cache@v3
|
||||
|
@ -5,7 +5,7 @@ default-members = ["crates/*"]
|
||||
resolver = "2"
|
||||
|
||||
[workspace.package]
|
||||
rust-version = "1.65"
|
||||
rust-version = "1.70"
|
||||
|
||||
[workspace.dependencies]
|
||||
assert_matches2 = "0.1.0"
|
||||
|
@ -52,7 +52,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md).
|
||||
|
||||
## Minimum Rust version
|
||||
|
||||
Ruma currently requires Rust 1.65. In general, we will never require beta or
|
||||
Ruma currently requires Rust 1.70. 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.
|
||||
|
||||
|
@ -1,5 +1,7 @@
|
||||
# [unreleased]
|
||||
|
||||
- Bump MSRV to 1.70
|
||||
|
||||
# 0.8.2
|
||||
|
||||
Please refer to the changelogs of:
|
||||
|
@ -12,7 +12,7 @@ mod spec_links;
|
||||
|
||||
use spec_links::check_spec_links;
|
||||
|
||||
const MSRV: &str = "1.65";
|
||||
const MSRV: &str = "1.70";
|
||||
|
||||
#[derive(Args)]
|
||||
pub struct CiArgs {
|
||||
|
Loading…
x
Reference in New Issue
Block a user