//! # QAIL Gateway
//!
//! The native data layer that can replace REST/GraphQL with binary AST protocol.
//!
//! ## Architecture
//!
//! ```text
//! Client → QAIL AST (binary) → Gateway → Postgres/Qdrant/Redis
//! ```
//!
//! ## Features
//!
//! - **Binary wire format**: Not JSON, but QAIL AST binary
//! - **Row-level security**: Policies defined in schema.qail
//! - **~1ms latency**: vs ~10ms for REST/GraphQL
//! - **Multi-database**: Postgres + Qdrant + Redis federation
//!
//! ## Status
//!
//! 🚧 **Draft** - This crate is in early design phase.
pub use GatewayConfig;
pub use GatewayError;
pub use Gateway;