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:
Héctor Ramón Jiménez 2020-01-20 11:19:42 +01:00
parent 91d9d65a03
commit bc611cf51c
6 changed files with 29 additions and 11 deletions

View file

@ -6,7 +6,7 @@ edition = "2018"
publish = false
[dependencies]
iced = { path = "../.." }
iced = { path = "../..", features = ["image"] }
iced_futures = { path = "../../futures", features = ["async-std"] }
surf = "1.0"
rand = "0.7"