From 5b8d92ed5bcb0719ec7ba6d0f067bd669e6d226d 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:08:23 +0200 Subject: [PATCH] Remove leftover mentions of `async-std` --- src/lib.rs | 15 ++------------- src/time.rs | 1 - 2 files changed, 2 insertions(+), 14 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index ebb80282..dd879bf6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -489,7 +489,7 @@ pub use iced_futures::stream; compile_error!( "No futures executor has been enabled! You must enable an executor feature.\n - Available options: thread-pool, tokio, smol, or async-std." + Available options: thread-pool, tokio, or smol." ); #[cfg(feature = "highlighter")] @@ -547,18 +547,7 @@ pub mod clipboard { pub mod executor { //! Choose your preferred executor to power your application. pub use iced_futures::Executor; - - /// A default cross-platform executor. - /// - /// - On native platforms, it will use: - /// - `iced_futures::backend::native::tokio` when the `tokio` feature is enabled. - /// - `iced_futures::backend::native::async-std` when the `async-std` feature is - /// enabled. - /// - `iced_futures::backend::native::smol` when the `smol` feature is enabled. - /// - `iced_futures::backend::native::thread_pool` otherwise. - /// - /// - On Wasm, it will use `iced_futures::backend::wasm::wasm_bindgen`. - pub type Default = iced_futures::backend::default::Executor; + pub use iced_futures::backend::default::Executor as Default; } pub mod font { diff --git a/src/time.rs b/src/time.rs index 98a800ac..f32eeb17 100644 --- a/src/time.rs +++ b/src/time.rs @@ -6,7 +6,6 @@ pub use crate::core::time::*; docsrs, doc(cfg(any( feature = "tokio", - feature = "async-std", feature = "smol", target_arch = "wasm32" )))