kanade-backend 0.7.0

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.7.0"
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"

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

[dependencies.axum]
version = "0.8"

[dependencies.bytes]
version = "1"

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

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

[dependencies.futures]
version = "0.3"

[dependencies.humantime]
version = "2"

[dependencies.jsonwebtoken]
version = "10"

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

[dependencies.mime_guess]
version = "2"

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

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

[dependencies.serde_json]
version = "1"

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

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

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

[dependencies.tower]
version = "0.5"

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

[dependencies.tracing]
version = "0.1"

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

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

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