X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;ds=sidebyside;f=lightning-transaction-sync%2FCargo.toml;h=7b72a00e60d04dac52662db6bf8c9ef39bf0b966;hb=ba1349982ba28657c9e2d03a5b02c3ecc054b5cc;hp=395410951db5c061f859b17d9fa7790dc4981e20;hpb=af76face12e924132596479f8b54849b14414f84;p=rust-lightning diff --git a/lightning-transaction-sync/Cargo.toml b/lightning-transaction-sync/Cargo.toml index 39541095..7b72a00e 100644 --- a/lightning-transaction-sync/Cargo.toml +++ b/lightning-transaction-sync/Cargo.toml @@ -16,6 +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-blocking = ["esplora-client/blocking"] async-interface = [] @@ -24,11 +25,11 @@ lightning = { version = "0.0.114", path = "../lightning", default-features = fal bitcoin = { version = "0.29.0", default-features = false } bdk-macros = "0.6" futures = { version = "0.3", optional = true } -esplora-client = { version = "0.3.0", default-features = false, optional = true } +esplora-client = { version = "0.4", default-features = false, optional = true } +reqwest = { version = "0.11", optional = true, default-features = false, features = ["json"] } [dev-dependencies] lightning = { version = "0.0.114", path = "../lightning", features = ["std"] } electrsd = { version = "0.22.0", features = ["legacy", "esplora_a33e97e1", "bitcoind_23_0"] } electrum-client = "0.12.0" -once_cell = "1.16.0" tokio = { version = "1.14.0", features = ["full"] }