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"
18
18
name = " bitcoincore_rpc"
19
19
path = " src/lib.rs"
20
20
21
+ [features ]
22
+ rand = [" bitcoincore-rpc-json/rand" ]
23
+
21
24
[dependencies ]
22
25
bitcoincore-rpc-json = { version = " 0.18.0" , path = " ../json" }
23
26
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ authors = ["Steven Roose <steven@stevenroose.org>"]
5
5
edition = " 2018"
6
6
7
7
[dependencies ]
8
- bitcoincore-rpc = { path = " ../client" }
8
+ bitcoincore-rpc = { path = " ../client" , features = [ " rand " ] }
9
9
bitcoin = { version = " 0.32.0" , features = [" serde" , " rand" ] }
10
10
lazy_static = " 1.4.0"
11
11
log = " 0.4"
Original file line number Diff line number Diff line change @@ -19,8 +19,11 @@ rust-version = "1.56.1"
19
19
name = " bitcoincore_rpc_json"
20
20
path = " src/lib.rs"
21
21
22
+ [features ]
23
+ rand = [" bitcoin/rand-std" ]
24
+
22
25
[dependencies ]
23
26
serde = { version = " 1" , features = [ " derive" ] }
24
27
serde_json = " 1"
25
28
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