diff options
author | 2020-01-20 11:19:42 +0100 | |
---|---|---|
committer | 2020-01-20 11:19:42 +0100 | |
commit | bc611cf51cd35bb3a4b91500c8a13202db58ac38 (patch) | |
tree | 38d04730584ca63fac40e8902eaf03b01bc077fe /examples | |
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')
-rw-r--r-- | examples/pokedex/Cargo.toml | 2 | ||||
-rw-r--r-- | examples/tour/Cargo.toml | 2 |
2 files changed, 2 insertions, 2 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" diff --git a/examples/tour/Cargo.toml b/examples/tour/Cargo.toml index 7772df1b..45105c31 100644 --- a/examples/tour/Cargo.toml +++ b/examples/tour/Cargo.toml @@ -6,7 +6,7 @@ edition = "2018" publish = false [dependencies] -iced = { path = "../..", features = ["debug"] } +iced = { path = "../..", features = ["image", "debug"] } env_logger = "0.7" [target.'cfg(target_arch = "wasm32")'.dependencies] |