[package]
name = "fedimint-wallet-client"
version = { workspace = true }
authors = { workspace = true }
edition = { workspace = true }
description = "fedimint-wallet is a n on-chain bitcoin wallet module. It uses a key-value store and is not a standard HD wallet."
license = { workspace = true }
readme = { workspace = true }
repository = { workspace = true }
[package.metadata.docs.rs]
rustc-args = ["--cfg", "tokio_unstable"]
[features]
default = []
cli = ["dep:clap"]
[lib]
name = "fedimint_wallet_client"
path = "src/lib.rs"
[dependencies]
anyhow = { workspace = true }
aquamarine = { workspace = true }
async-stream = { workspace = true }
async-trait = { workspace = true }
bitcoin = { workspace = true }
clap = { workspace = true, optional = true }
erased-serde = { workspace = true }
fedimint-api-client = { workspace = true }
fedimint-client = { workspace = true }
fedimint-core = { workspace = true }
fedimint-eventlog = { workspace = true }
fedimint-logging = { workspace = true }
fedimint-wallet-common = { workspace = true }
futures = { workspace = true }
rand = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
tokio = { workspace = true }
tracing = { workspace = true }
[target.'cfg(not(target_family = "wasm"))'.dependencies]
fedimint-bitcoind = { workspace = true }
[target.'cfg(target_family = "wasm")'.dependencies]
fedimint-bitcoind = { version = "=0.6.0", path = "../../fedimint-bitcoind", default-features = false, features = [
"esplora-client",
] }