#[main]
attributes Provides the boilerplate for the async-std runtime and runs an async fn as main Enables an async main function that uses the async-std runtime.
attributes
async-std
#[pyo3_asyncio::async_std::main] async fn main() -> PyResult<()> { Ok(()) }