From 6caff77abb7bd8000ba8a5eacfaa1276e0d488f7 Mon Sep 17 00:00:00 2001 From: Kirill Chibisov Date: Wed, 16 Aug 2023 12:10:38 +0400 Subject: [PATCH] Bump MSRV to 1.65 --- .github/workflows/ci.yml | 10 +++++----- CHANGELOG.md | 1 + CONTRIBUTING.md | 2 +- Cargo.toml | 2 +- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index efffef9d..a04a5084 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -52,7 +52,7 @@ jobs: strategy: fail-fast: false matrix: - rust_version: ['1.64.0', stable, nightly] + rust_version: ['1.65.0', stable, nightly] platform: # Note: Make sure that we test all the `docs.rs` targets defined in Cargo.toml! - { target: x86_64-pc-windows-msvc, os: windows-latest, } @@ -116,7 +116,7 @@ jobs: shell: bash if: > !contains(matrix.platform.target, 'redox') && - matrix.rust_version != '1.64.0' + matrix.rust_version != '1.65.0' run: cargo $CMD test --no-run --verbose --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES - name: Run tests @@ -126,7 +126,7 @@ jobs: !contains(matrix.platform.target, 'ios') && !contains(matrix.platform.target, 'wasm32') && !contains(matrix.platform.target, 'redox') && - matrix.rust_version != '1.64.0' + matrix.rust_version != '1.65.0' run: cargo $CMD test --verbose --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES - name: Lint with clippy @@ -138,7 +138,7 @@ jobs: shell: bash if: > !contains(matrix.platform.target, 'redox') && - matrix.rust_version != '1.64.0' + matrix.rust_version != '1.65.0' run: cargo $CMD test --no-run --verbose --target ${{ matrix.platform.target }} $OPTIONS --features serde,$FEATURES - name: Run tests with serde enabled shell: bash @@ -147,5 +147,5 @@ jobs: !contains(matrix.platform.target, 'ios') && !contains(matrix.platform.target, 'wasm32') && !contains(matrix.platform.target, 'redox') && - matrix.rust_version != '1.64.0' + matrix.rust_version != '1.65.0' run: cargo $CMD test --verbose --target ${{ matrix.platform.target }} $OPTIONS --features serde,$FEATURES diff --git a/CHANGELOG.md b/CHANGELOG.md index 32214584..c76f59a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ And please only add new entries to the top of this list, right below the `# Unre # Unreleased +- **Breaking:** Bump MSRV from `1.64` to `1.65`. - Make iOS windows usable from other threads. - Reexport `raw-window-handle` in `window` module. - **Breaking:** `WINIT_UNIX_BACKEND` was removed in favor of standard `WAYLAND_DISPLAY` and `DISPLAY` variables. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f84f57e9..00c42c98 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -20,7 +20,7 @@ your description of the issue as detailed as possible: When making a code contribution to winit, before opening your pull request, please make sure that: -- your patch builds with Winit's minimal supported rust version - Rust 1.64. +- your patch builds with Winit's minimal supported rust version - Rust 1.65. - you tested your modifications on all the platforms impacted, or if not possible detail which platforms were not tested, and what should be tested, so that a maintainer or another contributor can test them - you updated any relevant documentation in winit diff --git a/Cargo.toml b/Cargo.toml index ee17cb27..0eb5414f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,7 +10,7 @@ readme = "README.md" repository = "https://github.com/rust-windowing/winit" documentation = "https://docs.rs/winit" categories = ["gui"] -rust-version = "1.64.0" +rust-version = "1.65.0" [package.metadata.docs.rs] features = ["serde"]