43 breaking releases
new 0.55.0 | May 21, 2025 |
---|---|
0.53.0 | Mar 12, 2025 |
0.49.0 | Nov 12, 2024 |
0.47.0 | Jul 23, 2024 |
0.13.0 | Mar 27, 2023 |
#9 in #poem
190 downloads per month
61KB
868 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
~20–34MB
~525K SLoC