Make image support optional in iced_wgpu
This reduces binary size when image rendering is not necessary a considerable amount.
This commit is contained in:
parent
91d9d65a03
commit
bc611cf51c
6 changed files with 29 additions and 11 deletions
|
|
@ -12,10 +12,12 @@ keywords = ["gui", "ui", "graphics", "interface", "widgets"]
|
|||
categories = ["gui"]
|
||||
|
||||
[features]
|
||||
# Enables the Image widget
|
||||
image = ["iced_wgpu/image"]
|
||||
# Enables the Svg widget
|
||||
svg = ["iced_wgpu/svg"]
|
||||
# Enables a debug view in native platforms (press F12)
|
||||
debug = ["iced_winit/debug"]
|
||||
# Enables support for SVG rendering
|
||||
svg = ["iced_wgpu/svg"]
|
||||
|
||||
[badges]
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue