shuttle-salvo 0.12.0

Service implementation to run a salvo webserver on shuttle
docs.rs failed to build shuttle-salvo-0.12.0
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Visit the last successful build: shuttle-salvo-0.57.0

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::with_path("hello").get(hello_world);

Ok(router.into())
}