Skip to content

Cloud / Examples / axum

axum

Rust's most popular web framework, with dozens of small example apps (databases, auth, websockets, and more).

Rust tokio-rs/axum @ 86aa615 · committed Oct 20, 2026 · analyzed Oct 25, 2026 · computed from the code, no AI

84flows traced across layers
87API routes
0data tables
3outside services
77runtime packages

How requests move through it

Each line follows one request from where it starts to where it ends. Click a file to open that exact line on GitHub.

  1. CallGET /streammain.rs:54Codesrc/main.rsmain.rs:1
  2. RouteGET /main.rs:36Codesrc/main.rsmain.rs:1CallGET /streammain.rs:54
  3. RouteGET /websocketmain.rs:52Codesrc/main.rsmain.rs:1
  4. RouteGET /jsonmain.rs:24Codesrc/main.rsmain.rs:1
  5. RoutePOST /with-rejectionmain.rs:26Codesrc/main.rsmain.rs:1
  6. RoutePOST /custom-extractormain.rs:27Codesrc/main.rsmain.rs:1
  7. RoutePOST /derive-from-requestmain.rs:28Codesrc/main.rsmain.rs:1
  8. RouteGET /users/:param/teams/:parammain.rs:28Codesrc/main.rsmain.rs:1

Technology

  • 9 settings not documented in an example env file

Runtime

Rust nightly-2026-05-04Rust 1.85+CargoCargo.lock

Outside services

  • MongoDB database
  • Redis cache
  • PostgreSQL database

Packages by role 77 runtime, 10 for development

Frameworksaxum0.8.9axum-macros0.5.1tokio1.49.0axum-core0.5.6tower0.5.3tower-service0.3.3+11 more
Data and storagediesel2.3.10diesel_migrations2.3.2mongodb3.7.0deadpool-diesel0.7.0diesel-async0.9.2redis1.3.0+2 more
Sign-in and securityjsonwebtoken11.0.0oauth25.0.0
Validationvalidator0.21.0
Monitoringtracing0.1.44tracing-subscriber0.3.22metrics-exporter-prometheus0.18.3
Utilitiesserde1.0.228serde_json1.0.149serde_core1.0.228reqwest0.12.24serde_html_form0.2.8serde_path_to_error0.1.20+3 more
Otherhttp1.5.0bytes1.11.1http-body-util0.1.3futures-util0.3.31headers0.4.1futures-core0.3.31+31 more

Security and AI-agent checks

0 critical · 0 high · 0 medium · 0 low. Includes checks of files AI coding agents read. 97 code-health notes not shown here.

  • No critical, high, or medium security findings.
All 87 routes and pages

Limits of this report

  • "No imports found" means no import, script, or config mention was seen. A package can still be used another way, so confirm before removing it.
  • Static analysis reads the code; it does not run it. A missing flow means it could not be proven from the source, not that it does not exist.
  • Engine 2026-10-25.nextjs (0c1481d).

See your own repository like this