liveBook · Manning

Axum

Axum is a Rust web framework for building asynchronous HTTP services with routing, request extraction, and handler execution.

How 2 Manning books explain it

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.

Read how Code Like a Pro in Rust explains Axum →

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.

Read how Learn Rust in a Month of Lunches explains Axum →

Related concepts

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.