[package]
edition = "2021"
name = "af-web"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Reusable axum web infrastructure: request-id + latency-SLO middleware, JSON error envelope, health. The cross-cutting half of agent_core/api/."
homepage = "https://github.com/JingYeoh/agent-factory"
readme = "README.md"
keywords = [
"agent",
"llm",
"workflow",
"durable",
"platform",
]
categories = [
"asynchronous",
"development-tools",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/JingYeoh/agent-factory"
[lib]
name = "af_web"
path = "src/lib.rs"
[[test]]
name = "web_coverage"
path = "tests/web_coverage.rs"
[dependencies.axum]
version = "0.8"
[dependencies.serde]
version = "1"
features = ["derive"]
[dependencies.serde_json]
version = "1"
[dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"time",
"sync",
"rt",
"macros",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]