diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d9be4419668..1ef4336561b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: strategy: fail-fast: false matrix: - rust_version: [1.57.0, stable, nightly] + rust_version: ['1.60.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, } @@ -95,7 +95,7 @@ jobs: - name: Lint with clippy shell: bash - if: (matrix.rust_version == '1.57.0') && !contains(matrix.platform.options, '--no-default-features') + if: (matrix.rust_version == '1.60.0') && !contains(matrix.platform.options, '--no-default-features') run: cargo clippy --all-targets --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES -- -Dwarnings - name: Build tests with serde enabled diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fd1f784274..26c1bed33c9 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.57` to `1.60`. - macOS/iOS: Use `objc2` instead of `objc` internally. - Removed `parking_lot` dependency. - On Windows, added `WindowExtWindows::set_undecorated_shadow` and `WindowBuilderExtWindows::with_undecorated_shadow` to draw the drop shadow behind a borderless window. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 5c287f14dec..639d3105ae1 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.57.0. +- your patch builds with Winit's minimal supported rust version - Rust 1.60. - 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 c3d5e10d469..458e544f56e 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.57.0" +rust-version = "1.60.0" [package.metadata.docs.rs] features = ["serde"]