# 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.82"
name = "grounded-envoy"
version = "0.1.0"
authors = ["oldnordic"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Message/coordination server for AI coding agents using sqlitegraph pub/sub"
homepage = "https://github.com/oldnordic/envoy"
documentation = "https://github.com/oldnordic/envoy/blob/master/MANUAL.md"
readme = "README.md"
keywords = [
    "agent",
    "coordination",
    "messaging",
    "llm",
    "sqlite",
]
categories = [
    "network-programming",
    "database-implementations",
    "asynchronous",
]
license = "GPL-3.0-only"
repository = "https://github.com/oldnordic/envoy"

[features]
atheneum = ["dep:atheneum"]
default = ["atheneum"]

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

[[bin]]
name = "backfill"
path = "src/bin/backfill.rs"

[[bin]]
name = "envoy"
path = "src/main.rs"

[[bin]]
name = "envoy-hook"
path = "src/bin/hook.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.ahash]
version = "0.8"

[dependencies.anyhow]
version = "1"

[dependencies.atheneum]
version = "0.1.2"
optional = true

[dependencies.axum]
version = "0.8"
features = ["ws"]

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

[dependencies.futures]
version = "0.3"

[dependencies.hyper]
version = "1.0"
features = ["full"]

[dependencies.parking_lot]
version = "0.12"

[dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[dependencies.serde_json]
version = "1"

[dependencies.sqlitegraph]
version = "3.0.7"

[dependencies.thiserror]
version = "1"

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

[dependencies.tower]
version = "0.5"
features = ["util"]

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

[dependencies.ureq]
version = "2"
features = ["json"]
default-features = false

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

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

[dev-dependencies.rusqlite]
version = "0.31"
features = ["bundled"]

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

[dev-dependencies.tokio]
version = "1"
features = ["full"]

[dev-dependencies.tokio-tungstenite]
version = "0.26"

[dev-dependencies.tower]
version = "0.5"
features = ["util"]
