Fix unstable-futures feature flag propagation (#261)

This commit is contained in:
Sam Rijs 2018-03-28 09:46:02 +11:00 committed by Carl Lerche
parent 2edc35a45d
commit 415a786049
4 changed files with 16 additions and 4 deletions

View File

@ -29,5 +29,8 @@ tokio-io = { version = "0.1.6", path = "../tokio-io" }
futures2 = { version = "0.1", path = "../futures2", optional = true } futures2 = { version = "0.1", path = "../futures2", optional = true }
[features] [features]
unstable-futures = ["futures2"] unstable-futures = [
"futures2",
"tokio-executor/unstable-futures",
]
default = [] default = []

View File

@ -31,5 +31,8 @@ futures2 = { version = "0.1", path = "../futures2", optional = true }
env_logger = { version = "0.4", default-features = false } env_logger = { version = "0.4", default-features = false }
[features] [features]
unstable-futures = ["futures2"] unstable-futures = [
"futures2",
"tokio-reactor/unstable-futures",
]
default = [] default = []

View File

@ -29,5 +29,8 @@ env_logger = "0.4"
futures-cpupool = "0.1.7" futures-cpupool = "0.1.7"
[features] [features]
unstable-futures = ["futures2", "tokio-executor/unstable-futures"] unstable-futures = [
"futures2",
"tokio-executor/unstable-futures",
]
default = [] default = []

View File

@ -31,5 +31,8 @@ futures2 = { version = "0.1", path = "../futures2", optional = true }
env_logger = { version = "0.4", default-features = false } env_logger = { version = "0.4", default-features = false }
[features] [features]
unstable-futures = ["futures2"] unstable-futures = [
"futures2",
"tokio-reactor/unstable-futures",
]
default = [] default = []