shuttle-rocket

Crates.ioshuttle-rocket
lib.rsshuttle-rocket
version0.43.0
sourcesrc
created_at2023-03-14 12:36:30.507895
updated_at2024-04-02 12:27:37.089134
descriptionService implementation to run a rocket webserver on shuttle
homepage
repository
max_upload_size
id809822
Jocelyn Boullier (Kazy)

documentation

README

## Shuttle service integration for the Rocket web framework ### Example ```rust,no_run 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()) } ```
Commit count: 0

cargo fmt