Expand description
Attribute macro providing an async main for Moirai.
Rust’s entry point cannot itself be async, so something has to build
a runtime and block on the future. This crate supplies that shim for
Moirai, keeping executor construction out of user code.
Attribute Macros§
- main
- Marks an
async fn mainas the program entry point.