Remove leftover mentions of async-std

This commit is contained in:
Héctor Ramón Jiménez 2025-04-02 11:08:23 +02:00
parent 9f1beba583
commit 5b8d92ed5b
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 2 additions and 14 deletions

View file

@ -489,7 +489,7 @@ pub use iced_futures::stream;
compile_error!( compile_error!(
"No futures executor has been enabled! You must enable an "No futures executor has been enabled! You must enable an
executor feature.\n executor feature.\n
Available options: thread-pool, tokio, smol, or async-std." Available options: thread-pool, tokio, or smol."
); );
#[cfg(feature = "highlighter")] #[cfg(feature = "highlighter")]
@ -547,18 +547,7 @@ pub mod clipboard {
pub mod executor { pub mod executor {
//! Choose your preferred executor to power your application. //! Choose your preferred executor to power your application.
pub use iced_futures::Executor; pub use iced_futures::Executor;
pub use iced_futures::backend::default::Executor as Default;
/// 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 mod font { pub mod font {

View file

@ -6,7 +6,6 @@ pub use crate::core::time::*;
docsrs, docsrs,
doc(cfg(any( doc(cfg(any(
feature = "tokio", feature = "tokio",
feature = "async-std",
feature = "smol", feature = "smol",
target_arch = "wasm32" target_arch = "wasm32"
))) )))