macro_rules! main {
($func:ident) => { ... };
}Expand description
Defines the config’s main entry point.
This macro creates a main function annotated with
#[pinnacle_api::tokio::main] that performs necessary setup
and calls the provided async function.
§Examples
async fn config() {}
pinnacle_api::main!(config);