Update uuid dep to 1.x (#228)

Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
Bruce Mitchener
2024-04-09 18:00:07 +07:00
committed by GitHub
parent 408497e534
commit 48d6bdf9be
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ version = "0.8.6"
[dependencies]
libc = "0.2"
uuid = { version = "0.5", optional = true }
uuid = { version = "1", optional = true }
[features]
default = ["link"]
+1 -1
View File
@@ -51,7 +51,7 @@ impl From<CFUUID> for Uuid {
b.byte0, b.byte1, b.byte2, b.byte3, b.byte4, b.byte5, b.byte6, b.byte7, b.byte8,
b.byte9, b.byte10, b.byte11, b.byte12, b.byte13, b.byte14, b.byte15,
];
Uuid::from_bytes(&bytes).unwrap()
Uuid::from_bytes(bytes)
}
}