updates dependencies
This commit is contained in:
@@ -4,7 +4,7 @@ use rand::RngCore;
|
||||
impl Uuid {
|
||||
pub fn random() -> Self {
|
||||
let mut uuid = [0u8; 16];
|
||||
rand::thread_rng().fill_bytes(&mut uuid);
|
||||
rand::rng().fill_bytes(&mut uuid);
|
||||
Self {
|
||||
value: hex::encode(uuid),
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user