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
std
feature is set by default wheneverfutures-core-preview
is added without
somewhere 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
unstable
feature as an explicit opt-in to unstable API. - cfg-target-has-atomic