Crate shuttle_tide

source ·
Expand description

§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())
}

Structs§

Type Aliases§

  • Shuttle service integration for the Tide web framework