Skip to content

Commit

Permalink
Remove unnecessary image dependency from iced
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Nov 5, 2022
1 parent 0a23f51 commit 02db8fd
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resolver = "2"
[features]
default = ["wgpu"]
# Enables the `Image` widget
image = ["iced_wgpu?/image", "iced_glow?/image", "image_rs"]
image = ["iced_wgpu?/image", "iced_glow?/image"]
# Enables the `Svg` widget
svg = ["iced_wgpu?/svg", "iced_glow?/svg"]
# Enables the `Canvas` widget
Expand Down Expand Up @@ -103,11 +103,6 @@ iced_glutin = { version = "0.3", path = "glutin", optional = true }
iced_glow = { version = "0.3", path = "glow", optional = true }
thiserror = "1.0"

[dependencies.image_rs]
version = "0.23"
package = "image"
optional = true

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
iced_wgpu = { version = "0.5", path = "wgpu", optional = true }

Expand Down

0 comments on commit 02db8fd

Please sign in to comment.