diff --git a/Cargo.toml b/Cargo.toml index b2afe43f..ee230e34 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" diff --git a/iced b/iced index 9ad04dad..82b87f9c 160000 --- a/iced +++ b/iced @@ -1 +1 @@ -Subproject commit 9ad04dadde75ac4b445602fc6f31e05d7b7003c3 +Subproject commit 82b87f9caac6be9e1a6d75425e7a39d193a8590d