From c6d4c63f42e5d4315237eb7680bccfbf3e1a7ac5 Mon Sep 17 00:00:00 2001 From: Jakob Hellermann Date: Thu, 23 Dec 2021 19:19:14 +0000 Subject: [PATCH] enable `wasm-bindgen` feature on gilrs (#3420) WIthout the feature, `gilrs` uses `stdweb` instead of `wasm-bindgen` which isn't compatible with the rest of bevy. Unfortunately, the `stdweb` dependency is still in the dependency tree, it just isn't used (https://gitlab.com/gilrs-project/gilrs/-/issues/101). This will be fixed in `gilrs 0.9` when it releases. --- crates/bevy_gilrs/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/bevy_gilrs/Cargo.toml b/crates/bevy_gilrs/Cargo.toml index b5bc1b6f65b44..9311d1b89515b 100644 --- a/crates/bevy_gilrs/Cargo.toml +++ b/crates/bevy_gilrs/Cargo.toml @@ -16,4 +16,4 @@ bevy_input = { path = "../bevy_input", version = "0.5.0" } bevy_utils = { path = "../bevy_utils", version = "0.5.0" } # other -gilrs = "0.8.0" \ No newline at end of file +gilrs = { version = "0.8.0", features = ["wasm-bindgen"] }