[package]
name = "fedimint-ln-gateway"
version = {workspace = true}
authors = ["The Fedimint Developers"]
edition = "2021"
description = "fedimint-ln-gateway sends/receives Lightning Network payments on behalf of Fedimint clients"
license = "MIT"
readme = "../../README.md"
repository = "https://github.com/fedimint/fedimint"
[lib]
name = "ln_gateway"
path = "src/lib.rs"
[[bin]]
name = "gatewayd"
path = "src/bin/gatewayd.rs"
[[bin]]
name = "gateway-cln-extension"
path = "src/bin/cln_extension.rs"
[[test]]
name = "gatewayd-tests"
path = "tests/tests.rs"
[dependencies]
anyhow = { workspace = true }
async-stream = "0.3.5"
async-trait = { workspace = true }
axum = "0.7.5"
axum-macros = "0.4.1"
aquamarine = "0.5.0"
bitcoin = { workspace = true }
bitcoin_hashes = { workspace = true }
clap = { workspace = true }
cln-plugin = "=0.1.7"
cln-rpc = { workspace = true }
fedimint-client = { workspace = true }
fedimint-core = { workspace = true }
fedimint-api-client = { workspace = true }
fedimint-logging = { workspace = true }
fedimint-rocksdb = { version = "=0.4.3", path = "../../fedimint-rocksdb" }
fedimint-ln-client = { workspace = true }
fedimint-ln-common = { version = "=0.4.3", path = "../../modules/fedimint-ln-common" }
fedimint-mint-client = { version = "=0.4.3", path = "../../modules/fedimint-mint-client" }
fedimint-wallet-client = { version = "=0.4.3", path = "../../modules/fedimint-wallet-client" }
fedimint-lnv2-client = { path = "../../modules/fedimint-lnv2-client", version = "=0.4.3" }
fedimint-lnv2-common = { path = "../../modules/fedimint-lnv2-common", version = "=0.4.3" }
tpe = { package = "fedimint-tpe", version = "=0.4.3", path = "../../crypto/tpe" }
futures = { workspace = true }
hex = { workspace = true }
erased-serde = { workspace = true }
lightning-invoice = { workspace = true }
prost = "0.12.6"
rand = { workspace = true }
reqwest = { workspace = true }
secp256k1-zkp = { version = "0.9.2", features = [ "serde" ] }
serde = { workspace = true }
serde_json = { workspace = true }
strum = { workspace = true }
strum_macros = { workspace = true }
thiserror = { workspace = true }
tokio = { version = "1.38", features = ["full"] }
tokio-stream = "0.1.15"
tonic = { version = "0.11.0", features = ["transport", "tls"] }
tonic_lnd = { workspace = true }
tower-http = { version = "0.5.2", features = ["cors", "auth"] }
tracing = { version = "0.1.40", default-features = false, features= ["log", "attributes", "std"] }
url = { version = "2.5.2", features = ["serde"] }
[build-dependencies]
fedimint-build = { version = "=0.4.3", path = "../../fedimint-build" }
tonic-build = "0.11.0"