Cargo Features
[dependencies]
futures-task = { version = "0.3.31", default-features = false, features = ["std", "alloc", "unstable", "cfg-target-has-atomic"] }
- default = std
-
The
std
feature is set by default wheneverfutures-task
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
- unstable
-
These features are no longer used.
TODO: remove in the next major version. - cfg-target-has-atomic