use cap_rand instead of getrandom

This commit is contained in:
Pat Hickey
2021-01-04 16:21:23 -08:00
parent 10a84727fa
commit add601fd6c
6 changed files with 37 additions and 36 deletions

11
Cargo.lock generated
View File

@@ -241,6 +241,15 @@ dependencies = [
"winx 0.21.0 (registry+https://github.com/rust-lang/crates.io-index)",
]
[[package]]
name = "cap-rand"
version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8289d98c0c748a22f1815bc68159255ca059cb4170371c8ab16b11b26886698c"
dependencies = [
"rand",
]
[[package]]
name = "cap-std"
version = "0.7.0"
@@ -2437,11 +2446,11 @@ version = "0.21.0"
dependencies = [
"anyhow",
"cap-fs-ext",
"cap-rand",
"cap-std 0.8.0",
"cap-time-ext",
"cfg-if 1.0.0",
"fs-set-times",
"getrandom 0.2.0",
"libc",
"system-interface",
"thiserror",