Use the MSRV-aware resolver instead of pinning versions in CI

Resolver 3 skips dependency versions whose rust-version is above
ours, so the CI lockfile step no longer needs --precise pins that
must be maintained by hand.
This is also more reliable as more crate are release with higher MSRV
This commit is contained in:
Olivier Goffart
2026-07-09 10:18:50 +00:00
parent a4cae17bd9
commit 11dd459136
2 changed files with 2 additions and 2 deletions

View File

@@ -136,7 +136,7 @@ jobs:
- name: Generate lockfile - name: Generate lockfile
# Also updates the crates.io index # Also updates the crates.io index
run: cargo generate-lockfile && cargo update -p smol_str --precise 0.3.2 && cargo update -p unicode-segmentation --precise 1.12.0 && cargo update -p wayland-protocols --precise 0.32.12 run: cargo generate-lockfile
- name: Install GCC Multilib - name: Install GCC Multilib
if: (matrix.platform.os == 'ubuntu-latest') && contains(matrix.platform.target, 'i686') if: (matrix.platform.os == 'ubuntu-latest') && contains(matrix.platform.target, 'i686')

View File

@@ -1,7 +1,7 @@
[workspace] [workspace]
default-members = ["winit"] default-members = ["winit"]
members = ["dpi", "winit*"] members = ["dpi", "winit*"]
resolver = "2" resolver = "3"
[workspace.package] [workspace.package]
edition = "2024" edition = "2024"