Skip to content

Commit

Permalink
Merge #341: Use minreq_http feature of jsonrpc
Browse files Browse the repository at this point in the history
93e9af8 Use minreq_http feature of jsonrpc (Tobin C. Harding)

Pull request description:

  Recently in `jsonrpc` we added an HTTP client that uses `minreq`. Since we now use a version of `jsonrpc` with this feature we can now use `minreq` here.

ACKs for top commit:
  apoelstra:
    ACK 93e9af8

Tree-SHA512: ad23bb15a5f03f9f9d2e41bf88e4fdbd0fb470b18a708f88b1b7357152f9e9f869ea1791024c88155f6b1eeec9de7d916155564f611df24f69aede9044e2053e
  • Loading branch information
apoelstra committed May 14, 2024
2 parents 3df239b + 93e9af8 commit 7fefd90
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 1 deletion.
12 changes: 12 additions & 0 deletions Cargo-minimal.lock
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3662a38d341d77efecb73caf01420cfa5aa63c0253fd7bc05289ef9f6616e1bf"
dependencies = [
"base64",
"minreq",
"serde",
"serde_json",
]
Expand Down Expand Up @@ -251,6 +252,17 @@ version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"

[[package]]
name = "minreq"
version = "2.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fdef521c74c2884a4f3570bcdb6d2a77b3c533feb6b27ac2ae72673cc221c64"
dependencies = [
"log",
"serde",
"serde_json",
]

[[package]]
name = "ppv-lite86"
version = "0.2.17"
Expand Down
12 changes: 12 additions & 0 deletions Cargo-recent.lock
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3662a38d341d77efecb73caf01420cfa5aa63c0253fd7bc05289ef9f6616e1bf"
dependencies = [
"base64",
"minreq",
"serde",
"serde_json",
]
Expand Down Expand Up @@ -251,6 +252,17 @@ version = "0.4.18"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"

[[package]]
name = "minreq"
version = "2.11.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6fdef521c74c2884a4f3570bcdb6d2a77b3c533feb6b27ac2ae72673cc221c64"
dependencies = [
"log",
"serde",
"serde_json",
]

[[package]]
name = "ppv-lite86"
version = "0.2.17"
Expand Down
2 changes: 1 addition & 1 deletion client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ path = "src/lib.rs"
bitcoincore-rpc-json = { version = "0.18.0", path = "../json" }

log = "0.4.5"
jsonrpc = { version = "0.18.0", features = [] }
jsonrpc = { version = "0.18.0", features = ["minreq_http"] }

# Used for deserialization of JSON.
serde = "1"
Expand Down

0 comments on commit 7fefd90

Please sign in to comment.