shuttle-axum 0.12.0

Service implementation to run an axum webserver on shuttle
docs.rs failed to build shuttle-axum-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-axum-0.57.0

Shuttle service integration for the Axum web framework.

Example

use axum::{routing::get, Router};

async fn hello_world() -> &'static str {
"Hello, world!"
}

#[shuttle_runtime::main]
async fn axum() -> shuttle_axum::ShuttleAxum {
let router = Router::new().route("/hello", get(hello_world));

Ok(router.into())
}