Add logging for web in tour example
This commit is contained in:
parent
9c2ad457d8
commit
e562544807
2 changed files with 12 additions and 0 deletions
|
|
@ -9,8 +9,13 @@ publish = false
|
|||
iced.workspace = true
|
||||
iced.features = ["image", "debug"]
|
||||
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
tracing-subscriber = "0.3"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
iced.workspace = true
|
||||
iced.features = ["image", "debug", "webgl"]
|
||||
|
||||
console_error_panic_hook = "0.1"
|
||||
console_log = "1.0"
|
||||
log.workspace = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue