# 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"
name = "aa-runtime"
version = "0.0.1-alpha.8"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Tokio async runtime wrapper and lifecycle management for Agent Assembly"
readme = false
license = "Apache-2.0"
repository = "https://github.com/ai-agent-assembly/agent-assembly"

[features]
default = []
integration-test = []

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

[[bin]]
name = "aa-runtime"
path = "src/main.rs"

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

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

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

[dependencies.aa-core]
version = "0.0.1-alpha.8"
features = ["serde"]

[dependencies.aa-proto]
version = "0.0.1-alpha.8"

[dependencies.aa-security]
version = "0.0.1-alpha.8"
features = ["serde"]

[dependencies.aa-storage-sqlite-buffer]
version = "0.0.1-alpha.8"

[dependencies.async-nats]
version = "0.49"

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

[dependencies.axum]
version = "0.8"

[dependencies.bitflags]
version = "2"

[dependencies.bytes]
version = "1"

[dependencies.dashmap]
version = "6"

[dependencies.metrics]
version = "0.24"

[dependencies.metrics-exporter-prometheus]
version = "0.18"

[dependencies.prost]
version = "0.14"

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

[dependencies.serde_json]
version = "1"

[dependencies.sha2]
version = "0.11"

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

[dependencies.tokio-stream]
version = "0.1"

[dependencies.tokio-util]
version = "0.7"
features = ["rt"]

[dependencies.toml]
version = "1.1"

[dependencies.tonic]
version = "0.14"
features = ["transport"]

[dependencies.tracing]
version = "0.1"

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

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

[dependencies.which]
version = "8"

[dev-dependencies.metrics-util]
version = "0.20"
features = ["debugging"]

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

[dev-dependencies.testcontainers-modules]
version = "0.15"
features = ["nats"]

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

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

[target.'cfg(target_os = "linux")'.dependencies.aa-ebpf]
version = "0.0.1-alpha.8"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"

[lints.clippy]
all = "warn"
complexity = "warn"
correctness = "deny"
perf = "warn"
style = "warn"
suspicious = "deny"
