Files
cdk/crates/cdk-payment-processor/Cargo.toml
thesimplekid e016687d20 feat: remove fedimint tonic lnd (#831)
* feat: remove fedimint tonic lnd
2025-06-23 10:59:44 +01:00

67 lines
1.7 KiB
TOML

[package]
name = "cdk-payment-processor"
version.workspace = true
edition.workspace = true
authors = ["CDK Developers"]
description = "CDK payment processor"
homepage = "https://github.com/cashubtc/cdk"
repository = "https://github.com/cashubtc/cdk.git"
rust-version.workspace = true # MSRV
license.workspace = true
readme = "README.md"
[[bin]]
name = "cdk-payment-processor"
path = "src/bin/payment_processor.rs"
[features]
default = ["cln", "fake", "lnd"]
bench = []
cln = ["dep:cdk-cln"]
fake = ["dep:cdk-fake-wallet"]
lnd = ["dep:cdk-lnd"]
[dependencies]
anyhow.workspace = true
async-trait.workspace = true
bitcoin.workspace = true
cdk-common = { workspace = true, features = ["mint"] }
cdk-cln = { workspace = true, optional = true }
cdk-lnd = { workspace = true, optional = true }
cdk-fake-wallet = { workspace = true, optional = true }
serde.workspace = true
thiserror.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
lightning-invoice.workspace = true
uuid = { workspace = true, optional = true }
utoipa = { workspace = true, optional = true }
futures.workspace = true
serde_json.workspace = true
serde_with.workspace = true
tonic = { workspace = true, features = ["router"] }
prost.workspace = true
tokio-stream.workspace = true
tokio-util = { workspace = true, default-features = false }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { workspace = true, features = [
"rt-multi-thread",
"time",
"macros",
"sync",
"signal"
] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { workspace = true, features = ["rt", "macros", "sync", "time"] }
[dev-dependencies]
rand.workspace = true
bip39.workspace = true
[build-dependencies]
tonic-build.workspace = true