43 breaking releases

new 0.55.0 May 21, 2025
0.53.0 Mar 12, 2025
0.49.0 Nov 12, 2024
0.47.0 Jul 23, 2024
0.13.0 Mar 27, 2023

#9 in #poem

Download history 98/week @ 2025-02-04 215/week @ 2025-02-11 10/week @ 2025-02-18 16/week @ 2025-02-25 15/week @ 2025-03-04 158/week @ 2025-03-11 6/week @ 2025-03-18 1/week @ 2025-03-25 3/week @ 2025-04-22 2/week @ 2025-04-29 151/week @ 2025-05-06 34/week @ 2025-05-13

190 downloads per month

Apache-2.0

61KB
868 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

~20–34MB
~525K SLoC