[package]
name = "fedimint-client"
version = { workspace = true }
authors = ["The Fedimint Developers"]
edition = "2021"
description = "fedimint-client provides a library for sending transactions to the federation."
license = "MIT"
readme = "../README.md"
repository = "https://github.com/fedimint/fedimint"
[package.metadata.cargo-udeps.ignore]
normal = ["aquamarine"]
[package.metadata.docs.rs]
rustc-args = ["--cfg", "tokio_unstable"]
[lib]
name = "fedimint_client"
path = "src/lib.rs"
[dependencies]
anyhow = { workspace = true }
aquamarine = "0.5.0"
async-stream = "0.3.5"
async-trait = { workspace = true }
bitcoin = { workspace = true }
fedimint-aead = { version = "=0.4.3", path = "../crypto/aead" }
fedimint-api-client = { workspace = true }
fedimint-core = { workspace = true }
fedimint-derive-secret = { version = "=0.4.3", path = "../crypto/derive-secret" }
fedimint-logging = { workspace = true }
futures = { workspace = true }
itertools = { workspace = true }
rand = { workspace = true }
reqwest = { version = "0.12.2", features = ["json", "rustls-tls"], default-features = false }
secp256k1-zkp = "0.9.2"
serde = { workspace = true }
serde_json = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
thiserror = { workspace = true }
tokio = { version = "1.38.0", features = [ "time", "macros", "rt" ] }
tokio-stream = { version = "0.1.15", features = [ "time", "sync" ] }
tracing = { workspace = true }
[target.'cfg(target_family = "wasm")'.dependencies]
ring = { version = "0.17.8", features = ["wasm32_unknown_unknown_js"] }
[dev-dependencies]
tracing-test = "0.2.5"
[build-dependencies]
fedimint-build = { version = "=0.4.3", path = "../fedimint-build" }