From 4e32578d85b7d5182cd076926a8b65c4fb9cf7cf Mon Sep 17 00:00:00 2001 From: radu Date: Mon, 20 May 2024 04:59:40 +0300 Subject: [PATCH] fix missing import --- Cargo.lock | 4 ++-- src/crypto/reader.rs | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ce1f9f9a..738c99ac 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2160,9 +2160,9 @@ dependencies = [ [[package]] name = "toml_datetime" -version = "0.6.5" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +checksum = "4badfd56924ae69bcc9039335b2e017639ce3f9b001c393c1b2d1ef846ce2cbf" [[package]] name = "toml_edit" diff --git a/src/crypto/reader.rs b/src/crypto/reader.rs index d8379713..19f3466a 100644 --- a/src/crypto/reader.rs +++ b/src/crypto/reader.rs @@ -520,6 +520,7 @@ mod bench { use std::sync::Arc; use test::{black_box, Bencher}; + use rand::RngCore; use secrecy::SecretVec; use crate::crypto;