39 breaking releases

new 0.51.0 Jan 10, 2025
0.49.0 Nov 12, 2024
0.47.0 Jul 23, 2024
0.42.0 Mar 18, 2024
0.13.0 Mar 27, 2023

#1309 in HTTP server

Download history 16/week @ 2024-09-23 171/week @ 2024-09-30 25/week @ 2024-10-07 5/week @ 2024-10-14 116/week @ 2024-11-11 15/week @ 2024-11-18 29/week @ 2024-12-02 50/week @ 2024-12-09 13/week @ 2024-12-16 2/week @ 2024-12-23 235/week @ 2025-01-06

252 downloads per month

Apache-2.0

38KB
690 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

~24–39MB
~606K SLoC