Cargo Features

[dependencies]
async-task = { version = "4.7.1", default-features = false, features = ["std", "portable-atomic"] }
default = std

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

std default

Affects runnable::spawn_local

Features from optional dependencies

portable-atomic implicit feature

Enables portable-atomic

Uses portable-atomic polyfill atomics on targets without them