[package]
name = "mempool_space_api"
version = "0.2.0"
edition = "2024"
rust-version = "1.85.0"
authors = ["ValuedMammal <valuedmammal@protonmail.com>"]
homepage = "https://github.com/ValuedMammal/mempool-api"
repository = "https://github.com/ValuedMammal/mempool-api"
documentation = "https://docs.rs/mempool_space_api"
description = "Generic asynchronous client library for mempool.space API"
license = "MIT OR Apache-2.0"
readme = "README.md"
[package.metadata.docs.rs]
features = ["bitreq"]
[dependencies]
bitcoin = { version = "0.32.8", default-features = false, features = ["serde"] }
serde = { version = "1", features = ["derive"] }
serde_json = "1"
bytes = { version = "1", optional = true }
bitreq = { version = "0.3.1", features = ["async-https"], optional = true }
tokio = { version = "1", features = ["macros", "rt-multi-thread", "time"], optional = true }
[dev-dependencies]
anyhow = "1"
futures = { version = "0.3" }
log = { version = "0.4" }
mempool_space_api = { path = ".", features = ["bitreq"] }
miniscript = { version = "13" }
pretty_env_logger = "0.5.0"
[features]
default = []
bitreq = ["dep:bitreq", "tokio", "bytes"]
[[example]]
name = "client"
[[example]]
name = "sync"