Attribute Macro hydra::main

source ยท
#[main]
Expand description

Marks an async function to be executed as a hydra application.

Note: This macro is designed to be simplistic, if you wish to customize your application, you should implement the trait yourself and call run instead.

If the feature tracing is enabled, this will automatically setup a subscriber and panic hook.