41 breaking releases

0.53.0 Mar 12, 2025
0.51.0 Jan 10, 2025
0.49.0 Nov 12, 2024
0.47.0 Jul 23, 2024
0.13.0 Mar 27, 2023

#1640 in HTTP server

Download history 509/week @ 2024-12-11 162/week @ 2024-12-18 70/week @ 2024-12-25 173/week @ 2025-01-01 379/week @ 2025-01-08 216/week @ 2025-01-15 109/week @ 2025-01-22 173/week @ 2025-01-29 221/week @ 2025-02-05 591/week @ 2025-02-12 85/week @ 2025-02-19 234/week @ 2025-02-26 140/week @ 2025-03-05 398/week @ 2025-03-12 150/week @ 2025-03-19 89/week @ 2025-03-26

837 downloads per month
Used in rust-shield

Apache-2.0

66KB
876 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

~23–56MB
~1M SLoC