Docs.rs
karbon-framework-0.2.21
karbon-framework 0.2.21
Docs.rs crate page
Links
Repository
crates.io
Source
Owners
larevuegeek
Dependencies
anyhow ^1
normal
argon2 ^0.5
normal
axum ^0.8
normal
axum-extra ^0.12.5
normal
base64 ^0.22
normal
bcrypt ^0.19.0
normal
chrono ^0.4
normal
dotenvy ^0.15
normal
futures ^0.3
normal
hyper ^1
normal
hyper-util ^0.1
normal
image ^0.25
normal
jsonwebtoken ^10.3.0
normal
karbon-macros ^0.2.5
normal
lettre ^0.11
normal
rand ^0.10.0
normal
regex ^1
normal
reqwest ^0.12
normal
serde ^1
normal
serde_json ^1
normal
sha2 ^0.10
normal
slug ^0.1
normal
sqlx ^0.8
normal
tera ^1
normal
optional
thiserror ^2
normal
tokio ^1
normal
tower ^0.5
normal
tower-http ^0.6
normal
tracing ^0.1
normal
tracing-subscriber ^0.3
normal
uuid ^1
normal
validator ^0.20.0
normal
Versions
41.23%
of the crate is documented
Go to latest version
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Module middleware
karbon_
framework
0.2.21
Module middleware
Module Items
Structs
Functions
In karbon_
framework::
http
karbon_framework
::
http
Module
middleware
Copy item path
Source
Structs
§
Rate
Limit
Layer
Simple in-memory rate limiter (per IP address).
Functions
§
csrf_
protection
CSRF protection middleware.
is_
maintenance
Check if maintenance mode is active
maintenance_
mode
Middleware that returns 503 when maintenance mode is active
request_
id
Middleware that adds a unique X-Request-Id header to every request/response. If the client sends one, it is preserved. Otherwise a new UUID is generated.
request_
logger
Request logging middleware — logs method, path, status, and duration
set_
maintenance
Enable or disable maintenance mode at runtime