Split iced_futures into different backend implementations
This commit is contained in:
parent
5dab5a327e
commit
167be45a7d
19 changed files with 280 additions and 318 deletions
16
futures/src/backend/native.rs
Normal file
16
futures/src/backend/native.rs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
//! Backends that are only available in native platforms: Windows, macOS, or Linux.
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "tokio",)))]
|
||||
#[cfg(feature = "tokio")]
|
||||
pub mod tokio;
|
||||
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "async-std",)))]
|
||||
#[cfg(feature = "async-std")]
|
||||
pub mod async_std;
|
||||
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "smol",)))]
|
||||
#[cfg(feature = "smol")]
|
||||
pub mod smol;
|
||||
|
||||
#[cfg_attr(docsrs, doc(cfg(feature = "thread-pool",)))]
|
||||
#[cfg(feature = "thread-pool")]
|
||||
pub mod thread_pool;
|
||||
Loading…
Add table
Add a link
Reference in a new issue