summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2018-11-19 14:07:20 +0100
committerJustus Winter <justus@sequoia-pgp.org>2018-11-19 14:19:56 +0100
commit043871d71f68a8a52d1e53b4882b8afd210fd241 (patch)
tree09a5cea896cd2a4d87dadab10c362f5260744932 /net
parent18b4fdbda277c337c30c7e46e890bd7e17053e5e (diff)
Bump version of 'rand'.
Diffstat (limited to 'net')
-rw-r--r--net/Cargo.toml2
-rw-r--r--net/src/ipc.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/Cargo.toml b/net/Cargo.toml
index 551f1e00..4eec9357 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -18,7 +18,7 @@ libc = "0.2.33"
memsec = "0.5.4"
native-tls = "0.2.0"
percent-encoding = "1.0.1"
-rand = "0.5"
+rand = "0.6"
tokio-core = "0.1"
tokio-io = "0.1.4"
url = "1.6.0"
diff --git a/net/src/ipc.rs b/net/src/ipc.rs
index 5e8041ac..17ddacf0 100644
--- a/net/src/ipc.rs
+++ b/net/src/ipc.rs
@@ -391,7 +391,7 @@ struct Cookie(Vec<u8>);
extern crate rand;
use self::rand::RngCore;
-use self::rand::os::OsRng;
+use self::rand::rngs::OsRng;
const COOKIE_SIZE: usize = 32;