Cargo Features
[dependencies]
async-atomic = { version = "0.1.5", default-features = false, features = ["std", "alloc", "fallback"] }
- default = fallback, std
-
These default features are set whenever
async-atomic
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of atomic ^0.5.1 and futures
- alloc std
-
Affects
subscriber::Subscriber
… - fallback default
-
Enables fallback of atomic ^0.5.1