From 31ea90eba235df193dacf85d1c662c258902a8cf Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Fri, 24 Nov 2023 12:48:22 +0100 Subject: [PATCH] Use `esplora-client`'s `async-https-rustls` feature Now that we upgraded `esplora-client` to 0.6 we can use `async-https-rustls` instead of manually overriding the `reqwest` dependency. --- lightning-transaction-sync/Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lightning-transaction-sync/Cargo.toml b/lightning-transaction-sync/Cargo.toml index 1e6dea106..20e03ce6c 100644 --- a/lightning-transaction-sync/Cargo.toml +++ b/lightning-transaction-sync/Cargo.toml @@ -16,7 +16,7 @@ rustdoc-args = ["--cfg", "docsrs"] [features] default = [] esplora-async = ["async-interface", "esplora-client/async", "futures"] -esplora-async-https = ["esplora-async", "reqwest/rustls-tls"] +esplora-async-https = ["esplora-async", "esplora-client/async-https-rustls"] esplora-blocking = ["esplora-client/blocking"] electrum = ["electrum-client"] async-interface = [] @@ -27,7 +27,6 @@ bitcoin = { version = "0.30.2", default-features = false } bdk-macros = "0.6" futures = { version = "0.3", optional = true } esplora-client = { version = "0.6", default-features = false, optional = true } -reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] } electrum-client = { version = "0.18.0", optional = true } [dev-dependencies] -- 2.39.5