| Async Runtime | Tokio | | Web Framework | Axum | | Serialization | Serde | | ORM / Database | SeaORM (async, Active Record) | | CLI | Clap (derive) | | Error (lib) | thiserror | | Error (app) | anyhow | | Logging | tracing + tracing-subscriber | | HTTP Client | reqwest | | Config | config-rs |
| Axum (default) | Modern microservices, Tokio ecosystem, container deployment, Tower middleware | | Actix Web | Maximum throughput, WebSocket-heavy, mature ecosystem needed | | Rocket | Rapid prototyping, small teams, minimal boilerplate |
Axum provides the best balance of performance, ergonomics, and Tokio integration for most projects.
Guida all'architettura dei progetti Modern Rust per il 2025. Da utilizzare durante la creazione di progetti Rust (CLI, servizi web, librerie). Copre la struttura dello spazio di lavoro, la gestione degli errori, i modelli asincroni e le migliori pratiche idiomatiche di Rust. Fonte: majiayu000/claude-arsenal.