Add webgl feature for web examples

This commit is contained in:
Thomas 2023-09-09 13:59:18 +02:00
parent 89d9c45d25
commit 9c2ad457d8
4 changed files with 14 additions and 0 deletions

View file

@ -18,6 +18,9 @@ async-std.workspace = true
directories-next = "2.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
iced.workspace = true
iced.features = ["debug", "webgl"]
web-sys = { workspace = true, features = ["Window", "Storage"] }
wasm-timer.workspace = true