Update gilrs to v0.9 (#4848)

# Objective
Fixes #4353. Fixes #4431. Picks up fixes for a panic for `gilrs` when `getGamepads()` is not available. 

## Solution
Update the `gilrs` to `v0.9.0`. Changelog can be seen here: dba36f9186

EDIT: Updated `uuid` to 1.1 to avoid duplicate dependencies. Added `nix`'s two dependencies as exceptions until `rodio` updates their deps.
This commit is contained in:
James Liu 2022-05-30 17:26:23 +00:00
parent a6eb3fa6d6
commit c46691c04a
6 changed files with 7 additions and 7 deletions

View file

@ -16,4 +16,4 @@ bevy_input = { path = "../bevy_input", version = "0.8.0-dev" }
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
# other
gilrs = { version = "0.8.0", features = ["wasm-bindgen"] }
gilrs = "0.9.0"

View file

@ -17,4 +17,4 @@ bevy_macro_utils = { path = "../../bevy_macro_utils", version = "0.8.0-dev" }
syn = { version = "1.0", features = ["full"] }
proc-macro2 = "1.0"
quote = "1.0"
uuid = { version = "0.8", features = ["v4"] }
uuid = { version = "1.1", features = ["v4"] }

View file

@ -20,6 +20,6 @@ bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
# other
serde = { version = "1.0", features = ["derive"] }
ron = "0.7.0"
uuid = { version = "0.8", features = ["v4", "serde"] }
uuid = { version = "1.1", features = ["v4", "serde"] }
anyhow = "1.0.4"
thiserror = "1.0"

View file

@ -12,9 +12,8 @@ keywords = ["bevy"]
ahash = "0.7.0"
tracing = { version = "0.1", default-features = false, features = ["std"] }
instant = { version = "0.1", features = ["wasm-bindgen"] }
uuid = { version = "0.8", features = ["v4", "serde"] }
uuid = { version = "1.1", features = ["v4", "serde"] }
hashbrown = { version = "0.11", features = ["serde"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = {version = "0.2.0", features = ["js"]}
uuid = { version = "0.8", features = ["wasm-bindgen"] }
getrandom = {version = "0.2.0", features = ["js"]}

View file

@ -59,7 +59,7 @@ use crate::raw_window_handle::RawWindowHandleWrapper;
impl fmt::Display for WindowId {
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
self.0.to_simple().fmt(f)
self.0.as_simple().fmt(f)
}
}

View file

@ -49,6 +49,7 @@ skip = [
{ name = "ndk-sys", version = "0.2" }, # from winit v0.26.1
{ name = "stdweb", version = "0.1" }, # from rodio v0.15.0
{ name = "wasi", version = "0.10"}, # from ahash v0.7.6
{ name = "nix", version = "0.23.1" }, # from alsa v0.6.0
]
[sources]