Implement time module for wasm-bindgen backend in iced_futures

This commit is contained in:
Héctor Ramón Jiménez 2022-01-28 18:43:20 +07:00
parent 167be45a7d
commit e730d97f61
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
7 changed files with 61 additions and 21 deletions

View file

@ -14,6 +14,5 @@ bitflags = "1.2"
version = "0.5"
optional = true
[target.'cfg(target_arch = "wasm32")'.dependencies.instant]
version = "0.1"
features = ["wasm-bindgen"]
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-timer = { version = "0.2" }