From 2200604d9c101888df658f9483290a13952c6b1c Mon Sep 17 00:00:00 2001 From: Daniel Prilik Date: Mon, 14 Jan 2019 14:19:04 -0800 Subject: remove rand crate the few uses of rand::thread_rng() have been replaced with either prngs or reads from /dev/urandom. the implementations are under the `rand_ish` minicrate. `protoc-rust` depends on `tempdir`, which relies on rand, so `tempdir` has been patched with a rewritten version that does not have rand as a dependency. BUG=chromium:921795 TEST=cargo test --features plugin Change-Id: I6f1c7d7a1aeef4dd55ac71e58294d16c291b8871 Reviewed-on: https://chromium-review.googlesource.com/1409705 Commit-Ready: Daniel Prilik Tested-by: kokoro Reviewed-by: Zach Reizner --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main.rs') diff --git a/src/main.rs b/src/main.rs index 9cb7b3c..b616adf 100644 --- a/src/main.rs +++ b/src/main.rs @@ -29,7 +29,7 @@ extern crate msg_socket; extern crate plugin_proto; #[cfg(feature = "plugin")] extern crate protobuf; -extern crate rand; +extern crate rand_ish; extern crate resources; extern crate sync; extern crate vhost; -- cgit 1.4.1