shuttle-actix-web

Crates.ioshuttle-actix-web
lib.rsshuttle-actix-web
version0.43.0
sourcesrc
created_at2023-03-14 12:22:32.877741
updated_at2024-04-02 12:27:24.923967
descriptionService implementation to run an actix webserver on shuttle
homepage
repository
max_upload_size
id809804
Jocelyn Boullier (Kazy)

documentation

README

## Shuttle service integration for the Actix Web framework ### Example ```rust,no_run use actix_web::{get, web::ServiceConfig}; use shuttle_actix_web::ShuttleActixWeb; #[get("/")] async fn hello_world() -> &'static str { "Hello World!" } #[shuttle_runtime::main] async fn actix_web() -> ShuttleActixWeb { let config = move |cfg: &mut ServiceConfig| { cfg.service(hello_world); }; Ok(config.into()) } ```
Commit count: 0

cargo fmt