From 46a77f5bd45aa6cebc3441bf55966d87a25e99d2 Mon Sep 17 00:00:00 2001 From: Able Date: Mon, 5 Dec 2022 09:26:26 -0600 Subject: [PATCH] update randomness_handler --- drivers/randomness_handler/Cargo.toml | 2 +- drivers/randomness_handler/src/main.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/randomness_handler/Cargo.toml b/drivers/randomness_handler/Cargo.toml index 1189c8c..9c7cd12 100644 --- a/drivers/randomness_handler/Cargo.toml +++ b/drivers/randomness_handler/Cargo.toml @@ -7,4 +7,4 @@ edition = "2021" [dependencies] versioning = { path = "../../libraries/versioning" } -rand = { path = "../../libraries/rand" } +cryptography = { path = "../../libraries/cryptography" } diff --git a/drivers/randomness_handler/src/main.rs b/drivers/randomness_handler/src/main.rs index bc57034..d8f0393 100644 --- a/drivers/randomness_handler/src/main.rs +++ b/drivers/randomness_handler/src/main.rs @@ -1,6 +1,6 @@ #![no_std] #![no_main] -use rand::Csprng; +use cryptography::random::Csprng; use versioning::Version; pub const VERSION: Version = Version::new(0, 1, 0);