# Axum Web Framework Guidelines

> Objective: Define standards for building safe, ergonomic, and production-ready Rust web APIs with Axum and the Tokio/Tower ecosystem, covering routing, state management, middleware, error handling, testing, and observability.

::: tip Source File
View the full rule: [`.agent/rules/axum.md`](https://github.com/snowdreamtech/template/blob/main/.agent/rules/axum.md)
:::

## Sections

- 1. Overview, Project Structure & Setup
- 1. Routing & Extractors
- 1. State Management
- 1. Middleware & Error Handling
- 1. Testing, Observability & Performance
