#shuttle-service #poem

shuttle-poem

Service implementation to run a poem webserver on shuttle

45 breaking releases

0.57.0 Sep 11, 2025
0.56.0 Jul 2, 2025
0.55.0 May 21, 2025
0.53.0 Mar 12, 2025
0.13.0 Mar 27, 2023

#1831 in HTTP server

Download history

2,208 downloads per month

Apache-2.0

62KB
879 lines

Shuttle service integration for the Poem web framework

Example

use poem::{get, handler, Route};
use shuttle_poem::ShuttlePoem;

#[handler]
fn hello_world() -> &'static str {
    "Hello, world!"
}

#[shuttle_runtime::main]
async fn poem() -> ShuttlePoem<impl poem::Endpoint> {
    let app = Route::new().at("/", get(hello_world));

    Ok(app.into())
}

Dependencies

~23–34MB
~547K SLoC