# 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-runtime"
version = "0.3.0"
authors = ["aneki <josh@eddacraft.io>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Anvil-first integration facade for kindling: one dependency bundling daemon startup, client wiring, and durable emit."
homepage = "https://docs.eddacraft.ai/kindling/overview"
documentation = "https://docs.rs/kindling-runtime"
readme = "README.md"
keywords = [
    "memory",
    "ai",
    "context",
    "daemon",
    "agent",
]
categories = [
    "development-tools",
    "api-bindings",
]
license = "Apache-2.0"
repository = "https://github.com/eddacraft/kindling"

[package.metadata.docs.rs]
all-features = true

[features]
client = ["dep:kindling-client"]
default = [
    "client",
    "spool",
    "embedded-daemon",
]
embedded-daemon = [
    "client",
    "dep:kindling-server",
]
external-spawn = ["client"]
spool = [
    "client",
    "kindling-client/spool",
]

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

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

[dependencies.kindling-client]
version = "0.3.0"
optional = true

[dependencies.kindling-server]
version = "0.3.0"
optional = true

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

[dependencies.thiserror]
version = "2"

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

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

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

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

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

[lints.rust]
unsafe_code = "forbid"
