Skip to main content

main

Attribute Macro main 

Source
#[main]
Expand description

Generate the main function for aeth-rs.

In order to use this macro, the user must depend on either aeth-entry or aeth.

This procedural macro should wrap an async main function. That is, an async function with identifier main and optional return type extending [Result].