Enable nanorand featureflag for cross-compilation on mac os
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
notplants 2022-05-11 17:06:12 +02:00
parent bab33b602a
commit f96c950aa6
2 changed files with 6 additions and 1 deletions

5
Cargo.lock generated
View File

@ -1071,8 +1071,10 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9be70c98951c83b8d2f8f60d7065fa6d5146873094452a1008da8c2f1e4205ad"
dependencies = [
"cfg-if 1.0.0",
"js-sys",
"libc",
"wasi 0.10.2+wasi-snapshot-preview1",
"wasm-bindgen",
]
[[package]]
@ -2063,6 +2065,9 @@ name = "nanorand"
version = "0.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "729eb334247daa1803e0a094d0a5c55711b85571179f5ec6e53eccfdf7008958"
dependencies = [
"getrandom 0.2.6",
]
[[package]]
name = "nb"

View File

@ -14,7 +14,7 @@ jsonrpc-client-core = "0.5"
jsonrpc-client-http = "0.5"
jsonrpc-core = "8.0"
log = "0.4"
nanorand = "0.6"
nanorand = { version = "0.6", features = ["getrandom"] }
regex = "1"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"