Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add async/await to default features #1953

Merged
merged 1 commit into from Nov 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion futures-util/Cargo.toml
Expand Up @@ -15,7 +15,7 @@ Common utilities and extension traits for the futures-rs library.
name = "futures_util"

[features]
default = ["std"]
default = ["std", "async-await", "async-await-macro"]
std = ["alloc", "futures-core-preview/std", "futures-task-preview/std", "slab"]
alloc = ["futures-core-preview/alloc", "futures-task-preview/alloc"]
async-await = []
Expand Down
2 changes: 1 addition & 1 deletion futures/Cargo.toml
Expand Up @@ -37,7 +37,7 @@ tokio = "0.1.11"
assert_matches = "1.3.0"

[features]
default = ["std", "executor"]
default = ["std", "async-await", "executor"]
std = ["alloc", "futures-core-preview/std", "futures-task-preview/std", "futures-io-preview/std", "futures-sink-preview/std", "futures-util-preview/std", "futures-util-preview/io", "futures-util-preview/channel"]
alloc = ["futures-core-preview/alloc", "futures-task-preview/alloc", "futures-sink-preview/alloc", "futures-channel-preview/alloc", "futures-util-preview/alloc"]
async-await = ["futures-util-preview/async-await", "futures-util-preview/async-await-macro"]
Expand Down