Skip to content

Commit

Permalink
Bump MSRV to 1.71
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jan 24, 2025
1 parent 363d0de commit 23e3f55
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 12 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
strategy:
fail-fast: false
matrix:
rust_version: [1.70.0, stable, nightly]
rust_version: [1.71.0, stable, nightly]
platform:
- { target: x86_64-pc-windows-msvc, os: windows-latest, }
- { target: i686-pc-windows-msvc, os: windows-latest, }
Expand All @@ -59,10 +59,10 @@ jobs:
- { target: x86_64-apple-darwin, os: macos-latest, }
exclude:
# Android is tested on stable-3
- rust_version: '1.70.0'
- rust_version: '1.71.0'
platform: { target: aarch64-linux-android, os: ubuntu-latest, cmd: 'apk --' }
include:
- rust_version: '1.70.0'
- rust_version: '1.71.0'
platform: { target: aarch64-linux-android, os: ubuntu-latest, cmd: 'apk --' }


Expand Down Expand Up @@ -117,6 +117,5 @@ jobs:

- name: Lint with clippy
shell: bash
if: (matrix.rust_version == '1.70.0') && !contains(matrix.platform.options, '--no-default-features')
if: (matrix.rust_version == '1.71.0') && !contains(matrix.platform.options, '--no-default-features')
run: cargo clippy --workspace --all-targets --target ${{ matrix.platform.target }} $OPTIONS --features $FEATURES -- -Dwarnings

1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

- **Breaking:** Added `make_current_surfaceless(self)` for `{Possibly,Not}CurrentGlContext`.
- Updated `objc2` dependency to `v0.6`.
- Bump MSRV from `1.70` to `1.71`.

# Version 0.32.2

Expand Down
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,7 @@ members = [
"glutin_wgl_sys",
"glutin_gles2_sys",
]

[workspace.package]
# MSRV. Also update in ci.yml
rust-version = "1.71.0"
2 changes: 1 addition & 1 deletion glutin-winit/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "MIT"
readme = "README.md"
repository = "https://github.com/rust-windowing/glutin"
edition = "2021"
rust-version = "1.70.0"
rust-version.workspace = true

[features]
default = ["egl", "glx", "x11", "wayland", "wgl"]
Expand Down
2 changes: 1 addition & 1 deletion glutin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ license = "Apache-2.0"
readme = "README.md"
repository = "https://github.com/rust-windowing/glutin"
documentation = "https://docs.rs/glutin"
rust-version = "1.70.0"
rust-version.workspace = true
edition = "2021"

[features]
Expand Down
2 changes: 1 addition & 1 deletion glutin_egl_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "The egl bindings for glutin"
repository = "https://github.com/rust-windowing/glutin"
license = "Apache-2.0"
readme = "README.md"
rust-version = "1.70.0"
rust-version.workspace = true
edition = "2021"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion glutin_examples/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "Examples for glutin"
repository = "https://github.com/rust-windowing/glutin"
license = "Apache-2.0"
readme = "../README.md"
rust-version = "1.70.0"
rust-version.workspace = true
edition = "2021"
publish = false

Expand Down
2 changes: 1 addition & 1 deletion glutin_gles2_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "The gles2 bindings for glutin"
repository = "https://github.com/rust-windowing/glutin"
license = "Apache-2.0"
readme = "README.md"
rust-version = "1.70.0"
rust-version.workspace = true
edition = "2021"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion glutin_glx_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "The glx bindings for glutin"
repository = "https://github.com/rust-windowing/glutin"
license = "Apache-2.0"
readme = "README.md"
rust-version = "1.70.0"
rust-version.workspace = true
edition = "2021"

[build-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion glutin_wgl_sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description = "The wgl bindings for glutin"
repository = "https://github.com/rust-windowing/glutin"
license = "Apache-2.0"
readme = "README.md"
rust-version = "1.70.0"
rust-version.workspace = true
edition = "2021"

[build-dependencies]
Expand Down

0 comments on commit 23e3f55

Please sign in to comment.