Skip to main content

protocol_droid/adapters/primary/
mod.rs

1//! Driving adapters: the server transports.
2//!
3//! Populated by T13 (stdio), T14 (Streamable HTTP) and T15 (legacy HTTP+SSE).
4//!
5//! These are the transports the project has to run on: stdio, legacy HTTP+SSE as
6//! defined for 2024-11-05, stateful Streamable HTTP, and the stateless
7//! lifecycle from 2026-07-28. Each is feature-gated so a
8//! `--no-default-features` build stays a lean core.
9
10#[cfg(all(feature = "a2a", feature = "http"))]
11pub mod a2a;
12
13#[cfg(feature = "http")]
14pub mod transport;
15
16#[cfg(feature = "stdio")]
17pub mod stdio;