summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/Cargo.toml2
-rw-r--r--net/src/ipc.rs2
-rw-r--r--openpgp/Cargo.toml2
-rw-r--r--store/Cargo.toml2
4 files changed, 4 insertions, 4 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;
diff --git a/openpgp/Cargo.toml b/openpgp/Cargo.toml
index cf0459fc..ec0ba95c 100644
--- a/openpgp/Cargo.toml
+++ b/openpgp/Cargo.toml
@@ -14,7 +14,7 @@ lalrpop-util = "0.16"
memsec = "0.5.4"
nettle = "1.0"
quickcheck = "0.7"
-rand = "0.5"
+rand = "0.6"
time = "0.1.38"
[build-dependencies]
diff --git a/store/Cargo.toml b/store/Cargo.toml
index 9182e162..9dfe2e51 100644
--- a/store/Cargo.toml
+++ b/store/Cargo.toml
@@ -16,7 +16,7 @@ capnp = "0.9"
capnp-rpc = "0.9"
failure = "0.1.2"
futures = "0.1.17"
-rand = "0.5"
+rand = "0.6"
rusqlite = "0.14"
time = "0.1.38"
tokio-core = "0.1.10"