# 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 = "gradatum-server"
version = "0.3.7"
authors = ["Gradatum Contributors"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Stateless HTTP/MCP façade :19090 — handles read/search + enqueues writes"
readme = "README.md"
license = "Apache-2.0"
repository = "https://github.com/gradatum/gradatum"

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

[[bin]]
name = "gradatum-server"
path = "src/main.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.anyhow]
version = "=1.0.102"

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

[dependencies.axum]
version = "=0.8.9"

[dependencies.bincode]
version = "=2.0.1"
features = ["serde"]

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

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

[dependencies.figment]
version = "=0.10.19"
features = [
    "toml",
    "env",
]

[dependencies.gradatum-acl-auth]
version = "0.3.6"

[dependencies.gradatum-acl-policy]
version = "0.3.6"

[dependencies.gradatum-auth]
version = "0.3.6"

[dependencies.gradatum-cache]
version = "0.3.6"

[dependencies.gradatum-chat]
version = "0.3.6"

[dependencies.gradatum-core]
version = "0.3.6"

[dependencies.gradatum-curator]
version = "0.3.6"

[dependencies.gradatum-db-sqlite]
version = "0.3.5"

[dependencies.gradatum-dto]
version = "0.3.6"

[dependencies.gradatum-embed]
version = "0.3.6"

[dependencies.gradatum-index]
version = "0.3.6"

[dependencies.gradatum-queue]
version = "0.3.6"

[dependencies.gradatum-search]
version = "0.3.6"

[dependencies.gradatum-storage]
version = "0.3.6"

[dependencies.gradatum-vault]
version = "0.3.6"

[dependencies.gradatum-warden]
version = "0.3.6"

[dependencies.prometheus-client]
version = "=0.22.3"

[dependencies.rmcp]
version = "=1.6.0"
features = [
    "server",
    "macros",
]

[dependencies.rusqlite]
version = "=0.32.1"
features = [
    "bundled",
    "chrono",
]

[dependencies.secrecy]
version = "=0.10.3"

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

[dependencies.serde_json]
version = "=1.0.149"

[dependencies.sqlx]
version = "=0.8.6"
features = [
    "sqlite",
    "runtime-tokio",
    "macros",
]

[dependencies.thiserror]
version = "=2.0.18"

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

[dependencies.tokio-stream]
version = "=0.1.18"
features = ["sync"]

[dependencies.tower]
version = "=0.5.2"

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

[dependencies.tracing]
version = "=0.1.44"

[dependencies.tracing-subscriber]
version = "=0.3.23"
features = [
    "env-filter",
    "json",
]

[dependencies.ulid]
version = "=1.2.1"
features = ["serde"]

[dev-dependencies.gradatum-curator]
version = "0.3.6"

[dev-dependencies.gradatum-worker]
version = "0.3.6"

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

[dev-dependencies.nix]
version = "=0.31.2"
features = [
    "fs",
    "signal",
    "process",
]

[dev-dependencies.reqwest]
version = "=0.13.3"
features = [
    "rustls",
    "json",
    "stream",
]
default-features = false

[dev-dependencies.secrecy]
version = "=0.10.3"

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

[dev-dependencies.toml]
version = "=1.1.2"

[target.'cfg(target_os = "linux")'.dependencies.async-trait]
version = "=0.1.89"

[target.'cfg(target_os = "linux")'.dependencies.sd-notify]
version = "0.4"
