# tokio-rs/axum

HTTP routing and request-handling library for Rust that focuses on ergonomics and modularity

Repository: https://github.com/tokio-rs/axum
Canonical: https://ross.abutalabs.com/products/axum
Language: Rust
License: MIT
License Family: permissive
Topics: http, routing, rust
Last push: 2026-08-20T16:51:59+00:00

## Health v2 (maintenance only)
Score: 92/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 79, longevity 100
- inputs: {"age_days": 1921, "days_push": 13, "days_rel": 141, "gap_med": 0, "n_releases_24m": 34}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 26963, forks 1466 (observed 2026-08-28T04:11:47.235774+00:00)

## What it is
Axum is an HTTP routing and request-handling library for Rust built on Tokio, focusing on ergonomics and modularity. It integrates deeply with the Tower ecosystem of middleware and services.

## Use cases
- build a REST API in Rust
- serve HTTP endpoints with async Rust
- create a web backend with routing and middleware
- handle JSON request and response bodies
- build a microservice in Rust

## When to choose
- you want an ergonomic, modular Rust web framework
- your project already uses Tokio or Tower middleware
- you need type-safe extractors for request handling

## When to avoid
- you need a batteries-included framework with built-in ORM and templating
- you are not using async Rust or Tokio
- you need a synchronous web server

## Facets
- artifact type: library
- maturity: stable
- function: web-framework, routing, http-server, middleware
- domain: web-development, backend, apis
- platform: rust, cross-platform
- tags: http, tokio, ergonomic, async, rest-api

## Member repositories
- tokio-rs/axum (main) score 92

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:47.235774+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:54:36.637802+00:00, confidence not recorded.
  - readme: https://github.com/tokio-rs/axum (fetched 2026-08-28T04:11:47.235774+00:00, sha 686118c46e57)
  - registry_crates: https://crates.io/api/v1/crates/axum (fetched 2026-08-29T07:51:54.023222+00:00, sha 04b91e59bafe)
- Data as of 2026-08-30T08:39:29.467469+00:00.
