#shuttle-service #tide

shuttle-tide

Service implementation to run a tide webserver on shuttle

22 breaking releases

new 0.34.0 Nov 23, 2023
0.32.0 Nov 9, 2023
0.22.0 Jul 31, 2023
0.13.0 Mar 27, 2023

#842 in HTTP server

Download history 22/week @ 2023-08-03 58/week @ 2023-08-10 27/week @ 2023-08-17 33/week @ 2023-08-24 6/week @ 2023-08-31 26/week @ 2023-09-07 42/week @ 2023-09-14 46/week @ 2023-09-21 33/week @ 2023-09-28 52/week @ 2023-10-05 27/week @ 2023-10-12 72/week @ 2023-10-19 52/week @ 2023-10-26 34/week @ 2023-11-02 44/week @ 2023-11-09 50/week @ 2023-11-16

187 downloads per month

Apache-2.0

4KB

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

~31–44MB
~862K SLoC