shuttle-salvo

Crates.ioshuttle-salvo
lib.rsshuttle-salvo
version0.43.0
sourcesrc
created_at2023-03-14 12:40:17.602256
updated_at2024-04-02 12:27:37.392078
descriptionService implementation to run a salvo webserver on shuttle
homepage
repository
max_upload_size
id809825
Pieter (chesedo)

documentation

README

## Shuttle service integration for the Salvo web framework ### Example ```rust,no_run 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()) } ```
Commit count: 0

cargo fmt