Move webgl feature selection for wgpu into iced_wgpu
This commit is contained in:
parent
1c36446115
commit
06bbcc310e
3 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue