Cargo Features
[dependencies]
futures-channel-preview = { version = "0.3.0-alpha.19", default-features = false, features = ["std", "alloc", "sink", "unstable", "cfg-target-has-atomic"] }
- default = std
-
The
std
feature is set by default wheneverfutures-channel-preview
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Enables std of futures-core-preview
Affects
futures-channel-preview::mpsc
… - alloc std
-
Enables alloc of futures-core-preview
Affects
futures-channel-preview::oneshot
… - sink = futures-sink-preview
- 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.Enables unstable of futures-core-preview
- cfg-target-has-atomic
-
Enables cfg-target-has-atomic of futures-core-preview
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.