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 whenever async_executors is added without default-features = false somewhere in the dependency tree.

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

Enables tokio1 of 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

Enables rt of tokio

tokio:

Includes basic task execution capabilities

Affects tokio_ct::TokioCtErr

tokio_io

Enables net and process of tokio

tokio_timer

Enables time of tokio

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?