summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-06-16 20:24:41 +0200
committerLibravatar GitHub <noreply@github.com>2024-06-16 20:24:41 +0200
commit95d4adb55e485c01eec839736f328be26f2ccab6 (patch)
tree2676e3cb8ec17c5bf1cd561d97932ae302551dfd /src/lib.rs
parente6d0b3bda5042a1017a5944a5227c97e0ed6caf9 (diff)
parentb5c5a016c4f2b608a740b37c494186557a064f48 (diff)
downloadiced-95d4adb55e485c01eec839736f328be26f2ccab6.tar.gz
iced-95d4adb55e485c01eec839736f328be26f2ccab6.tar.bz2
iced-95d4adb55e485c01eec839736f328be26f2ccab6.zip
Merge pull request #2463 from iced-rs/task-api
`Task` API
Diffstat (limited to '')
-rw-r--r--src/lib.rs7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 317d25a6..cf0bc7d7 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -203,6 +203,7 @@ pub use crate::core::{
Length, Padding, Pixels, Point, Radians, Rectangle, Rotation, Shadow, Size,
Theme, Transformation, Vector,
};
+pub use crate::runtime::Task;
pub mod clipboard {
//! Access the clipboard.
@@ -256,11 +257,6 @@ pub mod mouse {
};
}
-pub mod command {
- //! Run asynchronous actions.
- pub use crate::runtime::command::{channel, Command};
-}
-
pub mod subscription {
//! Listen to external events in your application.
pub use iced_futures::subscription::{
@@ -312,7 +308,6 @@ pub mod widget {
mod runtime {}
}
-pub use command::Command;
pub use error::Error;
pub use event::Event;
pub use executor::Executor;