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 committed 2026-07-09 15:21:23 +02:00
1 parent a4cae17bd9
commit 11dd459136
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ jobs:
- name: Generate lockfile
# 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
if: (matrix.platform.os == 'ubuntu-latest') && contains(matrix.platform.target, 'i686')
+1 -1
View File
@@ -1,7 +1,7 @@
[workspace]
default-members = ["winit"]
members = ["dpi", "winit*"]
resolver = "2"
resolver = "3"
[workspace.package]
edition = "2024"