42 breaking releases
new 0.54.0 | May 7, 2025 |
---|---|
0.53.0 | Mar 12, 2025 |
0.52.0 | Feb 4, 2025 |
0.49.0 | Nov 12, 2024 |
0.13.0 | Mar 27, 2023 |
#9 in #poem
61KB
867 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
~19–33MB
~518K SLoC