Cargo Features

Async-scoped has no features set by default.

[dependencies]
async-scoped = { version = "0.8.0", features = ["use-async-std", "use-tokio"] }
use-async-std = async-std

Verify package.metadata.docs.rs when updating

Affects async-scoped::AsyncStdScope, spawner::use_async_std

use-tokio = tokio

Affects async-scoped::TokioScope, spawner::use_tokio

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

async-std use-async-std?

With default features

tokio use-tokio?

With rt-multi-thread, macros and sync