Enable async-await feature in iced_futures
This commit is contained in:
parent
ea3cb63d8b
commit
5d1de9dc95
2 changed files with 3 additions and 3 deletions
|
|
@ -24,7 +24,7 @@ thread-pool = ["futures/thread-pool"]
|
||||||
iced_core.workspace = true
|
iced_core.workspace = true
|
||||||
|
|
||||||
futures.workspace = true
|
futures.workspace = true
|
||||||
futures.features = ["std"]
|
futures.features = ["std", "async-await"]
|
||||||
|
|
||||||
log.workspace = true
|
log.workspace = true
|
||||||
rustc-hash.workspace = true
|
rustc-hash.workspace = true
|
||||||
|
|
|
||||||
|
|
@ -487,8 +487,8 @@ pub use iced_futures::stream;
|
||||||
feature = "smol"
|
feature = "smol"
|
||||||
)))]
|
)))]
|
||||||
compile_error!(
|
compile_error!(
|
||||||
"No futures executor has been enabled! You must enable an
|
"No futures executor has been enabled! You must enable an \
|
||||||
executor feature.\n
|
executor feature.\n\
|
||||||
Available options: thread-pool, tokio, or smol."
|
Available options: thread-pool, tokio, or smol."
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue