[package]
name = "fedimint-wallet-client"
version = { workspace = true }
authors = ["The Fedimint Developers"]
edition = "2021"
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 = "MIT"
readme = "../../README.md"
repository = "https://github.com/fedimint/fedimint"
[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-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.5.0", path = "../../fedimint-bitcoind", default-features = false, features = [
"esplora-client",
] }