esplora-client 0.13.0

Asynchronous and blocking clients and types for interacting with Esplora servers over HTTP
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.75.0"
name = "esplora-client"
version = "0.13.0"
authors = [
    "Alekos Filini <alekos.filini@gmail.com>",
    "Bitcoin Dev Kit Developers",
]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Asynchronous and blocking clients and types for interacting with Esplora servers over HTTP"
homepage = "https://github.com/bitcoindevkit/rust-esplora-client"
documentation = "https://docs.rs/esplora-client/"
readme = "README.md"
keywords = [
    "bitcoin",
    "esplora",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bitcoindevkit/rust-esplora-client"

[package.metadata.rbmt.toolchains]
stable = "1.96.0"
nightly = "nightly-2026-05-08"

[package.metadata.rbmt.lint]
allowed_duplicates = [
    "getrandom",
    "windows-sys",
    "wit-bindgen",
]

[package.metadata.rbmt.test]
exclude_features = [
    "tokio",
    "async-https",
    "async-https-native",
    "async-https-rustls",
    "async-https-rustls-probe",
    "blocking-https",
    "blocking-https-native",
    "blocking-https-rustls",
    "blocking-https-rustls-probe",
]
exact_features = [
    [
    "async",
    "blocking",
],
    [
    "async-https",
    "blocking-https",
    "tokio",
],
    [
    "async-https-native",
    "blocking-https-native",
    "tokio",
],
    [
    "async-https-rustls",
    "blocking-https-rustls",
    "tokio",
],
    [
    "async-https-rustls-probe",
    "blocking-https-rustls-probe",
    "tokio",
],
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
async = [
    "bitreq/async",
    "bitreq/proxy",
    "bitreq/json-using-serde",
    "tokio?/time",
]
async-https = [
    "async",
    "bitreq/async-https",
]
async-https-native = [
    "async",
    "bitreq/async-https-native-tls",
]
async-https-rustls = [
    "async",
    "bitreq/async-https-rustls",
]
async-https-rustls-probe = [
    "async",
    "bitreq/async-https-rustls-probe",
]
blocking = [
    "bitreq/proxy",
    "bitreq/json-using-serde",
]
blocking-https = [
    "blocking",
    "bitreq/https",
]
blocking-https-native = [
    "blocking",
    "bitreq/https-native-tls",
]
blocking-https-rustls = [
    "blocking",
    "bitreq/https-rustls",
]
blocking-https-rustls-probe = [
    "blocking",
    "bitreq/https-rustls-probe",
]
default = [
    "blocking",
    "blocking-https",
    "async",
    "async-https",
    "tokio",
]
tokio = ["dep:tokio"]

[lib]
name = "esplora_client"
path = "src/lib.rs"

[[test]]
name = "address"
path = "tests/address.rs"

[[test]]
name = "block"
path = "tests/block.rs"

[[test]]
name = "mempool"
path = "tests/mempool.rs"

[[test]]
name = "scripthash"
path = "tests/scripthash.rs"

[[test]]
name = "transaction"
path = "tests/transaction.rs"

[dependencies.bitcoin]
version = "0.32"
features = [
    "serde",
    "std",
]
default-features = false

[dependencies.bitreq]
version = "0.3.7"
optional = true

[dependencies.hex]
version = "0.2.2"
package = "hex-conservative"

[dependencies.serde]
version = "1.0.194"
features = ["derive"]

[dependencies.serde_json]
version = "1.0.117"
features = ["std"]
default-features = false

[dependencies.tokio]
version = "1"
features = ["time"]
optional = true

[dev-dependencies.electrsd]
version = "0.40.0"
features = [
    "legacy",
    "esplora_a33e97e1",
    "bitcoind_download",
    "bitcoind_29_0",
]
default-features = false

[dev-dependencies.log]
version = "0.4.29"

[dev-dependencies.native-tls]
version = "0.2.11"

[dev-dependencies.openssl]
version = "0.10.78"

[dev-dependencies.openssl-sys]
version = "0.9.114"

[dev-dependencies.security-framework]
version = "=2.11.1"

[dev-dependencies.tar]
version = "0.4.45"

[dev-dependencies.tempfile]
version = "=3.15.0"

[dev-dependencies.tokio]
version = "1"
features = ["full"]