2
0
Fork 1
mirror of https://github.com/async-rs/async-std.git synced 2025-04-08 09:26:42 +00:00

Select future-core featue according to feature

This commit is contained in:
k-nasa 2020-02-01 09:47:33 +09:00
parent ef985bc72e
commit f789f9d4f6

View file

@ -38,16 +38,17 @@ docs = ["attributes", "unstable", "default"]
unstable = ["std", "broadcaster", "futures-timer"] unstable = ["std", "broadcaster", "futures-timer"]
attributes = ["async-attributes"] attributes = ["async-attributes"]
std = [ std = [
"alloc",
"crossbeam-utils", "crossbeam-utils",
"futures-core/std",
"futures-io", "futures-io",
"memchr", "memchr",
"once_cell", "once_cell",
"pin-utils", "pin-utils",
"slab", "slab",
"alloc",
] ]
alloc = [ alloc = [
"futures-core", "futures-core/alloc",
"pin-project-lite", "pin-project-lite",
] ]
@ -58,7 +59,7 @@ broadcaster = { version = "1.0.0", optional = true }
crossbeam-channel = { version = "0.4.0", optional = true } crossbeam-channel = { version = "0.4.0", optional = true }
crossbeam-deque = { version = "0.7.2", optional = true } crossbeam-deque = { version = "0.7.2", optional = true }
crossbeam-utils = { version = "0.7.0", optional = true } crossbeam-utils = { version = "0.7.0", optional = true }
futures-core = { version = "0.3.1", optional = true } futures-core = { version = "0.3.1", optional = true, default-features = false }
futures-io = { version = "0.3.1", optional = true } futures-io = { version = "0.3.1", optional = true }
futures-timer = { version = "2.0.2", optional = true } futures-timer = { version = "2.0.2", optional = true }
kv-log-macro = { version = "1.0.4", optional = true } kv-log-macro = { version = "1.0.4", optional = true }