Skip to content

Commit 5d1de9d

Browse files
committed
Enable async-await feature in iced_futures
1 parent ea3cb63 commit 5d1de9d

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

futures/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ thread-pool = ["futures/thread-pool"]
2424
iced_core.workspace = true
2525

2626
futures.workspace = true
27-
futures.features = ["std"]
27+
futures.features = ["std", "async-await"]
2828

2929
log.workspace = true
3030
rustc-hash.workspace = true

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -487,8 +487,8 @@ pub use iced_futures::stream;
487487
feature = "smol"
488488
)))]
489489
compile_error!(
490-
"No futures executor has been enabled! You must enable an
491-
executor feature.\n
490+
"No futures executor has been enabled! You must enable an \
491+
executor feature.\n\
492492
Available options: thread-pool, tokio, or smol."
493493
);
494494

0 commit comments

Comments
 (0)