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
|
|
@ -7,7 +7,7 @@ publish = false
|
|||
|
||||
[dependencies]
|
||||
iced_winit = { path = "../../winit" }
|
||||
iced_wgpu = { path = "../../wgpu", features = ["webgl"] }
|
||||
iced_wgpu = { path = "../../wgpu" }
|
||||
iced_widget = { path = "../../widget" }
|
||||
env_logger = "0.8"
|
||||
|
||||
|
|
|
|||
|
|
@ -17,12 +17,10 @@ thiserror = "1"
|
|||
version = "0.7"
|
||||
path = "../graphics"
|
||||
|
||||
[dependencies.iced_wgpu]
|
||||
version = "0.9"
|
||||
path = "../wgpu"
|
||||
|
||||
[dependencies.iced_tiny_skia]
|
||||
version = "0.1"
|
||||
path = "../tiny_skia"
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
iced_wgpu = { version = "0.9", path = "../wgpu" }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
iced_wgpu = { version = "0.9", path = "../wgpu", features = ["webgl"] }
|
||||
|
|
|
|||
|
|
@ -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