summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs3
-rw-r--r--src/time.rs1
2 files changed, 3 insertions, 1 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 002d2a79..446590ec 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -230,7 +230,8 @@ pub mod event {
pub mod keyboard {
//! Listen and react to keyboard events.
- pub use crate::core::keyboard::{Event, KeyCode, Modifiers};
+ pub use crate::core::keyboard::key;
+ pub use crate::core::keyboard::{Event, Key, Location, Modifiers};
pub use iced_futures::keyboard::{on_key_press, on_key_release};
}
diff --git a/src/time.rs b/src/time.rs
index 37d454ed..f10f7a5e 100644
--- a/src/time.rs
+++ b/src/time.rs
@@ -1,4 +1,5 @@
//! Listen and react to time.
pub use iced_core::time::{Duration, Instant};
+#[allow(unused_imports)]
pub use iced_futures::backend::default::time::*;