chore: update image-rs and set defaults to only png + jpeg

This commit is contained in:
Michael Aaron Murphy 2025-01-14 21:41:16 +01:00
parent bd8347f7fc
commit 99b729faff
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
2 changed files with 14 additions and 4 deletions

View file

@ -14,7 +14,7 @@ a11y = ["iced/a11y", "iced_accessibility"]
# Enable about widget
about = ["desktop", "dep:license"]
# Builds support for animated images
animated-image = ["image", "dep:async-fs", "tokio?/io-util", "tokio?/fs"]
animated-image = ["dep:async-fs", "tokio?/io-util", "tokio?/fs"]
# XXX autosize should not be used on winit windows unless dialogs
autosize = []
applet = [
@ -95,7 +95,10 @@ cosmic-config = { path = "cosmic-config" }
cosmic-settings-daemon = { git = "https://github.com/pop-os/dbus-settings-bindings", optional = true }
css-color = "0.2.5"
derive_setters = "0.1.5"
image = { version = "0.25.1", optional = true }
image = { version = "0.25.5", default-features = false, features = [
"jpeg",
"png",
] }
lazy_static = "1.4.0"
libc = { version = "0.2.155", optional = true }
license = { version = "3.5.1", optional = true }
@ -127,7 +130,14 @@ path = "cosmic-theme"
[dependencies.iced]
path = "./iced"
default-features = false
features = ["advanced", "image", "lazy", "svg", "web-colors", "tiny-skia"]
features = [
"advanced",
"image-without-codecs",
"lazy",
"svg",
"web-colors",
"tiny-skia",
]
[dependencies.iced_runtime]
path = "./iced/runtime"

2
iced

@ -1 +1 @@
Subproject commit 9ad04dadde75ac4b445602fc6f31e05d7b7003c3
Subproject commit 82b87f9caac6be9e1a6d75425e7a39d193a8590d