kanade-backend 0.43.21

axum + SQLite projection backend for the kanade endpoint-management system. Hosts /api/* and the embedded SPA dashboard, projects JetStream streams into SQLite, drives the cron scheduler
# 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-backend"
version = "0.43.21"
authors = ["yukimemi <yukimemi@gmail.com>"]
build = false
include = [
    "src/**/*",
    "migrations/**/*",
    "web/dist/**/*",
    "Cargo.toml",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "axum + SQLite projection backend for the kanade endpoint-management system. Hosts /api/* and the embedded SPA dashboard, projects JetStream streams into SQLite, drives the cron scheduler"
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-backend"
path = "src/main.rs"

[dependencies.anyhow]
version = "1.0.102"

[dependencies.argon2]
version = "0.5.3"

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

[dependencies.axum]
version = "0.8.9"
features = ["multipart"]

[dependencies.base64]
version = "0.22.1"

[dependencies.bytes]
version = "1.11.1"

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

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

[dependencies.futures]
version = "0.3.32"

[dependencies.humantime]
version = "2.3.0"

[dependencies.jsonwebtoken]
version = "10.4.0"
features = ["rust_crypto"]
default-features = false

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

[dependencies.mime_guess]
version = "2.0.5"

[dependencies.rand]
version = "0.10"

[dependencies.regex]
version = "1.12.3"

[dependencies.rust-embed]
version = "8.11.0"

[dependencies.schemars]
version = "1.2.1"
features = [
    "chrono04",
    "uuid1",
]

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

[dependencies.serde_json]
version = "1.0.150"

[dependencies.serde_yaml]
version = "0.9.34"

[dependencies.sqlx]
version = "0.9.0"
features = [
    "runtime-tokio",
    "sqlite",
    "macros",
    "chrono",
    "migrate",
]

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

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

[dependencies.tokio-util]
version = "0.7.18"
features = ["io"]

[dependencies.tower]
version = "0.5.3"

[dependencies.tower-http]
version = "0.6.11"
features = [
    "cors",
    "trace",
]

[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.2"
features = [
    "v4",
    "v5",
    "serde",
]

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

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