# 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-gateway-client"
version = "0.11.0-beta.1"
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Client for interacting with the gateway"
homepage = "https://fedimint.org"
readme = "README.md"
keywords = [
    "bitcoin",
    "lightning",
    "chaumian",
    "e-cash",
    "federated",
]
license = "MIT"
repository = "https://github.com/fedimint/fedimint"
resolver = "2"

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

[features]
default = ["tor"]
tor = ["fedimint-gateway-common/tor"]

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

[[bin]]
name = "gateway-cli"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.98"

[dependencies.bcrypt]
version = "0.16.0"

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

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.5.60"
features = [
    "derive",
    "env",
]

[dependencies.clap_complete]
version = "4.5.66"

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

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

[dependencies.fedimint-eventlog]
version = "=0.11.0-beta.1"

[dependencies.fedimint-gateway-common]
version = "=0.11.0-beta.1"
package = "fedimint-gateway-common"

[dependencies.fedimint-ln-common]
version = "=0.11.0-beta.1"

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

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

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.48.0"

[dependencies.tracing]
version = "0.1.44"
features = ["log"]

[build-dependencies.fedimint-build]
version = "=0.11.0-beta.1"

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