Attribute Macro rapid_web_codegen::main
source · #[main]Expand description
Inits a traditional actix-web server entrypoint Note: this is only being done because we need to re-route the macro to point at rapid_web
Examples
#[rapid_web::main]
async fn main() {
async { println!("Hello world"); }.await
}