diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index b6b9379344..16a4c38428 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -274,6 +274,8 @@ web-sys = { version = "0.3.53", features = [ ]} js-sys = "0.3.50" wasm-bindgen-futures = "0.4.23" +# enable parking_lot's wasm-bindgen feature so that it, in turn, enables that of crate `instant` +parking_lot = { version = "0.11", features = ["wasm-bindgen"] } [target.'cfg(target_arch = "wasm32")'.dev-dependencies] console_error_panic_hook = "0.1.6"