diff options
author | 2023-09-09 13:59:18 +0200 | |
---|---|---|
committer | 2023-09-09 13:59:18 +0200 | |
commit | 9c2ad457d80e8254955396ad034df0dd5f2b59b3 (patch) | |
tree | d7a6525bef67be3869b33c610e980ccfce8202e5 /examples/todos | |
parent | 89d9c45d25e9bf89e48858b135bc7a2d41c757a8 (diff) | |
download | iced-9c2ad457d80e8254955396ad034df0dd5f2b59b3.tar.gz iced-9c2ad457d80e8254955396ad034df0dd5f2b59b3.tar.bz2 iced-9c2ad457d80e8254955396ad034df0dd5f2b59b3.zip |
Add webgl feature for web examples
Diffstat (limited to 'examples/todos')
-rw-r--r-- | examples/todos/Cargo.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/todos/Cargo.toml b/examples/todos/Cargo.toml index fea20375..3334d84f 100644 --- a/examples/todos/Cargo.toml +++ b/examples/todos/Cargo.toml @@ -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 |