rust-web
Installation
SKILL.md
Framework Selection
| Framework | Characteristics | Recommended For |
|---|---|---|
| axum | Modern, Tokio ecosystem, type-safe | New projects (default choice) |
| actix-web | High performance, Actor model | Performance-critical services |
| rocket | Developer-friendly, zero-config | Rapid prototyping |
| warp | Filter-based, functional style | Niche use cases |
Recommendation: Start with axum for most projects. It has excellent ergonomics, strong ecosystem integration, and active development.
Solution Patterns
Pattern 1: Axum Basic Structure
use axum::{routing::get, Router};