Skip to main content

Crate web

Crate web 

Source

Re-exports§

pub use config::Config;
pub use model::LoginUserSchema;
pub use model::RegisterUserSchema;
pub use model::User;
pub use token::TokenClaims;
pub use token::TokenDetails;

Modules§

assets
Static assets are served under a path carrying the build id, so a deploy changes every asset URL and browsers never reuse a stale one.
auth_keys
Per-user JWT signing/verification for the web layer.
client_ip
Deciding which address a request really came from.
config
error_render
form_invalid
form_render
Server-side HTML for a forms::Form: every control is named by its address, so the posted body decodes with FormValues::from_pairs.
handler
jwt_auth
login
model
pages
parse
rate_limit
Throttle for the unauthenticated auth endpoints.
register
response
route
session
telemetry
Metric names and recorder setup.
token

Structs§

AppState