Axum
Axum is a Rust web framework for building asynchronous HTTP services with routing, request extraction, and handler execution.
Code Like a Pro in Rust
axum is a Rust web framework for building HTTP server applications and routing requests to handlers.
- How it is used
- Provides the HTTP server framework for a Rust REST API service.
- How deep it goes
- Shows dependency setup and Router declarations, but defers deeper framework features to Axum documentation.
- Examples
- Uses health-check routes and versioned todo endpoints with GET, POST, PUT, and DELETE handlers.
- What you can do after
- Build it from scratch as an Axum API router, combining handlers with the dependencies and layers a service needs.
Learn Rust in a Month of Lunches
Axum is a Rust web framework for building HTTP services with routing, request extraction, and asynchronous handlers.
- How it is used
- Builds small Rust HTTP services with routes, asynchronous handlers, and request extraction.
- How deep it goes
- Explains minimal routing, serving, and Path extraction with runnable examples, but defers a full account of Axum.
- Examples
- Uses a localhost server with greeting, guessing-game, path-echo, numeric-doubling, and invalid-input responses.
- What you can do after
- Build it from scratch using Router, get, Path<String>, and an asynchronous server bound to localhost.
Related concepts
- frameworkkind of · A software framework is a reusable structure that provides components, conventions, services, or extension points for building applications or other software systems.
- Tokiouses · Tokio is a Rust asynchronous runtime and library for scheduling tasks, polling futures, and performing nonblocking I/O.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

