summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorJustus Winter <justus@sequoia-pgp.org>2021-08-30 14:16:16 +0200
committerJustus Winter <justus@sequoia-pgp.org>2021-08-30 14:16:16 +0200
commitf6241a60f488d04e4ed5cb49027c764b978fb2e9 (patch)
treefc3a449eac7b5bca74cf165dae87e85f3d6583d5 /net
parent81487a7fa63b7b9f2b5c0ed1df63a80055c28367 (diff)
net: Enable rand's getrandom feature for rand::rngs::OsRng.
Diffstat (limited to 'net')
-rw-r--r--net/Cargo.toml2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/Cargo.toml b/net/Cargo.toml
index 07cd2e6e..2047c19c 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -37,7 +37,7 @@ url = "2.1"
zbase32 = "0.1.2"
[dev-dependencies]
-rand = { version = "0.7", default-features = false }
+rand = { version = "0.7", default-features = false, features = ["getrandom"] }
tokio = { version = "0.2.19", features = ["full"] }
[lib]