kanade-agent 0.41.0

Windows-side resident daemon for the kanade endpoint-management system. Subscribes to commands.* over NATS, runs scripts, publishes WMI inventory + heartbeats, watches for self-updates
# 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-agent"
version = "0.41.0"
authors = ["yukimemi <yukimemi@gmail.com>"]
build = "build.rs"
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Windows-side resident daemon for the kanade endpoint-management system. Subscribes to commands.* over NATS, runs scripts, publishes WMI inventory + heartbeats, watches for self-updates"
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-agent"
path = "src/main.rs"

[[test]]
name = "offline_boot"
path = "tests/offline_boot.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.41.0"

[dependencies.rand]
version = "0.9"

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.sha2]
version = "0.11.0"

[dependencies.sysinfo]
version = "0.39.2"
features = [
    "system",
    "disk",
    "network",
]
default-features = false

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

[dependencies.tokio-cron-scheduler]
version = "0.15"

[dependencies.tracing]
version = "0.1.44"

[dependencies.tracing-appender]
version = "0.2.5"

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

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

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

[dev-dependencies.kanade-shared]
version = "0.41.0"

[dev-dependencies.portpicker]
version = "0.1.1"

[dev-dependencies.tempfile]
version = "3.27.0"

[dev-dependencies.which]
version = "8.0.2"

[target.'cfg(target_os = "windows")'.dependencies.windows]
version = "0.62.2"
features = [
    "Win32_Foundation",
    "Win32_Security",
    "Win32_Storage_FileSystem",
    "Win32_System_Environment",
    "Win32_System_IO",
    "Win32_System_Pipes",
    "Win32_System_RemoteDesktop",
    "Win32_System_StationsAndDesktops",
    "Win32_System_Threading",
]

[target.'cfg(target_os = "windows")'.dependencies.windows-service]
version = "0.8.1"

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