Skip to main content

Crate tako_rs_plugins

Crate tako_rs_plugins 

Source
Expand description

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.

Modules§

extractors
Plugin/middleware-coupled extractors (e.g. verified JWT claims that are produced by JwtAuth middleware and surfaced via JwtClaimsVerified<C>). Plugin/middleware-coupled extractors.
middleware
Concrete middleware implementations. Built-in middleware implementations.
plugins
Concrete plugin implementations. Built-in plugin implementations.
stores
Pluggable backend traits for stateful middleware (sessions, rate limit, …) plus the bundled in-memory implementations. Pluggable backend traits for stateful middleware.