diff options
author | 2023-03-05 04:15:10 +0100 | |
---|---|---|
committer | 2023-03-05 04:15:10 +0100 | |
commit | f4cf488e0b083b5d7b7612c650917233163ee9cb (patch) | |
tree | 66b7ebdbf6896f472c927d0f0d9fc02bdc5c5f83 /src/lib.rs | |
parent | 5fed065dc3aa3d2f9ff8d229cbffe003a89ba033 (diff) | |
download | iced-f4cf488e0b083b5d7b7612c650917233163ee9cb.tar.gz iced-f4cf488e0b083b5d7b7612c650917233163ee9cb.tar.bz2 iced-f4cf488e0b083b5d7b7612c650917233163ee9cb.zip |
Remove generic `Hasher` and `Event` from `subscription::Recipe`
Diffstat (limited to '')
-rw-r--r-- | src/lib.rs | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -193,7 +193,6 @@ pub use crate::core::{ Rectangle, Size, Vector, }; pub use crate::native::Command; -pub use native::subscription; pub mod clipboard { //! Access the clipboard. @@ -233,6 +232,13 @@ pub mod mouse { pub use crate::core::mouse::{Button, Event, Interaction, ScrollDelta}; } +pub mod subscription { + //! Listen to external events in your application. + pub use iced_futures::subscription::{ + events, events_with, run, run_with_id, unfold, Subscription, + }; +} + #[cfg(feature = "system")] pub mod system { //! Retrieve system information. |