Update uuid dep to 1.x (#228)
Co-authored-by: Martin Robinson <mrobinson@igalia.com>
This commit is contained in:
@@ -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"]
|
||||
|
||||
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user