Most Rust web frameworks ask you to compose routing and middleware explicitly. Rocket asks you to describe what a route expects, and then gets out of the way. You write a route with an attribute, declare the types of its inputs, and the framework checks and converts them before your function runs.

Source: [Dev.to](https://dev.to/localeostackio/rocket-the-rust-web-framework-built-around-ergonomics-4gd1)

Sponsored