Skip to content

Commit

Permalink
Update uuid dep to 1.x (#228)
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Robinson <[email protected]>
  • Loading branch information
waywardmonkeys and mrobinson authored Apr 9, 2024
1 parent 408497e commit 48d6bdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core-foundation/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion core-foundation/src/uuid.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
}

Expand Down

0 comments on commit 48d6bdf

Please sign in to comment.