Skip to content

Commit fe8c087

Browse files
committed
Set bitreq_http feature for sync only
In preparation for adding bitreq_http_async feature to jsonrpc move the sync version to the client-sync feature so it is not always on with jsonrpc.
1 parent 073c8fd commit fe8c087

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ allowed_duplicates = ["base64"]
2222

2323
[features]
2424
# Enable this feature to get a blocking JSON-RPC client.
25-
client-sync = ["jsonrpc"]
25+
client-sync = ["jsonrpc", "jsonrpc/bitreq_http"]
2626

2727
[dependencies]
2828
bitcoin = { version = "0.32.0", default-features = false, features = ["std", "serde"] }
@@ -31,6 +31,6 @@ serde = { version = "1.0.103", default-features = false, features = [ "derive",
3131
serde_json = { version = "1.0.117" }
3232
types = { package = "corepc-types", version = "0.15.0", path = "../types", default-features = false, features = ["std"] }
3333

34-
jsonrpc = { version = "0.20.0", path = "../jsonrpc", features = ["bitreq_http"], optional = true }
34+
jsonrpc = { version = "0.20.0", path = "../jsonrpc", default-features = false, optional = true }
3535

3636
[dev-dependencies]

0 commit comments

Comments
 (0)