From 2f99572d5574f4e802cbf9579dbe39b739d7d682 Mon Sep 17 00:00:00 2001
From: Philipp Schuster <phip1611@gmail.com>
Date: Wed, 30 Apr 2025 10:09:50 +0200
Subject: [PATCH] ci: fix failing MSRV uefi-raw job

The new uguid version bumps the MSRV to 1.81 [0], but we don't want this yet.

[0] https://github.com/google/gpt-disk-rs/commit/02d38c2da469aa01519f094d2fd23dffde451761#r156105330
---
 Cargo.lock | 4 ++--
 Cargo.toml | 3 ++-
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/Cargo.lock b/Cargo.lock
index 189b6d481..c1d4160d4 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -949,9 +949,9 @@ dependencies = [
 
 [[package]]
 name = "uguid"
-version = "2.2.1"
+version = "2.2.0"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0c8352f8c05e47892e7eaf13b34abd76a7f4aeaf817b716e88789381927f199c"
+checksum = "ab14ea9660d240e7865ce9d54ecdbd1cd9fa5802ae6f4512f093c7907e921533"
 
 [[package]]
 name = "unicode-ident"
diff --git a/Cargo.toml b/Cargo.toml
index f7fe0e733..e5b05cf4f 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -23,7 +23,8 @@ rust-version = "1.81"
 bitflags = "2.0.0"
 log = { version = "0.4.5", default-features = false }
 ptr_meta = { version = "0.3.0", default-features = false, features = ["derive"] }
-uguid = "2.1.0"
+# Pinned to keep uefi-raw's MSRV.
+uguid = "=2.2.0"
 
 [patch.crates-io]
 uefi = { path = "uefi" }