33 breaking releases

0.45.0 May 13, 2024
0.43.0 Apr 2, 2024
0.42.0 Mar 18, 2024
0.35.2 Dec 21, 2023
0.13.0 Mar 27, 2023

#1004 in HTTP server

Download history 8/week @ 2024-01-29 153/week @ 2024-02-12 26/week @ 2024-02-19 38/week @ 2024-02-26 282/week @ 2024-03-04 719/week @ 2024-03-11 119/week @ 2024-03-18 173/week @ 2024-04-01 4/week @ 2024-04-08 2/week @ 2024-04-15 147/week @ 2024-04-22 7/week @ 2024-04-29 3/week @ 2024-05-06 139/week @ 2024-05-13

296 downloads per month

Apache-2.0

31KB
507 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

~21–36MB
~550K SLoC