4 releases (breaking)
0.4.0 | Jun 2, 2023 |
---|---|
0.3.0 | Feb 20, 2023 |
0.2.0 | Jan 17, 2023 |
0.1.0 | Jan 2, 2023 |
#1838 in Asynchronous
86 downloads per month
Used in 6 crates
16KB
225 lines
async_main
Runtime-agnostic async main proc macro
lib.rs
:
Runtime-agnostic async main proc macro. Currently, this crate only supports single-threaded task pools, but in a future version will add a configuration option to enable multi-threaded task pools.
Getting Started
Choose a runtime by enabling one of the following features:
async-executor
async-std
futures
pasts
tokio
Dependencies
~0–11MB
~122K SLoC