@@ -24,7 +24,7 @@ travis-ci = { repository = "rust-lang-nursery/futures-rs" }
24
24
[dependencies ]
25
25
futures-core-preview = { path = " ../futures-core" , version = " =0.3.0-alpha.19" , default-features = false }
26
26
futures-channel-preview = { path = " ../futures-channel" , version = " =0.3.0-alpha.19" , default-features = false , features = [" sink" ] }
27
- futures-executor-preview = { path = " ../futures-executor" , version = " =0.3.0-alpha.19" , default-features = false }
27
+ futures-executor-preview = { path = " ../futures-executor" , version = " =0.3.0-alpha.19" , default-features = false , optional = true }
28
28
futures-io-preview = { path = " ../futures-io" , version = " =0.3.0-alpha.19" , default-features = false }
29
29
futures-sink-preview = { path = " ../futures-sink" , version = " =0.3.0-alpha.19" , default-features = false }
30
30
futures-util-preview = { path = " ../futures-util" , version = " =0.3.0-alpha.19" , default-features = false , features = [" sink" ] }
@@ -36,13 +36,14 @@ tokio = "0.1.11"
36
36
assert_matches = " 1.3.0"
37
37
38
38
[features ]
39
- default = [" std" ]
40
- std = [" alloc" , " futures-core-preview/std" , " futures-executor-preview/std " , " futures- io-preview/std" , " futures-sink-preview/std" , " futures-util-preview/std" , " futures-util-preview/io" , " futures-util-preview/channel" ]
39
+ default = [" std" , " executor " ]
40
+ std = [" alloc" , " futures-core-preview/std" , " futures-io-preview/std" , " futures-sink-preview/std" , " futures-util-preview/std" , " futures-util-preview/io" , " futures-util-preview/channel" ]
41
41
alloc = [" futures-core-preview/alloc" , " futures-sink-preview/alloc" , " futures-channel-preview/alloc" , " futures-util-preview/alloc" ]
42
42
async-await = [" futures-util-preview/async-await" , " futures-util-preview/async-await-macro" ]
43
43
compat = [" std" , " futures-util-preview/compat" ]
44
44
io-compat = [" compat" , " futures-util-preview/io-compat" ]
45
- thread-pool = [" futures-executor-preview/thread-pool" ]
45
+ executor = [" std" , " futures-executor-preview/std" ]
46
+ thread-pool = [" executor" , " futures-executor-preview/thread-pool" ]
46
47
47
48
# Unstable features
48
49
# These features are outside of the normal semver guarantees and require the
0 commit comments