Cargo Features
[dependencies]
agnostic-lite = { version = "0.5.5", default-features = false, features = ["std", "alloc", "time", "tokio", "async-io", "smol", "async-std", "wasm", "test"] }
- default = std
-
The
std
feature is set by default wheneveragnostic-lite
is added without
somewhere in the dependency tree.default-features = false - std default async-io? async-std? smol? tokio? wasm?
-
Affects
time::Instant
… - alloc
- time async-io? test? = atomic-time, paste
-
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
spawner::AfterHandleError
,spawner::AfterHandle
,spawner::AsyncAfterSpawner
… - tokio = std
-
Enables tokio
Affects
agnostic-lite::tokio
… - async-io async-std? smol? = std, time
-
Enables async-io
Affects
agnostic-lite::async_io
… - smol = async-io, std
-
Enables feature-extension-for-smol
Affects
agnostic-lite::smol
… - async-std = async-io, std
-
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.