Enable async-await feature in iced_futures

This commit is contained in:
Héctor Ramón Jiménez 2025-04-02 11:50:27 +02:00
parent ea3cb63d8b
commit 5d1de9dc95
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ thread-pool = ["futures/thread-pool"]
iced_core.workspace = true
futures.workspace = true
futures.features = ["std"]
futures.features = ["std", "async-await"]
log.workspace = true
rustc-hash.workspace = true

View file

@ -487,8 +487,8 @@ pub use iced_futures::stream;
feature = "smol"
)))]
compile_error!(
"No futures executor has been enabled! You must enable an
executor feature.\n
"No futures executor has been enabled! You must enable an \
executor feature.\n\
Available options: thread-pool, tokio, or smol."
);