From 11dd45913605c3adfa5dd8b77ae8a08d6079b3a2 Mon Sep 17 00:00:00 2001 From: Olivier Goffart Date: Thu, 9 Jul 2026 10:18:50 +0000 Subject: [PATCH] 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 --- .github/workflows/ci.yml | 2 +- Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 780cf28a5..33980e54a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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') diff --git a/Cargo.toml b/Cargo.toml index 3321df958..09ab59c92 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [workspace] default-members = ["winit"] members = ["dpi", "winit*"] -resolver = "2" +resolver = "3" [workspace.package] edition = "2024"