diff options
author | Justus Winter <justus@sequoia-pgp.org> | 2021-08-30 14:16:16 +0200 |
---|---|---|
committer | Justus Winter <justus@sequoia-pgp.org> | 2021-08-30 14:16:16 +0200 |
commit | f6241a60f488d04e4ed5cb49027c764b978fb2e9 (patch) | |
tree | fc3a449eac7b5bca74cf165dae87e85f3d6583d5 /net | |
parent | 81487a7fa63b7b9f2b5c0ed1df63a80055c28367 (diff) |
net: Enable rand's getrandom feature for rand::rngs::OsRng.
Diffstat (limited to 'net')
-rw-r--r-- | net/Cargo.toml | 2 |
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] |