Skip to content
whichdevtool?
Categories ▾

Frameworks and UI

Frontend and full-stack frameworks Backend frameworks UI component libraries

Hosting

VPS and cloud servers App hosting and PaaS

Data

Managed databases File and object storage ORMs and database toolkits

AI

AI model APIs

Email

Transactional email APIs Email marketing and newsletters

Payments

Payments and billing

Domains and edge

Domain registrars CDN, DNS and edge security

Operations and identity

Monitoring, uptime and error tracking Auth and identity Background jobs, queues and workflows
Stacks Directory
Ctrl K

Search directory
Menu
StacksDirectory Pricing changes Glossary
VPS and cloud servers App hosting and PaaS Managed databases Transactional email APIs Email marketing and newsletters Domain registrars CDN, DNS and edge security Monitoring, uptime and error tracking Auth and identity Frontend and full-stack frameworks Backend frameworks UI component libraries AI model APIs File and object storage Payments and billing Background jobs, queues and workflows ORMs and database toolkits
  1. Home
  2. Backend frameworks
  3. Axum
Ax

Rust web framework · by Tokio project

Axum

A Rust HTTP routing and request-handling library from the Tokio project, built on hyper and using tower middleware instead of its own middleware system.

Visit github.com ↗ Alternatives Open source Open source Self-hostable
github.com
Axum homepage
§1

Overview

Axum is an HTTP routing and request-handling library for Rust that focuses on ergonomics and modularity. You define routes with a macro-free API, write handlers as async functions, and use extractors such as Json, Path and Query to parse requests into typed values. Responses are built from simple return types with little boilerplate.

What sets it apart is that Axum has no middleware system of its own. It uses tower::Service, so timeouts, tracing, compression, authorisation and other tower-http middleware work out of the box and can be shared with applications written directly on hyper or with the tonic gRPC library.

Axum is a thin layer over hyper, so its performance is comparable to hyper, and the crate forbids unsafe code. It is maintained under the tokio-rs organisation, and the repository dates from May 2021.

Axum is still pre-1.0. Version 0.8 (January 2025) changed path parameter syntax and other APIs, and the main branch is working towards 0.9 with further breaking changes, so upgrades between minor versions can require code changes. The minimum supported Rust version is 1.80.

§2

Pricing and plans

Free and open source under the MIT licence. No paid edition.

Source: github.com/tokio-rs/axum · prices as published, excluding tax.

§3

What it does

Macro-free routing
Plain function calls define routes and handlers.
Extractors
Declaratively parse JSON, path, query, headers and state into typed values.
Tower middleware
Reuse tower and tower-http for timeouts, tracing, compression and auth.
hyper and Tokio
Thin layer over hyper on the Tokio runtime.
100% safe Rust
The crate uses forbid(unsafe_code).
§4

Strengths and limitations

Strengths

  • Backed by the Tokio project, the core of async Rust
  • Middleware shared with hyper and tonic services
  • Predictable error handling and strong typing
  • Low overhead on top of hyper

Limitations

  • Pre-1.0: minor versions such as 0.8 include breaking changes, and 0.9 is in progress
  • No ORM, templates, auth or project structure built in
  • Requires understanding tower services and Rust async to go beyond basics
  • Minimum supported Rust version is 1.80
§5

Who it suits

Good for

  • High-performance APIs in Rust
  • Teams already using Tokio, hyper or tonic
  • Services where memory safety and low latency matter

Look elsewhere if

  • Teams new to Rust who need to ship quickly
  • Projects wanting a batteries-included framework (see Loco)
§6

Pricing history

  • 1 Jan 2025

    Axum 0.8 released with breaking changes

    Announced 1 January 2025. Path parameters changed from /:param and /*rest to /{param} and /{*rest} (old syntax panics), handlers must be Sync, and the Host extractor moved to axum-extra. Source ↗

§7

Alternatives to Axum

Tool From Free option Stages
Ruby on Rails Full-stack Ruby web framework
— Open source
FastAPI Python API framework
$20/mo Free tier
Django Batteries-included Python web framework
— Open source
Fastify High-performance Node.js web framework
— Open source
En
Encore Backend framework with infrastructure from code
$49/mo Free tier
ASP.NET Core .NET web framework
— Open source

All backend frameworks →

§8

Questions

Axum or Actix Web?

Axum reuses tower middleware and is maintained by the Tokio project; Actix Web has its own middleware and a richer built-in feature set.

Is Axum stable?

It is widely used but still pre-1.0, and minor versions such as 0.8 include breaking changes.

Does Axum have middleware?

It uses tower and tower-http middleware rather than its own system.

Is Axum free?

Yes, it is MIT licensed.

Sources read for this page

  • https://github.com/tokio-rs/axum
  • https://tokio.rs/blog/2025-01-01-announcing-axum-0-8-0
Spec sheet
From
Open source
Free tier
Free to self-host
Stages
HobbyIndieStartupScale-upEnterprise Suits indie, startup, scale-up, enterprise
Language
Rust
Style
Minimal, modular
Runs on
Tokio (hyper), Rust 1.80+
Maintained by
Tokio project maintainers
Open source
Yes
Self-host
Yes
EU data
Not stated
Category
Backend
Visit github.com ↗

To report an out-of-date price or limit, use the correction form.

whichdevtool?

Developer and cloud tools compared on price, free tier and limits, each with its source. For side projects, solo developers and small teams.

Categories

  • VPS and cloud servers
  • App hosting and PaaS
  • Managed databases
  • Transactional email APIs
  • Email marketing and newsletters
  • Domain registrars
  • CDN, DNS and edge security
  • Monitoring, uptime and error tracking
  • Auth and identity
  • Frontend and full-stack frameworks
  • Backend frameworks
  • UI component libraries
  • AI model APIs
  • File and object storage
  • Payments and billing
  • Background jobs, queues and workflows
  • ORMs and database toolkits

Research

  • Directory
  • Stacks by project
  • Developer news
  • Pricing changes
  • Glossary

Site

  • About and methods
  • How we make money
  • Suggest a tool or fix
  • Privacy
© 2026 whichdevtool.com Prices change. Each tool page links to its source. We may earn a commission when you sign up through links on this site. How we make money