39 breaking releases

new 0.51.0 Jan 10, 2025
0.49.0 Nov 12, 2024
0.47.0 Jul 23, 2024
0.42.0 Mar 18, 2024
0.13.0 Mar 27, 2023

#1482 in HTTP server

Download history 92/week @ 2024-09-25 80/week @ 2024-10-02 18/week @ 2024-10-09 2/week @ 2024-10-16 1/week @ 2024-10-23 64/week @ 2024-11-06 55/week @ 2024-11-13 13/week @ 2024-11-20 4/week @ 2024-11-27 18/week @ 2024-12-04 52/week @ 2024-12-11 49/week @ 2025-01-01 210/week @ 2025-01-08

259 downloads per month

Apache-2.0

38KB
686 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

~28–45MB
~786K SLoC