[package]
edition = "2024"
name = "awaken-server"
version = "0.4.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-protocol HTTP server with SSE, mailbox, and protocol adapters for Awaken"
homepage = "https://github.com/AwakenWorks/awaken"
readme = "README.md"
keywords = [
"ai-agent",
"llm",
"agent-framework",
"tool-use",
"multi-agent",
]
categories = [
"artificial-intelligence",
"asynchronous",
"network-programming",
"web-programming",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/AwakenWorks/awaken"
resolver = "2"
[features]
default = ["permission"]
nats = []
otel = []
permission = ["dep:awaken-ext-permission"]
[lib]
name = "awaken_server"
path = "src/lib.rs"
[[test]]
name = "a2a_gateway"
path = "tests/a2a_gateway.rs"
[[test]]
name = "a2a_http"
path = "tests/a2a_http.rs"
[[test]]
name = "a2a_loopback"
path = "tests/a2a_loopback.rs"
[[test]]
name = "a2a_self_validation"
path = "tests/a2a_self_validation.rs"
[[test]]
name = "acp_stdio"
path = "tests/acp_stdio.rs"
[[test]]
name = "ai_sdk_multi_turn"
path = "tests/ai_sdk_multi_turn.rs"
[[test]]
name = "config_api"
path = "tests/config_api.rs"
[[test]]
name = "config_backends"
path = "tests/config_backends.rs"
[[test]]
name = "cross_crate_integration_matrix"
path = "tests/cross_crate_integration_matrix.rs"
[[test]]
name = "e2e_tensorzero"
path = "tests/e2e_tensorzero.rs"
[[test]]
name = "fault_injection"
path = "tests/fault_injection.rs"
[[test]]
name = "functional_protocol_matrix"
path = "tests/functional_protocol_matrix.rs"
[[test]]
name = "http_api"
path = "tests/http_api.rs"
[[test]]
name = "phoenix_observability_e2e"
path = "tests/phoenix_observability_e2e.rs"
[[test]]
name = "protocol_a2a"
path = "tests/protocol_a2a.rs"
[[test]]
name = "protocol_acp"
path = "tests/protocol_acp.rs"
[[test]]
name = "protocol_ag_ui"
path = "tests/protocol_ag_ui.rs"
[[test]]
name = "protocol_ag_ui_e2e"
path = "tests/protocol_ag_ui_e2e.rs"
[[test]]
name = "protocol_ai_sdk"
path = "tests/protocol_ai_sdk.rs"
[[test]]
name = "protocol_mcp"
path = "tests/protocol_mcp.rs"
[[test]]
name = "protocol_parity"
path = "tests/protocol_parity.rs"
[[test]]
name = "public_api_compat"
path = "tests/public_api_compat.rs"
[[test]]
name = "public_api_compat_extended"
path = "tests/public_api_compat_extended.rs"
[[test]]
name = "run_api"
path = "tests/run_api.rs"
[[test]]
name = "transport"
path = "tests/transport.rs"
[[test]]
name = "transport_tests"
path = "tests/transport_tests.rs"
[dependencies.agent-client-protocol]
version = "0.10.4"
[dependencies.agent-client-protocol-schema]
version = "0.11"
[dependencies.arc-swap]
version = "1"
[dependencies.async-stream]
version = "0.3"
[dependencies.async-trait]
version = "0.1"
[dependencies.awaken-contract]
version = "0.4.0"
[dependencies.awaken-ext-mcp]
version = "0.4.0"
[dependencies.awaken-ext-permission]
version = "0.4.0"
optional = true
[dependencies.awaken-protocol-a2a]
version = "0.4.0"
[dependencies.awaken-runtime]
version = "0.4.0"
[dependencies.axum]
version = "0.7"
features = [
"http1",
"json",
"matched-path",
"query",
"tokio",
]
default-features = false
[dependencies.bytes]
version = "1"
[dependencies.futures]
version = "0.3"
[dependencies.genai]
version = "0.6.0-beta.17"
[dependencies.mcp]
version = "0.2"
features = [
"server",
"client",
]
default-features = false
package = "model-context-protocol"
[dependencies.metrics]
version = "0.24"
[dependencies.metrics-exporter-prometheus]
version = "0.16"
[dependencies.parking_lot]
version = "0.12"
[dependencies.reqwest]
version = "0.13"
features = ["json"]
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1"
features = [
"derive",
"rc",
]
[dependencies.serde_json]
version = "1"
[dependencies.thiserror]
version = "2"
[dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
"time",
"rt-multi-thread",
"signal",
"time",
]
[dependencies.tokio-stream]
version = "0.1"
[dependencies.tokio-util]
version = "0.7"
features = ["compat"]
[dependencies.tower]
version = "0.5"
features = ["limit"]
[dependencies.tower-http]
version = "0.6"
features = [
"cors",
"trace",
]
[dependencies.tracing]
version = "0.1"
[dependencies.uuid]
version = "1"
features = ["v7"]
[dev-dependencies.async-trait]
version = "0.1"
[dev-dependencies.awaken-ext-observability]
version = "0.4.0"
features = ["otel"]
[dev-dependencies.awaken-runtime]
version = "0.4.0"
[dev-dependencies.awaken-stores]
version = "0.4.0"
features = [
"file",
"postgres",
"nats",
]
[dev-dependencies.genai]
version = "0.6.0-beta.17"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.sqlx]
version = "0.8"
features = [
"runtime-tokio",
"postgres",
"json",
]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.testcontainers]
version = "0.23"
[dev-dependencies.tokio]
version = "1"
features = [
"macros",
"rt",
"sync",
"time",
"rt-multi-thread",
"time",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.uuid]
version = "1"
features = ["v7"]
[lints.clippy]
all = "warn"
[lints.rust]
unsafe_code = "forbid"