2023-03-02 16:23:06 +11:00
|
|
|
[package]
|
|
|
|
name = "bdk_esplora"
|
2024-04-11 19:51:15 -05:00
|
|
|
version = "0.11.0"
|
2023-03-02 16:23:06 +11:00
|
|
|
edition = "2021"
|
|
|
|
homepage = "https://bitcoindevkit.org"
|
2023-03-02 19:15:36 +01:00
|
|
|
repository = "https://github.com/bitcoindevkit/bdk"
|
2023-03-02 16:23:06 +11:00
|
|
|
documentation = "https://docs.rs/bdk_esplora"
|
|
|
|
description = "Fetch data from esplora in the form that accepts"
|
|
|
|
license = "MIT OR Apache-2.0"
|
|
|
|
readme = "README.md"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-04-11 19:51:15 -05:00
|
|
|
bdk_chain = { path = "../chain", version = "0.12.0", default-features = false }
|
2023-10-16 19:51:53 +11:00
|
|
|
esplora-client = { version = "0.7.0", default-features = false }
|
2023-03-09 10:59:18 +13:00
|
|
|
async-trait = { version = "0.1.66", optional = true }
|
|
|
|
futures = { version = "0.3.26", optional = true }
|
2023-03-03 12:07:04 +01:00
|
|
|
|
2023-03-15 11:44:52 -05:00
|
|
|
# use these dependencies if you need to enable their /no-std features
|
2023-10-16 19:51:53 +11:00
|
|
|
bitcoin = { version = "0.31.0", optional = true, default-features = false }
|
|
|
|
miniscript = { version = "11.0.0", optional = true, default-features = false }
|
2023-03-15 11:44:52 -05:00
|
|
|
|
2024-02-02 18:33:18 +08:00
|
|
|
[dev-dependencies]
|
2023-10-16 19:51:53 +11:00
|
|
|
bdk_testenv = { path = "../testenv", default_features = false }
|
|
|
|
electrsd = { version= "0.27.1", features = ["bitcoind_25_0", "esplora_a33e97e1", "legacy"] }
|
2023-09-04 00:20:45 -05:00
|
|
|
tokio = { version = "1", features = ["rt", "rt-multi-thread", "macros"] }
|
2024-04-03 14:29:02 +08:00
|
|
|
anyhow = "1"
|
2023-09-04 00:20:45 -05:00
|
|
|
|
2023-03-03 12:07:04 +01:00
|
|
|
[features]
|
2024-04-18 15:07:48 -04:00
|
|
|
default = ["std", "async-https", "blocking-https-rustls"]
|
2023-03-15 11:44:52 -05:00
|
|
|
std = ["bdk_chain/std"]
|
2023-03-09 10:59:18 +13:00
|
|
|
async = ["async-trait", "futures", "esplora-client/async"]
|
|
|
|
async-https = ["async", "esplora-client/async-https"]
|
2023-10-16 12:56:19 -04:00
|
|
|
async-https-rustls = ["async", "esplora-client/async-https-rustls"]
|
2023-03-03 12:07:04 +01:00
|
|
|
blocking = ["esplora-client/blocking"]
|
2024-04-18 15:07:48 -04:00
|
|
|
blocking-https-rustls = ["esplora-client/blocking-https-rustls"]
|