Move webgl feature selection for wgpu into iced_wgpu

This commit is contained in:
Héctor Ramón Jiménez 2023-03-05 06:40:20 +01:00
parent 1c36446115
commit 06bbcc310e
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
3 changed files with 8 additions and 8 deletions

View file

@ -23,7 +23,6 @@ dds = ["iced_graphics/dds"]
farbfeld = ["iced_graphics/farbfeld"]
geometry = ["iced_graphics/geometry", "lyon"]
spirv = ["wgpu/spirv"]
webgl = ["wgpu/webgl"]
[dependencies]
wgpu = "0.14"
@ -36,6 +35,9 @@ once_cell = "1.0"
rustc-hash = "1.1"
ouroboros = "0.15"
[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "0.14", features = ["webgl"] }
[dependencies.twox-hash]
version = "1.6"
default-features = false