tako-rs-plugins 2.0.0

Internal plugin and concrete-middleware implementations for tako-rs. Use the `tako-rs` umbrella crate instead.
Documentation
#![cfg_attr(docsrs, feature(doc_cfg))]

//! Concrete plugin and middleware implementations for the Tako framework.
//!
//! The plugin and middleware traits (`TakoPlugin`, `IntoMiddleware`, `Next`)
//! live in `tako-core`. This crate hosts the concrete implementations:
//! built-in middleware (auth, CSRF, rate limiting, sessions, request IDs, ...)
//! and built-in plugins (CORS, compression, idempotency, metrics, rate
//! limiting). Re-exported under `tako::middleware::*` and `tako::plugins::*`
//! via the umbrella crate.

/// Concrete plugin implementations.
pub mod plugins;

/// Concrete middleware implementations.
pub mod middleware;

/// Pluggable backend traits for stateful middleware (sessions, rate limit, …)
/// plus the bundled in-memory implementations.
pub mod stores;

/// Plugin/middleware-coupled extractors (e.g. verified JWT claims that are
/// produced by `JwtAuth` middleware and surfaced via `JwtClaimsVerified<C>`).
pub mod extractors;