Attribute Macro main
#[main]Expand description
Enables an async main function.
The body of the async function runs on the runtime’s block_on; with
threads = N the runtime is built with N worker threads, where 0 runs
everything on the block_on thread.
§Examples
#[nuclei::main]
async fn main() -> std::io::Result<()> {
Ok(())
}