45 breaking releases
| 0.57.0 | Sep 11, 2025 |
|---|---|
| 0.56.0 | Jul 2, 2025 |
| 0.55.0 | May 21, 2025 |
| 0.53.0 | Mar 12, 2025 |
| 0.13.0 | Mar 27, 2023 |
#1803 in HTTP server
181 downloads per month
Used in rust-shield
67KB
888 lines
Shuttle service integration for the Rocket web framework
Example
use rocket::{get, routes};
#[get("/")]
fn index() -> &'static str {
"Hello, world!"
}
#[shuttle_runtime::main]
async fn rocket() -> shuttle_rocket::ShuttleRocket {
let rocket = rocket::build().mount("/", routes![index]);
Ok(rocket.into())
}
Dependencies
~22–58MB
~1M SLoC