shuttle-poem

Crates.ioshuttle-poem
lib.rsshuttle-poem
version0.43.0
sourcesrc
created_at2023-03-14 12:31:00.029851
updated_at2024-04-02 12:27:28.16684
descriptionService implementation to run a poem webserver on shuttle
homepage
repository
max_upload_size
id809814
Jocelyn Boullier (Kazy)

documentation

README

## Shuttle service integration for the Poem web framework ### Example ```rust,no_run use poem::{get, handler, Route}; use shuttle_poem::ShuttlePoem; #[handler] fn hello_world() -> &'static str { "Hello, world!" } #[shuttle_runtime::main] async fn poem() -> ShuttlePoem { let app = Route::new().at("/", get(hello_world)); Ok(app.into()) } ```
Commit count: 0

cargo fmt