# 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"
rust-version = "1.85"
name = "kanade"
version = "0.37.1"
authors = ["yukimemi <yukimemi@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Admin CLI for the kanade endpoint-management system. Deploy YAML manifests, schedule cron jobs, kill running jobs, revoke commands, publish new agent releases — over NATS + HTTP"
homepage = "https://github.com/yukimemi/kanade"
readme = "README.md"
keywords = [
    "nats",
    "jetstream",
    "endpoint-management",
    "orchestration",
]
categories = [
    "command-line-utilities",
    "network-programming",
]
license = "MIT"
repository = "https://github.com/yukimemi/kanade"
resolver = "2"

[[bin]]
name = "kanade"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.async-nats]
version = "0.48"

[dependencies.bytes]
version = "1.11.1"

[dependencies.chrono]
version = "0.4.44"
features = ["serde"]

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

[dependencies.futures]
version = "0.3.32"

[dependencies.humantime]
version = "2.3.0"

[dependencies.kanade-shared]
version = "0.37.1"

[dependencies.reqwest]
version = "0.13"
features = ["json"]

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_yaml]
version = "0.9"

[dependencies.tokio]
version = "1.52"
features = ["full"]

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-subscriber]
version = "0.3.23"
features = ["env-filter"]

[dependencies.uuid]
version = "1.23.1"
features = [
    "v4",
    "v5",
    "serde",
]

[target.'cfg(target_os = "windows")'.build-dependencies.winres]
version = "0.1.12"
