31 breaking releases

0.43.0 Apr 2, 2024
0.42.0 Mar 18, 2024
0.41.0 Mar 7, 2024
0.35.2 Dec 21, 2023
0.13.0 Mar 27, 2023

#1067 in HTTP server

Download history 69/week @ 2023-12-20 35/week @ 2023-12-27 25/week @ 2024-01-03 14/week @ 2024-01-10 10/week @ 2024-01-17 20/week @ 2024-01-24 8/week @ 2024-01-31 166/week @ 2024-02-14 17/week @ 2024-02-21 144/week @ 2024-02-28 204/week @ 2024-03-06 778/week @ 2024-03-13 28/week @ 2024-03-20 96/week @ 2024-03-27 77/week @ 2024-04-03

1,003 downloads per month

Apache-2.0

3KB

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

~21–35MB
~548K SLoC