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." );