[package]
name = "cdk-mint-rpc"
version.workspace = true
edition.workspace = true
authors = ["CDK Developers"]
description = "CDK mintd mint management RPC client and server"
license.workspace = true
homepage = "https://github.com/cashubtc/cdk"
repository = "https://github.com/cashubtc/cdk.git"
rust-version.workspace = true                            # MSRV
readme = "README.md"

# Disable missing docs warnings for generated code
[package.metadata]
rustdoc-args = ["--allow-missing-docs"]

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

[dependencies]
anyhow.workspace = true
cdk = { workspace = true, features = [
    "mint",
] }
cdk-common = { workspace = true, features = ["grpc"] }
clap.workspace = true
tonic = { workspace = true, features = ["transport", "tls-ring", "codegen", "router"] }
tracing.workspace = true
tracing-subscriber.workspace = true
tokio.workspace = true
serde_json.workspace = true
serde.workspace = true
thiserror.workspace = true
tonic-prost.workspace = true
prost.workspace = true
home.workspace = true
rustls.workspace = true


[build-dependencies]
tonic-prost-build.workspace = true

[lints]
workspace = true
