# 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.88.0"
name = "aifed-daemon"
version = "0.1.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Long-running background daemon for aifed: edit-history, concurrency tracking, and a local code index served over a Unix socket"
readme = "README.md"
keywords = [
    "ai",
    "agent",
    "lsp",
    "daemon",
    "editor",
]
categories = [
    "development-tools",
    "command-line-utilities",
]
license = "MIT"
repository = "https://github.com/ImitationGameLabs/aifed"

[[bin]]
name = "aifed-daemon"
path = "src/main.rs"

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

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

[dependencies.aifed-common]
version = "0.1.0"

[dependencies.anyhow]
version = "1"

[dependencies.async-trait]
version = "0.1"

[dependencies.axum]
version = "0.8"
features = [
    "tokio",
    "json",
    "http1",
    "query",
]
default-features = false

[dependencies.clap]
version = "4"
features = ["derive"]

[dependencies.dirs]
version = "6"

[dependencies.libc]
version = "0.2"

[dependencies.logroller]
version = "0.1"

[dependencies.lsp-types]
version = "0.95"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = [
    "serde",
    "serde-well-known",
    "formatting",
    "parsing",
    "local-offset",
    "macros",
]

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

[dependencies.tower]
version = "0.5"

[dependencies.tracing]
version = "0.1"

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

[dependencies.xxhash-rust]
version = "0.8"
features = [
    "xxh64",
    "xxh3",
]

[dev-dependencies.aifed-common]
version = "0.1.0"

[dev-dependencies.aifed-daemon-client]
version = "0.1.0"

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

[dev-dependencies.hyper]
version = "1"

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

[dev-dependencies.hyperlocal]
version = "0.9"
features = ["client"]

[dev-dependencies.serde_json]
version = "1"

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

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