diff options
author | Aaron Turon <aturon@mozilla.com> | 2018-03-13 13:57:35 -0700 |
---|---|---|
committer | Carl Lerche <me@carllerche.com> | 2018-03-13 13:57:35 -0700 |
commit | d304791c0e3a34cce91f6bcc7178d10c1b3ec9e8 (patch) | |
tree | 2e9cbb8c92e352b047763f4b41f135f73225b367 /tokio-io | |
parent | 5846b3fc2ae0a6a90e0cb1b017833dd2a22c31b5 (diff) |
Simultaneous futures compat (#172)
This patch adds opt-in support for futures 0.2.
Diffstat (limited to 'tokio-io')
-rw-r--r-- | tokio-io/Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tokio-io/Cargo.toml b/tokio-io/Cargo.toml index 95a9db3e..bf823257 100644 --- a/tokio-io/Cargo.toml +++ b/tokio-io/Cargo.toml @@ -20,3 +20,8 @@ categories = ["asynchronous"] bytes = "0.4" futures = "0.1.18" log = "0.4" +futures2 = { version = "0.1", path = "../futures2", optional = true } + +[features] +unstable-futures = ["futures2"] +default = [] |