feat(executor): add cosmic::executor::Default
This commit is contained in:
parent
a1b3d6ec38
commit
cc21b9baa1
4 changed files with 13 additions and 7 deletions
7
src/executor/mod.rs
Normal file
7
src/executor/mod.rs
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
pub mod single;
|
||||
|
||||
#[cfg(not(feature = "tokio"))]
|
||||
pub type Default = iced::executor::Default;
|
||||
|
||||
#[cfg(feature = "tokio")]
|
||||
pub type Default = single::Executor;
|
||||
Loading…
Add table
Add a link
Reference in a new issue