Helpers for building actix-web/diesel based services.
r2d2
```rust use actixweb::web; use serwus::{ server::{Serwus, defaultcors}, EmptyStats };
pub struct AppData;
async fn hello() -> &'static str { "Hello world\n" }
async fn main() -> std::io::Result<()> { let prepareappdata = || AppData;
Serwus::default()
.start(
prepare_app_data,
|app| {
app.route("/", web::get().to(hello));
},
default_cors,
)
.await
} ```