35 breaking releases

0.47.0 Jul 23, 2024
0.45.0 May 13, 2024
0.42.0 Mar 18, 2024
0.35.2 Dec 21, 2023
0.13.0 Mar 27, 2023

#1338 in HTTP server

Apache-2.0

31KB
504 lines

Shuttle service integration for the Tide web framework

Example

#[shuttle_runtime::main]
async fn tide() -> shuttle_tide::ShuttleTide<()> {
    let mut app = tide::new();
    app.with(tide::log::LogMiddleware::new());

    app.at("/").get(|_| async { Ok("Hello, world!") });

    Ok(app.into())
}

Dependencies

~19–32MB
~502K SLoC