Skip to main content

Crate twelve

Crate twelve 

Source
Expand description

§Twelve factor webapp crate

twelve provides reusable utilities for twelve-factor web applications built with axum.

Warning: Parts of this crate are still exploratory. Expect substantial API breakage between major versions.

Modules§

config
Loads app configuration from a file or standard input.
listener
Binds TCP and Unix-domain sockets through one Axum listener type.
mount
Builds links and redirects for applications below a reverse-proxy path prefix.
pagehtml
Provides classic HTML error pages and POST-Redirect-GET responses for Axum.
shutdown
Coordinates graceful Tokio service shutdown on SIGTERM or SIGINT.