From 5d1de9dc95bd981be122f6442d7d77de80d5d176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ram=C3=B3n=20Jim=C3=A9nez?= Date: Wed, 2 Apr 2025 11:50:27 +0200 Subject: [PATCH] Enable `async-await` feature in `iced_futures` --- futures/Cargo.toml | 2 +- src/lib.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/futures/Cargo.toml b/futures/Cargo.toml index e2c342ff..8bc693e9 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -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 diff --git a/src/lib.rs b/src/lib.rs index dd879bf6..21543fac 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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." );