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

#1066 in Asynchronous

Download history 60/week @ 2023-07-21 43/week @ 2023-07-28 53/week @ 2023-08-04 105/week @ 2023-08-11 58/week @ 2023-08-18 62/week @ 2023-08-25 52/week @ 2023-09-01 64/week @ 2023-09-08 54/week @ 2023-09-15 40/week @ 2023-09-22 54/week @ 2023-09-29 57/week @ 2023-10-06 57/week @ 2023-10-13 57/week @ 2023-10-20 80/week @ 2023-10-27 48/week @ 2023-11-03

247 downloads per month
Used in 5 crates

Apache-2.0 OR BSL-1.0 OR MIT

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
~124K SLoC