diff --git a/Cargo.toml b/Cargo.toml index f1bbd6bb57..93b214fc72 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -158,7 +158,7 @@ half = "2.2" image = { version = "0.25", default-features = false } kamadak-exif = "0.5" kurbo = "0.10" -lilt = "0.7" +lilt = "0.8" log = "0.4" lyon = "1.0" lyon_path = "1.0" diff --git a/core/src/lib.rs b/core/src/lib.rs index 3a61a5ee34..16b3aa0f27 100644 --- a/core/src/lib.rs +++ b/core/src/lib.rs @@ -10,7 +10,6 @@ html_logo_url = "https://raw.githubusercontent.com/iced-rs/iced/9ab6923e943f784985e9ef9ca28b10278297225d/docs/logo.svg" )] pub mod alignment; -#[cfg(not(target_arch = "wasm32"))] pub mod animation; pub mod border; pub mod clipboard; @@ -51,7 +50,6 @@ mod vector; pub use alignment::Alignment; pub use angle::{Degrees, Radians}; -#[cfg(not(target_arch = "wasm32"))] pub use animation::Animation; pub use background::Background; pub use border::Border; diff --git a/src/lib.rs b/src/lib.rs index 34e1e37deb..eec844bc76 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -498,25 +498,20 @@ pub mod window; pub mod advanced; pub use crate::core::alignment; +pub use crate::core::animation; pub use crate::core::border; pub use crate::core::color; pub use crate::core::gradient; pub use crate::core::padding; pub use crate::core::theme; pub use crate::core::{ - Alignment, Background, Border, Color, ContentFit, Degrees, Gradient, - Length, Padding, Pixels, Point, Radians, Rectangle, Rotation, Settings, - Shadow, Size, Theme, Transformation, Vector, + Alignment, Animation, Background, Border, Color, ContentFit, Degrees, + Gradient, Length, Padding, Pixels, Point, Radians, Rectangle, Rotation, + Settings, Shadow, Size, Theme, Transformation, Vector, }; pub use crate::runtime::exit; pub use iced_futures::Subscription; -#[cfg(not(target_arch = "wasm32"))] -pub use crate::core::animation; - -#[cfg(not(target_arch = "wasm32"))] -pub use crate::core::Animation; - pub use alignment::Horizontal::{Left, Right}; pub use alignment::Vertical::{Bottom, Top}; pub use Alignment::Center;