From 242273e69b5f5add23393e8e96e241696eae88fb Mon Sep 17 00:00:00 2001 From: Luca Casonato Date: Thu, 5 May 2022 12:41:59 +0200 Subject: chore: update deps (#14416) --- ext/crypto/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/crypto/lib.rs') diff --git a/ext/crypto/lib.rs b/ext/crypto/lib.rs index 3515013f8..6063be1bd 100644 --- a/ext/crypto/lib.rs +++ b/ext/crypto/lib.rs @@ -792,8 +792,8 @@ pub fn op_crypto_random_uuid(state: &mut OpState) -> Result { let mut bytes = [0u8; 16]; seeded_rng.fill(&mut bytes); uuid::Builder::from_bytes(bytes) - .set_version(uuid::Version::Random) - .build() + .with_version(uuid::Version::Random) + .into_uuid() } else { uuid::Uuid::new_v4() }; -- cgit v1.2.3