Cargo Features

[dependencies]
async-local = { version = "6.0.1", default-features = false, features = ["rt", "rt-multi-thread", "compat"] }
default = rt

The rt feature is set by default whenever async-local is added without default-features = false somewhere in the dependency tree.

rt default rt-multi-thread?

Enables tokio

Affects async-local::AsyncLocal.with_blocking

rt-multi-thread = rt

Enable Tokio multi_thread runtime flavor

Enables tokio, rt-multi-thread of derive-async-local

compat

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.

tokio rt rt-multi-thread?