Skip to content

Commit f789f9d

Browse files
committed
Select future-core featue according to feature
1 parent ef985bc commit f789f9d

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -38,16 +38,17 @@ docs = ["attributes", "unstable", "default"]
3838
unstable = ["std", "broadcaster", "futures-timer"]
3939
attributes = ["async-attributes"]
4040
std = [
41+
"alloc",
4142
"crossbeam-utils",
43+
"futures-core/std",
4244
"futures-io",
4345
"memchr",
4446
"once_cell",
4547
"pin-utils",
4648
"slab",
47-
"alloc",
4849
]
4950
alloc = [
50-
"futures-core",
51+
"futures-core/alloc",
5152
"pin-project-lite",
5253
]
5354

@@ -58,7 +59,7 @@ broadcaster = { version = "1.0.0", optional = true }
5859
crossbeam-channel = { version = "0.4.0", optional = true }
5960
crossbeam-deque = { version = "0.7.2", optional = true }
6061
crossbeam-utils = { version = "0.7.0", optional = true }
61-
futures-core = { version = "0.3.1", optional = true }
62+
futures-core = { version = "0.3.1", optional = true, default-features = false }
6263
futures-io = { version = "0.3.1", optional = true }
6364
futures-timer = { version = "2.0.2", optional = true }
6465
kv-log-macro = { version = "1.0.4", optional = true }

0 commit comments

Comments
 (0)