From: Elias Rohrer Date: Fri, 24 Nov 2023 11:48:22 +0000 (+0100) Subject: Use `esplora-client`'s `async-https-rustls` feature X-Git-Tag: v0.0.119~44^2 X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=31ea90eba235df193dacf85d1c662c258902a8cf;p=rust-lightning 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. --- 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]