Cargo Features

[dependencies]
agnostic-lite = { version = "0.3.16", default-features = false, features = ["std", "time", "tokio", "async-io", "smol", "async-std", "wasm", "test"] }
default = std

The std feature is set by default whenever agnostic-lite is added without default-features = false somewhere in the dependency tree.

std default time? wasm?
time async-io? test? = atomic-time, paste, std

Enables macros, sync and time of optional tokio, channel and time of optional feature-extension-for-wasm-bindgen-futures, channel and time of optional feature-extension-for-async-std and optional feature-extension-for-smol

Affects agnostic-lite::time, agnostic-lite::RuntimeLite.spawn_after, agnostic-lite::RuntimeLite.spawn_after_at, agnostic-lite::RuntimeLite.spawn_local_after, agnostic-lite::RuntimeLite.spawn_local_after_at, agnostic-lite::RuntimeLite.interval, agnostic-lite::RuntimeLite.interval_at, agnostic-lite::RuntimeLite.interval_local, agnostic-lite::RuntimeLite.interval_local_at, agnostic-lite::RuntimeLite.sleep, agnostic-lite::RuntimeLite.sleep_until, agnostic-lite::RuntimeLite.sleep_local, agnostic-lite::RuntimeLite.sleep_local_until, agnostic-lite::RuntimeLite.delay, agnostic-lite::RuntimeLite.delay_local, agnostic-lite::RuntimeLite.delay_at, spawner::AfterHandleError, spawner::AfterHandle, spawner::AsyncAfterSpawner, spawner::LocalAfterHandle

tokio

Enables tokio

Affects agnostic-lite::tokio

async-io async-std? smol? = time

Enables async-io

Affects agnostic-lite::async_io

smol = async-io

Enables feature-extension-for-smol

Affects agnostic-lite::smol

async-std = async-io

Enables feature-extension-for-async-std

Affects agnostic-lite::async_std

wasm = std

Enables async-await, async-await-macro and std of futures-util, channel of feature-extension-for-wasm-bindgen-futures

Affects agnostic-lite::wasm

test = time

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.

atomic-time time?
paste time?