Attribute Macro async_std_main

Source
#[async_std_main]
Expand description

Enables an async main function that uses the async-std runtime.

§Examples

#[pyo3_asyncio::async_std::main]
async fn main() -> PyResult<()> {
    Ok(())
}