40 breaking releases

new 0.52.0 Feb 4, 2025
0.50.0 Jan 7, 2025
0.49.0 Nov 12, 2024
0.47.0 Jul 23, 2024
0.13.0 Mar 27, 2023

#1405 in HTTP server

Download history 2/week @ 2024-10-16 68/week @ 2024-11-06 54/week @ 2024-11-13 9/week @ 2024-11-20 5/week @ 2024-11-27 33/week @ 2024-12-04 46/week @ 2024-12-11 8/week @ 2024-12-18 2/week @ 2024-12-25 51/week @ 2025-01-01 207/week @ 2025-01-08 2/week @ 2025-01-15 52/week @ 2025-01-29

312 downloads per month

Apache-2.0

45KB
797 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

~18–32MB
~485K SLoC