# 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-proxy"
version = "0.0.1-beta.2"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Sidecar traffic interception proxy for Agent Assembly"
readme = false
license = "Apache-2.0"
repository = "https://github.com/ai-agent-assembly/agent-assembly"

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

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

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

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

[[bench]]
name = "intercept_bench"
path = "benches/intercept_bench.rs"
harness = false

[dependencies.aa-core]
version = "0.0.1-beta.2"
features = ["serde"]

[dependencies.aa-proto]
version = "0.0.1-beta.2"

[dependencies.aa-runtime]
version = "0.0.1-beta.2"

[dependencies.aa-security]
version = "0.0.1-beta.2"
features = ["serde"]

[dependencies.anyhow]
version = "1"

[dependencies.bytes]
version = "1"

[dependencies.dirs]
version = "6"

[dependencies.hyper]
version = "1"
features = [
    "server",
    "http1",
]

[dependencies.hyper-util]
version = "0.1"
features = [
    "tokio",
    "server",
]

[dependencies.lru]
version = "0.18"

[dependencies.rcgen]
version = "0.14"
features = ["x509-parser"]

[dependencies.rustls]
version = "0.23"
features = ["ring"]

[dependencies.rustls-native-certs]
version = "0.8"

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

[dependencies.serde_json]
version = "1"

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"

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

[dependencies.tokio-rustls]
version = "0.26"

[dependencies.tracing]
version = "0.1"

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

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

[dev-dependencies.criterion]
version = "0.8"
features = [
    "async_tokio",
    "html_reports",
]

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

[dev-dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
]

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