Cargo Features
[dependencies]
async_executors = { version = "0.7.0", default-features = false, features = ["async_global", "async_global_tokio", "async_std", "async_std_tokio", "bindgen", "glommio", "localpool", "notwasm", "threadpool", "timer", "tokio_ct", "tokio_io", "tokio_timer", "tokio_tp", "tracing"] }
- default = notwasm
-
The
notwasm
feature is set by default wheneverasync_executors
is added without
somewhere in the dependency tree.default-features = false - async_global async_global_tokio? = async-global-executor
- async_global_tokio = async_global
-
Enables tokio of async-global-executor
- async_std async_std_tokio? = async_std_crate
- async_std_tokio = async_std
- bindgen = wasm-bindgen-futures
- glommio = glommio_crate
- localpool = futures-executor
- notwasm default
- threadpool
-
Enables thread-pool of futures-executor
- timer = futures-timer
- tokio_ct
-
tokio:
Includes basic task execution capabilities
Affects
tokio_ct::TokioCtErr
… - tokio_io
- tokio_timer
- tokio_tp
-
Enables rt-multi-thread of tokio
Affects
tokio_tp::TokioTpErr
… - tracing = tracing-futures
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- futures-timer timer?
- glommio_crate glommio?
-
Enables glommio ^0.8
- tracing-futures tracing?
- wasm-bindgen-futures bindgen?
- async-global-executor async_global? async_global_tokio?
- async_std_crate async_std? async_std_tokio?
-
Enables async-std
- futures-executor localpool? threadpool?
- tokio tokio_ct? tokio_io? tokio_timer? tokio_tp?