About this project

Rocket is an async web framework for Rust with a focus on usability, security, extensibility, and speed. It uses Rust macros to define routes in a declarative way, with automatic type checking and parsing of request parameters. For example, a route handler can accept typed parameters like name and age, and if a parameter cannot be parsed into the expected type, the route will not be called, resulting in a 404 error. The framework is extensively documented, offering an overview, quickstart guide, getting started guide, detailed reference guide, and API documentation. Documentation is available for the master branch, major release versions, and active git branches. The examples directory contains complete runnable crates that demonstrate Rocket's features. Each example can be compiled and run with Cargo. Support is available through GitHub Discussions for questions and Matrix chat for real-time conversation. Contributions are welcomed and encouraged, with guidelines provided in a contributing file. Contributors can submit feature requests, bug reports, documentation improvement requests, and pull requests. Rocket is dual-licensed under the MIT License and Apache License, Version 2.0, at the contributor's option. The website documentation is licensed under separate terms.