Cargo Features

[dependencies]
async-std = { version = "1.12.0", default-features = false, features = ["std", "alloc", "unstable", "attributes", "tokio1", "tokio02", "tokio03", "docs", "kv-log-macro", "log", "surf", "futures-lite", "gloo-timers"] }
default docs? = async-global-executor, async-io, futures-lite, gloo-timers, kv-log-macro, log, pin-project-lite, std

These default features are set whenever async-std is added without default-features = false somewhere in the dependency tree.

Affects windows::fs, utils::abort_on_panic, future::FutureExt.timeout

std default unstable? = alloc, async-channel, async-lock, crossbeam-utils, futures-channel, futures-io, memchr, once_cell, pin-utils, slab, wasm-bindgen-futures

Enables std of futures-core

Affects async-std::process

alloc std = pin-project-lite

Enables alloc of futures-core

unstable docs? = async-io, async-process, std

Affects future::FutureExt.delay, future::FutureExt.flatten, future::FutureExt.race, future::FutureExt.try_race, into_future::IntoFuture, copy::copy, double_ended_stream::DoubleEndedStream, exact_size_stream::ExactSizeStream, extend::Extend, extend::extend, from_stream::FromStream, fused_stream::FusedStream, interval::interval, interval::Interval, into_stream::IntoStream, product::Product, count::CountFuture, merge::Merge, stream::StreamExt.throttle, stream::StreamExt.flat_map

attributes docs? = async-attributes
tokio1

Enables tokio of async-global-executor

tokio02

Enables tokio02 of async-global-executor

tokio03

Enables tokio03 of async-global-executor

docs = attributes, default, unstable

Affects copy::copy, future::FutureExt.join, future::FutureExt.try_join, stream::StreamExt.delay, stream::StreamExt.timeout, timeout::TimeoutError, future::FutureExt.timeout

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.

async-attributes attributes?
async-lock std

Enables async-lock ^2.3.0

crossbeam-utils std
futures-core alloc? std
futures-io std
kv-log-macro default
log default
memchr std
once_cell std
pin-project-lite default alloc?
pin-utils std
slab std
async-channel std

Enables async-channel ^1.5.1

surf implicit feature

Enables surf

dev dependency, but they are not allowed to be optional :/

async-process not unknown unstable?

Enables async-process ^1.0.1

futures-channel wasm32 std
futures-lite not unknown default

Enables futures-lite ^1.0.0

gloo-timers wasm32 default

Enables gloo-timers ^0.2.1

wasm-bindgen-futures wasm32 std
async-io not unknown default unstable?

Enables async-io ^1.0.1

async-global-executor not unknown default tokio02? tokio03? tokio1?