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

@ -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"] }