Update example dependencies

This commit is contained in:
Héctor Ramón Jiménez 2023-09-07 03:15:02 +02:00
parent 8cfad86ec1
commit d315e27451
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 9 additions and 11 deletions

View file

@ -13,13 +13,8 @@ iced_widget.workspace = true
tracing-subscriber = "0.3"
[target.'cfg(target_arch = "wasm32")'.dependencies]
console_error_panic_hook = "0.1.7"
console_log = "0.2.0"
console_error_panic_hook = "0.1"
console_log = "1.0"
log.workspace = true
wasm-bindgen = "0.2"
web-sys = { version = "0.3", features = ["Element", "HtmlCanvasElement", "Window", "Document"] }
# This dependency a little bit quirky, it is deep in the tree and without `js` feature it
# refuses to work with `wasm32-unknown-unknown target`. Unfortunately, we need this patch
# to make it work
getrandom = { version = "0.2", features = ["js"] }