Skip to content

Commit

Permalink
Add async/await to default features
Browse files Browse the repository at this point in the history
Fixes #1904
  • Loading branch information
cramertj committed Nov 5, 2019
1 parent 47f3ccb commit 4fef913
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion futures-util/Cargo.toml
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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

0 comments on commit 4fef913

Please sign in to comment.