Cargo Features
async_main has no features set by default.
[dependencies]
async_main = { version = "0.4.0", features = ["async-executor", "async-std", "futures", "pasts", "tokio", "web"] }
- async-executor
-
Enables async-executor and futures-lite ^1.12
- async-std
-
Enables async-std =1.12.0
- futures
-
Enables futures
- pasts
-
Enables pasts
- tokio
-
Enables tokio
- web
-
Enables web of async_main_macro
async_main has 6 features without comments.