# 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-mint-rpc"
version = "0.17.2-rc.1"
authors = ["CDK Developers"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "CDK mintd mint management RPC client and server"
homepage = "https://github.com/cashubtc/cdk"
readme = "README.md"
license = "MIT"
repository = "https://github.com/cashubtc/cdk.git"

[package.metadata]
rustdoc-args = ["--allow-missing-docs"]

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

[[bin]]
name = "cdk-mint-cli"
path = "src/bin/mint_rpc_cli.rs"

[dependencies.anyhow]
version = "1"

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

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

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

[dependencies.home]
version = "0.5.5"

[dependencies.prost]
version = "0.14"

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

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "macros",
    "test-util",
    "sync",
    "time",
]
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"]

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

[dev-dependencies.cdk-fake-wallet]
version = "=0.17.2-rc.1"

[dev-dependencies.cdk-sqlite]
version = "=0.17.2-rc.1"
default-features = true

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