Skip to main content

Crate some_executor_macros

Crate some_executor_macros 

Source
Expand description

Attribute macros for some_executor.

Nothing here is meant to be used directly; some_executor re-exports main, and #[some_executor::main] is the spelling to write. A proc-macro = true crate can export nothing but macros, which is the only reason this is a separate package.

Attribute Macrosยง

main
Turns an async fn main into a fn main that installs an executor and runs it.