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 whenever futures-channel-preview is added without default-features = false somewhere in the dependency tree.

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](https://rust-lang.github.io/rfcs/3491-remove-implicit-features.html).

futures-sink-preview sink?