diff --git a/client/Cargo.toml b/client/Cargo.toml index 3f1e01f4..574d243c 100644 --- a/client/Cargo.toml +++ b/client/Cargo.toml @@ -20,6 +20,7 @@ path = "src/lib.rs" [features] verifymessage = ["bitcoincore-rpc-json/verifymessage"] +rand = ["bitcoincore-rpc-json/rand"] [dependencies] bitcoincore-rpc-json = { version = "0.18.0", path = "../json" } diff --git a/integration_test/Cargo.toml b/integration_test/Cargo.toml index a0b8d2f1..4e27b1df 100644 --- a/integration_test/Cargo.toml +++ b/integration_test/Cargo.toml @@ -5,7 +5,7 @@ authors = ["Steven Roose "] edition = "2018" [dependencies] -bitcoincore-rpc = { path = "../client", features = ["verifymessage"] } +bitcoincore-rpc = { path = "../client", features = ["verifymessage", "rand"] } bitcoin = { version = "0.32.0", features = ["serde", "rand", "base64"]} lazy_static = "1.4.0" log = "0.4" diff --git a/json/Cargo.toml b/json/Cargo.toml index 3f35db59..e3619718 100644 --- a/json/Cargo.toml +++ b/json/Cargo.toml @@ -21,9 +21,10 @@ path = "src/lib.rs" [features] verifymessage = ["bitcoin/base64"] +rand = ["bitcoin/rand-std"] [dependencies] serde = { version = "1.0.156", features = [ "derive" ] } serde_json = "1.0.96" -bitcoin = { version = "0.32.0", features = ["serde", "rand-std"] } +bitcoin = { version = "0.32.0", features = ["serde"] }