qail-gateway 0.1.0

QAIL Gateway - Native data layer replacing REST/GraphQL
Documentation
//! # 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.

#![warn(clippy::all)]
#![warn(missing_docs)]

pub mod auth;
pub mod config;
pub mod error;
pub mod policy;
pub mod server;

pub use config::GatewayConfig;
pub use error::GatewayError;
pub use server::Gateway;