shuttle-tide

Crates.ioshuttle-tide
lib.rsshuttle-tide
version0.46.0
sourcesrc
created_at2023-03-14 12:31:06.147409
updated_at2024-06-13 10:10:13.199119
descriptionService implementation to run a tide webserver on shuttle
homepage
repositoryhttps://github.com/shuttle-hq/shuttle
max_upload_size
id809815
size2,870
(jonaro00)

documentation

README

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())
}
Commit count: 1307

cargo fmt