// the find
rwf2/Rocket
A web framework for Rust.
Rocket is a macro-driven async web framework for Rust that prioritizes developer ergonomics — route handlers are plain functions with typed parameters extracted automatically from the request. It's for Rust developers who want something closer to Flask or Spring Boot than raw Hyper. At 25k stars it's the most recognizable name in Rust web frameworks.
Type-safe routing via proc macros catches path/query mismatches at compile time rather than runtime. The request guard system is genuinely clever — any type implementing `FromRequest` can appear as a function parameter, making auth, DB connections, and session data feel natural rather than bolted on. The contrib crate ships working database pool integrations (Diesel, SQLx, deadpool) and template engines (Tera, Handlebars, MiniJinja) so you're not assembling a framework from scratch. Fuzz corpus and UI-fail test snapshots suggest the team takes correctness seriously.
Still sitting at v0.5 — no 1.0 stability guarantee, and the v0.4→v0.5 migration was painful enough that many older tutorials and Stack Overflow answers are flat-out wrong. The proc macro layer makes error messages confusing when something goes wrong; the compiler output points at generated code rather than your code. WebSocket support is in contrib but feels like an afterthought — no SSE or streaming response story out of the box beyond `ByteStream`. Actix-Web and Axum both outperform it on benchmarks; if raw throughput matters, Rocket is not the pick.