summaryrefslogtreecommitdiffstats
path: root/core/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Héctor <hector@hecrj.dev>2025-01-28 03:47:13 +0100
committerLibravatar GitHub <noreply@github.com>2025-01-28 03:47:13 +0100
commit00a048677fc43a5e3106dff17e0c1c490fdc5ce1 (patch)
tree2c63fffc6a06148c8ed65753debc0a1f6a17f52e /core/src/lib.rs
parentda1726b134ae084dd76b9e0a1107a771f69ed7c9 (diff)
parentcd445f758f08f97a719a3320d54df30620aa4434 (diff)
downloadiced-00a048677fc43a5e3106dff17e0c1c490fdc5ce1.tar.gz
iced-00a048677fc43a5e3106dff17e0c1c490fdc5ce1.tar.bz2
iced-00a048677fc43a5e3106dff17e0c1c490fdc5ce1.zip
Merge pull request #2757 from iced-rs/feature/animation-api
`Animation` API for application code
Diffstat (limited to 'core/src/lib.rs')
-rw-r--r--core/src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 645f7a90..3a61a5ee 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -10,6 +10,8 @@
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;
pub mod event;
@@ -49,6 +51,8 @@ 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;
pub use clipboard::Clipboard;