rocket
Installation
SKILL.md
Rocket Framework Guide
Applies to: Rocket 0.5+, Rust Web APIs, Type-Safe Web Applications Use with:
.claude/skills/rust-guide/SKILL.md
Overview
Rocket is a Rust web framework focused on ease of use, developer experience, and type safety. It uses Rust's type system to ensure correctness at compile time, with powerful features like request guards, fairings (middleware), and derive macros for minimal boilerplate.
When to Use Rocket
- Type-Safe APIs: Maximum compile-time guarantees
- Developer Experience: Clean, expressive syntax with minimal boilerplate
- Rapid Prototyping: Quick to start; attribute macros handle routing
- Form Handling: Excellent support for HTML forms and multipart uploads
- Traditional Web Apps: Both APIs and server-rendered HTML