cdk-payment-processor 0.15.1

CDK payment processor
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2021"
rust-version = "1.85.0"
name = "cdk-payment-processor"
version = "0.15.1"
authors = ["CDK Developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CDK payment processor"
homepage = "https://github.com/cashubtc/cdk"
readme = "README.md"
license = "MIT"
repository = "https://github.com/cashubtc/cdk.git"

[features]
bench = []
cln = [
    "dep:cdk-cln",
    "dep:cdk-sqlite",
]
default = [
    "cln",
    "fake",
    "lnd",
]
fake = ["dep:cdk-fake-wallet"]
lnd = ["dep:cdk-lnd"]

[lib]
name = "cdk_payment_processor"
path = "src/lib.rs"

[[bin]]
name = "cdk-payment-processor"
path = "src/bin/payment_processor.rs"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.bitcoin]
version = "0.32.2"
features = [
    "base64",
    "serde",
    "rand",
    "rand-std",
]

[dependencies.cashu]
version = "=0.15.1"
default-features = false

[dependencies.cdk-cln]
version = "=0.15.1"
optional = true

[dependencies.cdk-common]
version = "=0.15.1"
features = [
    "mint",
    "grpc",
]
default-features = false

[dependencies.cdk-fake-wallet]
version = "=0.15.1"
optional = true

[dependencies.cdk-lnd]
version = "=0.15.1"
optional = true

[dependencies.cdk-sqlite]
version = "=0.15.1"
optional = true
default-features = true

[dependencies.clap]
version = "4.5.31"
features = [
    "derive",
    "derive",
]

[dependencies.futures]
version = "0.3.28"
features = ["async-await"]
default-features = false

[dependencies.hex]
version = "0.4"

[dependencies.lightning]
version = "0.2.0"
features = ["std"]
default-features = false

[dependencies.lightning-invoice]
version = "0.34.0"
features = [
    "serde",
    "std",
]

[dependencies.prost]
version = "0.14"

[dependencies.serde]
version = "1"
features = [
    "derive",
    "rc",
]

[dependencies.serde_json]
version = "1"

[dependencies.serde_with]
version = "3"

[dependencies.thiserror]
version = "2"

[dependencies.tokio-stream]
version = "0.1.15"

[dependencies.tokio-util]
version = "0.7.11"
default-features = false

[dependencies.tonic]
version = "0.14.2"
features = [
    "transport",
    "tls-ring",
    "codegen",
    "router",
]
default-features = false

[dependencies.tonic-prost]
version = "0.14.2"

[dependencies.tracing]
version = "0.1"
features = [
    "attributes",
    "log",
]
default-features = false

[dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]

[dependencies.utoipa]
version = "5.3.1"
features = [
    "preserve_order",
    "preserve_path_order",
]
optional = true

[dependencies.uuid]
version = "1.17"
features = [
    "v4",
    "serde",
]

[dev-dependencies.bip39]
version = "2.0"
features = ["rand"]

[dev-dependencies.rand]
version = "0.9.1"

[build-dependencies.tonic-prost-build]
version = "0.14.2"

[target.'cfg(not(target_arch = "wasm32"))'.dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "test-util",
    "sync",
    "rt-multi-thread",
    "time",
    "macros",
    "sync",
    "signal",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "test-util",
    "sync",
    "rt",
    "macros",
    "sync",
    "time",
]
default-features = false

[target.'cfg(target_arch = "wasm32")'.dependencies.uuid]
version = "1.17"
features = [
    "v4",
    "serde",
    "js",
]
optional = true

[lints.clippy]
large_enum_variant = "warn"
missing_panics_doc = "warn"
missing_safety_doc = "warn"
unwrap_used = "deny"
use_debug = "warn"

[lints.rust]
missing_debug_implementations = "warn"
missing_docs = "warn"
unsafe_code = "forbid"

[lints.rustdoc]
bare_urls = "warn"