mirror of
https://github.com/bevyengine/bevy
synced 2024-11-10 07:04:33 +00:00
Use instant::Instant with wasm-bindgen feature (#591)
This commit is contained in:
parent
74ad1c3752
commit
408114269b
3 changed files with 3 additions and 3 deletions
|
@ -29,4 +29,4 @@ serde = { version = "1.0", features = ["derive"] }
|
|||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
wasm-bindgen = { version = "0.2" }
|
||||
web-sys = { version = "0.3", features = [ "Window" ] }
|
||||
instant = "0.1.6"
|
||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
||||
|
|
|
@ -31,4 +31,4 @@ bevy_tasks = { path = "../bevy_tasks", version = "0.2.1" }
|
|||
log = { version = "0.4", features = ["release_max_level_info"] }
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
instant = "0.1.6"
|
||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
||||
|
|
|
@ -27,4 +27,4 @@ uuid = { version = "0.8", features = ["v4", "serde"] }
|
|||
parking_lot = "0.11.0"
|
||||
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
instant = "0.1.6"
|
||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
||||
|
|
Loading…
Reference in a new issue