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
|
|
@ -2,7 +2,6 @@ mod button;
|
|||
mod checkbox;
|
||||
mod column;
|
||||
mod container;
|
||||
mod image;
|
||||
mod progress_bar;
|
||||
mod radio;
|
||||
mod row;
|
||||
|
|
@ -14,3 +13,6 @@ mod text_input;
|
|||
|
||||
#[cfg(feature = "svg")]
|
||||
mod svg;
|
||||
|
||||
#[cfg(feature = "image")]
|
||||
mod image;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue