Axum, Actix-web, and Rocket throughput and adoption
Axum leads the Rust web framework market with over 109 million downloads in the last 90 days. While Axum dominates in adoption, Actix-web provides the highest throughput and lowest latency when handling loads of 26,000 requests per second.
Axum leads the Rust web framework market in recent download volume. Axum has 436,464,896 total downloads on crates.io, with 109,000,226 occurring over the last 90 days. Actix-web has 78,074,020 total downloads and 9,730,975 downloads in the same 90-day window. While Actix-web has a longer history on crates.io dating to October 2017, Axum remains the dominant choice for new APIs because it maintains the largest community and integrates with the Tower ecosystem. You should probably stick to Axum if you want to use middleware that works across different services.
Actix-web often beats Axum and Rocket in raw throughput benchmarks. In a test using a single endpoint returning JSON, Actix achieved the lowest latency and the highest availability when the load reached 26,000 requests per second. Specifically, Actix maintained lower latency and was the last framework to fail as the load increased. Rocket showed the highest latency from the start and used the most CPU. Axum performed similarly to Actix at low loads, but Actix maintained a performance lead as the load increased.
| Metric | Axum | Actix-web | Rocket |
|---|---|---|---|
| Total crates.io downloads | 436,464,896 | 78,074,020 | Not specified |
| 90-day crates.io downloads | 109,000,226 | 9,730,975 | Not specified |
| GitHub Stars | 26,931 | 24,793 | Not specified |
| Minimum Rust version | 1.80 | 1.88 | Not specified |
| Middleware model | Tower layers | Integrated system | Fairings and request guards |
Performance and design trade-offs
Axum provides a modular design because it relies on the Tower library for middleware like compression, timeouts, and CORS. This composition means developers must add the tower-http crate to use these features. Actix-web takes a different path by embedding its own middleware system, including Logger, Session, and CORS, directly in the framework. This integrated approach reduces the need to assemble different crates but makes it harder to reuse middleware from the wider Tower ecosystem. Axum also uses a macro-free API for routing, while Actix-web uses macros like #[get()] to define routes.
Actix-web provides high performance because it runs each worker on its own single-threaded Tokio runtime. It also features a broad set of companion crates and has a long production history. However, Actix-web requires a more recent toolchain, specifically Rust 1.88, which creates a narrower compatibility window than Axum’s requirement of Rust 1.80. Rocket offers a different experience by focusing on ergonomics. Rocket 0.5 provides async support on stable Rust and uses attribute macros to make the code read like plain English. Rocket is slower than Actix in benchmarks, and some users report that benchmark results vary significantly depending on the version used.
Rocket uses request guards for validation and fairings for middleware. These features allow developers to define routes and handle data with less boilerplate. However, Rocket has a thinner ecosystem and a slower release cadence compared to Axum or Actix. For instance, Rocket 0.5.1 is the latest release as of May 2024. Axum provides a more predictable performance profile as applications grow in complexity because its type-driven approach scales well. Actix-web remains the choice for applications requiring maximum throughput and built-in features like WebSockets and HTTP/2 without extra dependencies.
Community and maintenance
The choice between these frameworks involves evaluating the maintenance and stability of each project. Axum is maintained by the Tokio project and stays close to the Hyper and Tower ecosystems. This connection provides a stable base for developers. Axum’s main branch currently prepares for version 0.9, which will include breaking changes. Developers using Axum should pin their exact version to avoid these changes. Rocket’s community is known for helping newcomers, but its development moves slower than the other two.
Actix-web has a mature ecosystem and a large number of contributors. It has a long history of production use, but it also has a history of controversy regarding unsafe code usage. A previous maintainer once threatened to take the code offline due to arguments within the developer community. However, the project now has a new maintainer and continues to release updates, such as version 4.15.0 on August 21, 2026. Actix-web has 192 open issues on GitHub, while Axum has 75. A larger number of open issues does not mean the project is less stable, but it shows the difference in scale between the two.
Rocket is better for small teams or internal tools where code readability matters most. Axum is better for microservices and large-scale APIs where modularity and community support are priorities. Actix-web is better for high-performance services that need many features integrated into a single crate. Which framework will maintain its community lead as the ecosystem shifts toward Hyper 1 and new async patterns? If you need the highest possible throughput, choose Actix-web. If you need the most common and well-documented tool, choose Axum. For the easiest onboarding, choose Rocket.