1 2 3 4 5 6 7 8 9 10 11 12 13
//! Middleware layers //! //! ## Available Middleware //! //! - `auth`: API key authentication //! - `rate_limit`: Rate limiting and concurrent request limiting pub mod auth; pub mod rate_limit; // Re-exports pub use auth::{auth_middleware, optional_auth_middleware, AuthenticatedUser}; pub use rate_limit::{rate_limit_middleware, ClientTier};