Skip to main content

Axum

Tokio-native web framework built on tower. Routes, extractors, middleware, and shared state.

RoutingRouter, method routing, nested routes, fallbacks
ExtractorsJson, Path, Query, State, Extension, custom extractors
Middlewaretower::ServiceBuilder, axum::middleware::from_fn
StateArc<AppState> pattern, Extension vs State
Error handlingIntoResponse, Result<T, AppError>, error extractors