From 2fe1bb878e83ff34df7bc9532a4f4e1f575ad6f4 Mon Sep 17 00:00:00 2001 From: shockrah Date: Sat, 7 Mar 2020 21:51:16 -0800 Subject: [PATCH] get random being used for crypto rng --- server/Cargo.lock | 1 + server/Cargo.toml | 1 + 2 files changed, 2 insertions(+) diff --git a/server/Cargo.lock b/server/Cargo.lock index d7f1412..8346caa 100644 --- a/server/Cargo.lock +++ b/server/Cargo.lock @@ -137,6 +137,7 @@ dependencies = [ "chrono 0.4.10 (registry+https://github.com/rust-lang/crates.io-index)", "diesel 1.4.3 (registry+https://github.com/rust-lang/crates.io-index)", "dotenv 0.9.0 (registry+https://github.com/rust-lang/crates.io-index)", + "getrandom 0.1.14 (registry+https://github.com/rust-lang/crates.io-index)", "rand 0.7.3 (registry+https://github.com/rust-lang/crates.io-index)", "rocket 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", "rocket_contrib 0.4.2 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/server/Cargo.toml b/server/Cargo.toml index 8525fff..5e7c2b9 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -16,6 +16,7 @@ dotenv = "0.9.0" rand = "0.7.3" chrono = "0.4.0" time = "0.2" +getrandom = "0.1" [dependencies.rocket_contrib]