summaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--core/src/time.rs (renamed from native/src/time.rs)0
-rw-r--r--native/Cargo.toml4
-rw-r--r--native/src/lib.rs2
3 files changed, 1 insertions, 5 deletions
diff --git a/native/src/time.rs b/core/src/time.rs
index 5f95ee86..5f95ee86 100644
--- a/native/src/time.rs
+++ b/core/src/time.rs
diff --git a/native/Cargo.toml b/native/Cargo.toml
index 499ad29e..8f0aea6a 100644
--- a/native/Cargo.toml
+++ b/native/Cargo.toml
@@ -27,7 +27,3 @@ features = ["thread-pool"]
[dependencies.iced_style]
version = "0.3"
path = "../style"
-
-[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
-version = "0.1"
-features = ["wasm-bindgen"]
diff --git a/native/src/lib.rs b/native/src/lib.rs
index bd50c6b2..6d98f7d1 100644
--- a/native/src/lib.rs
+++ b/native/src/lib.rs
@@ -49,7 +49,6 @@ pub mod renderer;
pub mod subscription;
pub mod svg;
pub mod text;
-pub mod time;
pub mod touch;
pub mod user_interface;
pub mod widget;
@@ -70,6 +69,7 @@ mod debug;
mod debug;
pub use iced_core::alignment;
+pub use iced_core::time;
pub use iced_core::{
Alignment, Background, Color, Font, Length, Padding, Point, Rectangle,
Size, Vector,