37 breaking releases

0.49.0 Nov 12, 2024
0.47.0 Jul 23, 2024
0.42.0 Mar 18, 2024
0.35.2 Dec 21, 2023
0.13.0 Mar 27, 2023

#1575 in HTTP server

Download history 25/week @ 2024-09-13 9/week @ 2024-09-20 143/week @ 2024-09-27 36/week @ 2024-10-04 9/week @ 2024-10-11 3/week @ 2024-10-18 98/week @ 2024-11-08 28/week @ 2024-11-15 6/week @ 2024-11-22 13/week @ 2024-11-29 61/week @ 2024-12-06

115 downloads per month

Apache-2.0

38KB
679 lines

Shuttle service integration for the Salvo web framework

Example

use salvo::prelude::*;

#[handler]
async fn hello_world(res: &mut Response) {
    res.render(Text::Plain("Hello, world!"));
}

#[shuttle_runtime::main]
async fn salvo() -> shuttle_salvo::ShuttleSalvo {
    let router = Router::new().get(hello_world);

    Ok(router.into())
}

Dependencies

~31–46MB
~835K SLoC