Cargo Features

agnostic_async_executor has no features set by default.

[dependencies]
agnostic_async_executor = { version = "0.2.2", features = ["async_std_executor", "tokio_executor", "smol_executor", "futures_executor", "wasm_bindgen_executor", "time", "async_std_executor_with_time", "tokio_executor_with_time", "smol_executor_with_time", "futures_executor_with_time", "wasm_bindgen_executor_with_time", "test"] }
async_std_executor async_std_executor_with_time? = async-std
tokio_executor tokio_executor_with_time?

Enables executor of futures, rt-multi-thread of tokio

smol_executor smol_executor_with_time? = async-channel, async-executor, blocking, easy-parallel, futures-lite, num_cpus
futures_executor futures_executor_with_time?

Enables thread-pool of futures

wasm_bindgen_executor wasm_bindgen_executor_with_time? = wasm-bindgen-futures

Enables std of futures

Affects test::test_in_wasm

time async_std_executor_with_time? futures_executor_with_time? smol_executor_with_time? tokio_executor_with_time? wasm_bindgen_executor_with_time?

Affects agnostic_async_executor::time

async_std_executor_with_time = async_std_executor, time
tokio_executor_with_time = time, tokio_executor

Enables time of tokio

smol_executor_with_time = async-io, smol_executor, time
futures_executor_with_time = async-timer, futures_executor, time
wasm_bindgen_executor_with_time = js-sys, send_wrapper, time, wasm-bindgen, wasm_bindgen_executor

Enables async-await of futures

test = concurrent-queue, futures

Affects agnostic_async_executor::test

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 futures_executor? test? tokio_executor? wasm_bindgen_executor? wasm_bindgen_executor_with_time?
async-std async_std_executor?
tokio tokio_executor? tokio_executor_with_time?
async-executor smol_executor?
num_cpus smol_executor?
async-channel smol_executor?

Enables async-channel ^1.5

easy-parallel smol_executor?
blocking smol_executor?
futures-lite smol_executor?

Enables futures-lite ^1.11

wasm-bindgen-futures wasm_bindgen_executor?
async-io smol_executor_with_time?

Enables async-io ^1.3

async-timer futures_executor_with_time?
wasm-bindgen wasm_bindgen_executor_with_time?
js-sys wasm_bindgen_executor_with_time?
send_wrapper wasm_bindgen_executor_with_time?

Enables send_wrapper ^0.5

concurrent-queue test?

Enables concurrent-queue ^1.2