summaryrefslogtreecommitdiffstats
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
parent18b4fdbda277c337c30c7e46e890bd7e17053e5e (diff)
Bump version of 'rand'.
-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"