Tower-compatible middleware and extractors for the Axum web framework.
Add the PraxLayer middleware to your Axum application:
Extract the database connection in your handlers:
Use Prax with Axum's shared state:
Works with any Tower middleware stack.
DatabaseConnection extractor with proper error handling.
Builder pattern for customizing pool and connection settings.
Minimal overhead in the request path.