feat: animated image widget

This commit is contained in:
Ashley Wulber 2023-07-26 16:32:23 -04:00 committed by Ashley Wulber
parent dd3f421c72
commit ab88a5b59f
3 changed files with 414 additions and 0 deletions

View file

@ -18,6 +18,7 @@ winit = ["iced/winit", "iced_winit"]
winit_tokio = ["iced/winit", "iced_winit", "tokio"]
winit_debug = ["iced/winit", "iced_winit", "debug"]
winit_wgpu = ["winit", "wgpu"]
animated-image = ["image", "dep:async-fs", "tokio?/io-util", "tokio?/fs"]
[dependencies]
apply = "0.3.0"
@ -30,6 +31,9 @@ slotmap = "1.0.6"
fraction = "0.13.0"
cosmic-config = { path = "cosmic-config" }
tracing = "0.1"
image = { version = "0.24.6", optional = true }
thiserror = "1.0.44"
async-fs = { version = "1.6", optional = true }
[target.'cfg(unix)'.dependencies]
freedesktop-icons = "0.2.2"