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.
This commit is contained in:
Elias Rohrer 2023-11-24 12:48:22 +01:00
parent c2e81fbb82
commit 31ea90eba2
No known key found for this signature in database
GPG key ID: 36153082BDF676FD

View file

@ -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]