# 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-lnd"
version = "0.17.2-rc.1"
authors = ["CDK Developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CDK ln backend for lnd"
homepage = "https://github.com/cashubtc/cdk"
readme = "README.md"
license = "MIT"
repository = "https://github.com/cashubtc/cdk.git"

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

[dependencies.anyhow]
version = "1"

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

[dependencies.cdk-common]
version = "=0.17.2-rc.1"
features = ["mint"]
default-features = false

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

[dependencies.http]
version = "1.3.1"

[dependencies.hyper]
version = "1.6.0"
features = [
    "http2",
    "client",
]

[dependencies.hyper-rustls]
version = "0.27.7"
features = [
    "http2",
    "tls12",
    "ring",
]
default-features = false

[dependencies.hyper-util]
version = "0.1.14"
features = ["client"]

[dependencies.prost]
version = "0.14"

[dependencies.rustls]
version = "0.23.27"
features = ["ring"]
default-features = false

[dependencies.rustls-pemfile]
version = "2.2.0"

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "test-util",
    "sync",
    "time",
    "fs",
]
default-features = false

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

[dependencies.tonic]
version = "0.14.2"
features = ["codegen"]
default-features = false

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

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

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

[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"
