diff options
author | 2020-01-20 11:19:42 +0100 | |
---|---|---|
committer | 2020-01-20 11:19:42 +0100 | |
commit | bc611cf51cd35bb3a4b91500c8a13202db58ac38 (patch) | |
tree | 38d04730584ca63fac40e8902eaf03b01bc077fe /examples/pokedex | |
parent | 91d9d65a03ce9b211e4043726e7424949d314325 (diff) | |
download | iced-bc611cf51cd35bb3a4b91500c8a13202db58ac38.tar.gz iced-bc611cf51cd35bb3a4b91500c8a13202db58ac38.tar.bz2 iced-bc611cf51cd35bb3a4b91500c8a13202db58ac38.zip |
Make `image` support optional in `iced_wgpu`
This reduces binary size when image rendering is not necessary a
considerable amount.
Diffstat (limited to 'examples/pokedex')
-rw-r--r-- | examples/pokedex/Cargo.toml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/pokedex/Cargo.toml b/examples/pokedex/Cargo.toml index 2972590f..76a3a82f 100644 --- a/examples/pokedex/Cargo.toml +++ b/examples/pokedex/Cargo.toml @@ -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" |