42 breaking releases
new 0.54.0 | May 7, 2025 |
---|---|
0.53.0 | Mar 12, 2025 |
0.52.0 | Feb 4, 2025 |
0.49.0 | Nov 12, 2024 |
0.13.0 | Mar 27, 2023 |
#1648 in HTTP server
372 downloads per month
Used in rust-shield
66KB
877 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–55MB
~1M SLoC