Skip to content
CAI
Produce a survey ↗Verify a survey

tokio-rs/axum

This system is a modular Rust web framework that provides a comprehensive toolkit for building HTTP servers. It offers a flexible routing system, a rich set of request and response extractors, and middleware utilities for handling common web tasks like authentication, templating, and streaming. The framework is structured into a core library for foundational types, an extra crate for advanced utilities, and a separate macros crate for procedural macros, all supported by extensive integration and unit tests.

46.1

Weak · 3 August 2026

29k

lines of production code

Rust

primary language

2

bus factor · 452 authors in all

3

measurements over time

CAI band scale
CAI trend line

How it got here

2021 · comprehensive examples and API expansion

This period focused on expanding the framework's capabilities and developer experience by introducing a wide array of new extractors, response types, and internal refactoring. The team significantly enriched the examples directory, covering diverse use cases such as WebSocket, SSE, OAuth, and database integration, while also cleaning up legacy code and improving error handling.

45 changes

2022 · macro extraction and middleware expansion

The project separated macro implementations into a dedicated axum-macros crate and introduced a comprehensive suite of compile-time tests for all procedural macros. Concurrently, the framework expanded its middleware capabilities with new utility functions and added various examples and features, such as streaming bodies and handler chaining.

24 changes

2023–2025 · example expansion and server extensibility

This period focused on significantly expanding the library's example suite to cover diverse integration patterns, including various databases, templating engines, and protocols like WebSockets and HTTP/2. Concurrently, the core server implementation was enhanced with extensible listener traits and custom task executors, allowing for deeper customization of connection handling and background tasks.

14 changes

CAI lens gauges

Survey your own repository

tokio-rs/axum was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point the surveyor at a repository you know and see whether you agree with it.

Survey a repository

About this page

  • The description of this project is derived from its own commit history, not from its README.
  • The score is its highest published measurement, taken on 3 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit a35916c63f — the exact code this score is about.
  • Scored under rubric rubric-2026.08.18. Score the same commit under that rubric and you get the same number.
CAI link cards