updates dependencies

This commit is contained in:
2025-02-14 20:39:52 -08:00
parent a864c0b41c
commit 69c0b0965d
5 changed files with 147 additions and 65 deletions

View File

@@ -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),
}