Cargo Features
[dependencies]
futures-core-preview = { version = "0.3.0-alpha.19", default-features = false, features = ["std", "alloc", "unstable", "cfg-target-has-atomic"] }
- default = std
-
The
stdfeature is set by default wheneverfutures-core-previewis added withoutsomewhere in the dependency tree.default-features = false - std default = alloc
- alloc std
-
Affects
future::BoxFuture,future::LocalBoxFuture,stream::BoxStream,stream::LocalBoxStream… - unstable
-
Unstable features These features are outside of the normal semver guarantees and require the
unstablefeature as an explicit opt-in to unstable API. - cfg-target-has-atomic