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

#654 in HTTP server

Download history 282/week @ 2024-11-24 408/week @ 2024-12-01 609/week @ 2024-12-08 248/week @ 2024-12-15 104/week @ 2024-12-22 60/week @ 2024-12-29 402/week @ 2025-01-05 249/week @ 2025-01-12 159/week @ 2025-01-19 80/week @ 2025-01-26 268/week @ 2025-02-02 488/week @ 2025-02-09 214/week @ 2025-02-16 170/week @ 2025-02-23 214/week @ 2025-03-02 214/week @ 2025-03-09

919 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–55MB
~1M SLoC