# 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 = "2021"
rust-version = "1.85"
name = "kindling-server"
version = "0.3.0"
authors = ["aneki <josh@eddacraft.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Local daemon runtime for kindling memory, exposed over a project-aware local API."
homepage = "https://docs.eddacraft.ai/kindling/overview"
documentation = "https://docs.rs/kindling-server"
readme = "README.md"
keywords = [
    "memory",
    "ai",
    "daemon",
    "context",
    "agent",
]
categories = ["development-tools"]
license = "Apache-2.0"
repository = "https://github.com/eddacraft/kindling"

[lib]
name = "kindling_server"
path = "src/lib.rs"

[[test]]
name = "api"
path = "tests/api.rs"

[[test]]
name = "idle"
path = "tests/idle.rs"

[dependencies.axum]
version = "0.8"

[dependencies.chrono]
version = "0.4"
features = [
    "clock",
    "std",
]
default-features = false

[dependencies.kindling-service]
version = "0.3.0"

[dependencies.kindling-store]
version = "0.3.0"

[dependencies.kindling-types]
version = "0.3.0"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
    "signal",
    "sync",
]

[dependencies.tower]
version = "0.5"

[dev-dependencies.http-body-util]
version = "0.1"

[dev-dependencies.hyper]
version = "1"
features = [
    "client",
    "http1",
]

[dev-dependencies.hyper-util]
version = "0.1"
features = [
    "client",
    "client-legacy",
    "http1",
    "tokio",
]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
    "net",
    "time",
]

[target."cfg(unix)".dependencies.nix]
version = "0.31"
features = [
    "signal",
    "process",
]

[lints.clippy.all]
level = "warn"
priority = -1

[lints.rust]
unsafe_code = "forbid"
