Gallery · Documents · Score · Rust
Axum architecture explained
Ergonomic HTTP routing and request handling for Rust. This page explains the architecture RepoLens read from tokio-rs/axum at 86aa615. It is a static, deterministic scan: modules, files, and the document set. No API key is used.
Scanned axum and axum-core. Macros and extra extractors are not included.
Code health was not scored for this snapshot.
- Files
- 72
- Modules
- 25
- API routes
- 0
- Language
- Rust
How the code is grouped
Axum is scanned as Rust under its public license (MIT). RepoLens groups files into modules from the repository layout, then writes the same document set it writes for a local project.
| Module | Files |
|---|---|
axum/src/extract |
15 |
axum/src/routing |
10 |
axum-core/src/extract |
7 |
axum/src/middleware |
6 |
axum-core/src/response |
4 |
axum/src/test_helpers |
4 |
axum-core/src/ext_traits |
3 |
axum/src/handler |
3 |
axum/src/response |
3 |
axum/src/serve |
2 |
axum-core/src/body.rs |
1 |
axum-core/src/error.rs |
1 |
axum-core/src/lib.rs |
1 |
axum-core/src/macros.rs |
1 |
axum-core/src/body |
1 |
axum/src/body |
1 |
axum/src/boxed.rs |
1 |
axum/src/extension.rs |
1 |
axum/src/form.rs |
1 |
axum/src/json.rs |
1 |
axum/src/lib.rs |
1 |
axum/src/macros.rs |
1 |
axum/src/service_ext.rs |
1 |
axum/src/util.rs |
1 |
Documents
The full generated pages live on the Axum document page. Each section below is one of those documents.
- Executive Summary — High-level overview for leadership, product, and stakeholders
- System Overview — Concise technical overview readable by all
- Business Domains — Codebase structure translated into business language
- Architecture Overview — Layered architecture and design patterns
- Module Catalog — Complete inventory of code modules with AI explanations
- Route Map — Application routes and API endpoints with context
- API Surface — Backend API endpoints with usage examples
- Data Flows — Major information flows through the system
- Architecture Diff — Git diff analysis and impact assessment
- System Map — Visual dependency graph with explanation
- Developer Onboarding — Quick start guide for new developers
- GraphQL Schema — GraphQL types, queries, mutations, and resolver map
- TypeScript Type Graph — TypeScript interfaces, types, classes, and relationships
- Dependency Graph — Module dependency analysis with cycle detection
- Architecture Drift — Structural changes compared to baseline snapshot
- Security Hotspots — Security anti-pattern detection with CWE classification
- Code Health Report — Per-module health scores from complexity, coupling, docs, and security