Cargo Features

futures-preview = { version = "0.3.0-alpha.19", default-features = false, features = ["std", "alloc", "async-await", "compat", "io-compat", "unstable", "cfg-target-has-atomic", "bilock", "read_initializer"] }
default = std

The std feature is set by default whenever futures-preview is added without default-features = false somewhere in the dependency tree.

std default compat? = alloc

Enables channel, io and std of futures-util-preview, std of futures-core-preview, futures-executor-preview, futures-io-preview, and futures-sink-preview

Affects futures-preview::executor, futures-preview::io, futures-preview::inner_macro

alloc std

Enables alloc of futures-channel-preview, futures-core-preview, futures-sink-preview, and futures-util-preview

Affects futures-preview::channel, futures-preview::lock


Enables async-await, join-macro and select-macro of futures-util-preview

Affects futures-preview::inner_macro

compat io-compat? = std

Enables compat of futures-util-preview

Affects futures-preview::compat

io-compat = compat

Enables io-compat of futures-util-preview


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-channel-preview, futures-core-preview, futures-io-preview, and futures-util-preview


Enables cfg-target-has-atomic of futures-channel-preview, futures-core-preview, and futures-util-preview


Enables bilock of futures-util-preview


Enables read_initializer of futures-io-preview and futures-util-preview