rustio-admin 0.1.0

Django Admin, but for Rust. A small, focused admin framework.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
//! Built-in middleware. Each piece is an async function with the
//! signature `async fn(Request, Next) -> Result<Response>`. Drop any of
//! them into `Router::middleware(...)` in whatever order you want.

mod compression;
mod csrf;
mod logger;
mod rate_limit;
mod security_headers;

pub use compression::gzip;
pub use csrf::{csrf_protect, CsrfGuard, CSRF_HEADER};
pub use logger::logger;
pub use rate_limit::{rate_limit, RateLimiter};
pub use security_headers::security_headers;