From 527c061198060817ea0ea5ff5c497a77358aa364 Mon Sep 17 00:00:00 2001 From: Steve Myers Date: Fri, 29 Apr 2022 12:15:31 -0700 Subject: [PATCH] Pin transitive dependency http to version 0.2.6 This is required because it's MSRV has been updated to 1.49 and bdk MSRV is still 1.46. --- Cargo.toml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 63d81e75f..7adad28e2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,6 +26,9 @@ electrum-client = { version = "0.8", optional = true } rusqlite = { version = "0.25.3", optional = true } ahash = { version = "=0.7.4", optional = true } reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] } +# pinned http versions to work with MSRV 1.46 +http = { version = "=0.2.6", optional = true } + ureq = { version = "~2.2.0", features = ["json"], optional = true } futures = { version = "0.3", optional = true } async-trait = { version = "0.1", optional = true } @@ -78,7 +81,7 @@ rpc = ["bitcoincore-rpc"] async-interface = ["async-trait"] electrum = ["electrum-client"] # MUST ALSO USE `--no-default-features`. -use-esplora-reqwest = ["esplora", "reqwest", "reqwest/socks", "futures"] +use-esplora-reqwest = ["esplora", "reqwest", "http", "reqwest/socks", "futures"] use-esplora-ureq = ["esplora", "ureq", "ureq/socks"] # Typical configurations will not need to use `esplora` feature directly. esplora = []