41 breaking releases

new 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

#702 in HTTP server

Download history 189/week @ 2024-11-19 356/week @ 2024-11-26 438/week @ 2024-12-03 545/week @ 2024-12-10 189/week @ 2024-12-17 90/week @ 2024-12-24 93/week @ 2024-12-31 436/week @ 2025-01-07 226/week @ 2025-01-14 116/week @ 2025-01-21 86/week @ 2025-01-28 300/week @ 2025-02-04 586/week @ 2025-02-11 88/week @ 2025-02-18 190/week @ 2025-02-25 160/week @ 2025-03-04

1,057 downloads per month
Used in rust-shield

Apache-2.0

46KB
806 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–56MB
~1M SLoC