File tree Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Expand file tree Collapse file tree 3 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,9 @@ edition = "2018"
1818name = " bitcoincore_rpc"
1919path = " src/lib.rs"
2020
21+ [features ]
22+ rand = [" bitcoincore-rpc-json/rand" ]
23+
2124[dependencies ]
2225bitcoincore-rpc-json = { version = " 0.18.0" , path = " ../json" }
2326
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ authors = ["Steven Roose <steven@stevenroose.org>"]
55edition = " 2018"
66
77[dependencies ]
8- bitcoincore-rpc = { path = " ../client" }
8+ bitcoincore-rpc = { path = " ../client" , features = [ " rand " ] }
99bitcoin = { version = " 0.32.0" , features = [" serde" , " rand" ] }
1010lazy_static = " 1.4.0"
1111log = " 0.4"
Original file line number Diff line number Diff line change @@ -19,8 +19,11 @@ rust-version = "1.56.1"
1919name = " bitcoincore_rpc_json"
2020path = " src/lib.rs"
2121
22+ [features ]
23+ rand = [" bitcoin/rand-std" ]
24+
2225[dependencies ]
2326serde = { version = " 1" , features = [ " derive" ] }
2427serde_json = " 1"
2528
26- bitcoin = { version = " 0.32.0" , features = [" serde" , " rand-std " ] }
29+ bitcoin = { version = " 0.32.0" , features = [" serde" ] }
You can’t perform that action at this time.
0 commit comments