Move time module from iced_native to iced_core
This commit is contained in:
parent
87b3e03d18
commit
83c649b574
5 changed files with 6 additions and 5 deletions
|
|
@ -13,3 +13,7 @@ bitflags = "1.2"
|
||||||
[dependencies.palette]
|
[dependencies.palette]
|
||||||
version = "0.5"
|
version = "0.5"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
||||||
|
[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
|
||||||
|
version = "0.1"
|
||||||
|
features = ["wasm-bindgen"]
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@
|
||||||
pub mod alignment;
|
pub mod alignment;
|
||||||
pub mod keyboard;
|
pub mod keyboard;
|
||||||
pub mod mouse;
|
pub mod mouse;
|
||||||
|
pub mod time;
|
||||||
|
|
||||||
mod background;
|
mod background;
|
||||||
mod color;
|
mod color;
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,3 @@ features = ["thread-pool"]
|
||||||
[dependencies.iced_style]
|
[dependencies.iced_style]
|
||||||
version = "0.3"
|
version = "0.3"
|
||||||
path = "../style"
|
path = "../style"
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
|
|
||||||
version = "0.1"
|
|
||||||
features = ["wasm-bindgen"]
|
|
||||||
|
|
|
||||||
|
|
@ -49,7 +49,6 @@ pub mod renderer;
|
||||||
pub mod subscription;
|
pub mod subscription;
|
||||||
pub mod svg;
|
pub mod svg;
|
||||||
pub mod text;
|
pub mod text;
|
||||||
pub mod time;
|
|
||||||
pub mod touch;
|
pub mod touch;
|
||||||
pub mod user_interface;
|
pub mod user_interface;
|
||||||
pub mod widget;
|
pub mod widget;
|
||||||
|
|
@ -70,6 +69,7 @@ mod debug;
|
||||||
mod debug;
|
mod debug;
|
||||||
|
|
||||||
pub use iced_core::alignment;
|
pub use iced_core::alignment;
|
||||||
|
pub use iced_core::time;
|
||||||
pub use iced_core::{
|
pub use iced_core::{
|
||||||
Alignment, Background, Color, Font, Length, Padding, Point, Rectangle,
|
Alignment, Background, Color, Font, Length, Padding, Point, Rectangle,
|
||||||
Size, Vector,
|
Size, Vector,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue