# 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 = "2024"
name = "fedimint-ln-common"
version = "0.11.0"
authors = ["The Fedimint Developers"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "fedimint-ln-common is a lightning payment service module (common types)."
readme = "README.md"
license = "MIT"
repository = "https://github.com/fedimint/fedimint"
resolver = "2"

[package.metadata.cargo-udeps.ignore]
normal = ["aquamarine"]

[package.metadata.docs.rs]
rustc-args = [
    "--cfg",
    "tokio_unstable",
]

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

[dependencies.anyhow]
version = "1.0.98"

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

[dependencies.bitcoin]
version = "0.32.6"
features = ["serde"]

[dependencies.fedimint-connectors]
version = "=0.11.0"

[dependencies.fedimint-core]
version = "=0.11.0"

[dependencies.fedimint-logging]
version = "=0.11.0"

[dependencies.iroh]
version = "=0.35.0"
default-features = false

[dependencies.lightning]
version = "0.1.3"

[dependencies.lightning-invoice]
version = "0.33.2"
features = ["std"]

[dependencies.reqwest]
version = "0.12.22"
features = [
    "json",
    "rustls-tls",
    "charset",
    "http2",
    "stream",
]
default-features = false

[dependencies.serde]
version = "1.0.219"
features = ["derive"]

[dependencies.serde-big-array]
version = "0.5.1"

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.threshold_crypto]
version = "0.2.1"
package = "fedimint-threshold-crypto"

[dependencies.tokio]
version = "1.48.0"

[dependencies.tracing]
version = "0.1.44"

[lints.clippy]
dbg_macro = "deny"
literal_string_with_formatting_args = "deny"
