summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón <hector@hecrj.dev>2024-09-02 11:57:35 +0200
committerLibravatar GitHub <noreply@github.com>2024-09-02 11:57:35 +0200
commitcb94e40b60d385f28e13476756c11651e5c141d6 (patch)
treea1f633cf5fd19930f808dba85f3eb3114df9ea08
parent0dcec519be23da6d3bc409dbf7ac65407d59dc12 (diff)
parentfa66610f246f681f2d9f3ac968ee8a8e1b507dd7 (diff)
downloadiced-cb94e40b60d385f28e13476756c11651e5c141d6.tar.gz
iced-cb94e40b60d385f28e13476756c11651e5c141d6.tar.bz2
iced-cb94e40b60d385f28e13476756c11651e5c141d6.zip
Merge pull request #2244 from dtzxporter/separate-image-widget-from-image-codecs
Separate image widget support from image codecs.
Diffstat (limited to '')
-rw-r--r--Cargo.toml6
1 files changed, 4 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 65c5007e..52464e38 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -27,7 +27,9 @@ wgpu = ["iced_renderer/wgpu", "iced_widget/wgpu"]
# Enable the `tiny-skia` software renderer backend
tiny-skia = ["iced_renderer/tiny-skia"]
# Enables the `Image` widget
-image = ["iced_widget/image", "dep:image"]
+image = ["image-without-codecs", "image/default"]
+# Enables the `Image` widget, without any built-in codecs of the `image` crate
+image-without-codecs = ["iced_widget/image", "dep:image"]
# Enables the `Svg` widget
svg = ["iced_widget/svg"]
# Enables the `Canvas` widget
@@ -147,7 +149,7 @@ glam = "0.25"
glyphon = { git = "https://github.com/hecrj/glyphon.git", rev = "feef9f5630c2adb3528937e55f7bfad2da561a65" }
guillotiere = "0.6"
half = "2.2"
-image = "0.24"
+image = { version = "0.24", default-features = false }
kamadak-exif = "0.5"
kurbo = "0.10"
log = "0.4"