diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd1e6499..8f683221 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 diff --git a/Cargo.toml b/Cargo.toml index 1cff9f9a..02c47ab5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/README.md b/README.md index b4308a8d..c11422f1 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/crates/ruma/CHANGELOG.md b/crates/ruma/CHANGELOG.md index c02ed9e1..a79273a7 100644 --- a/crates/ruma/CHANGELOG.md +++ b/crates/ruma/CHANGELOG.md @@ -1,5 +1,7 @@ # [unreleased] +- Bump MSRV to 1.70 + # 0.8.2 Please refer to the changelogs of: diff --git a/xtask/src/ci.rs b/xtask/src/ci.rs index 62393655..7410ea06 100644 --- a/xtask/src/ci.rs +++ b/xtask/src/ci.rs @@ -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 {