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:
parent
a6eb3fa6d6
commit
c46691c04a
@ -16,4 +16,4 @@ bevy_input = { path = "../bevy_input", version = "0.8.0-dev" }
|
|||||||
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
|
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
|
||||||
|
|
||||||
# other
|
# other
|
||||||
gilrs = { version = "0.8.0", features = ["wasm-bindgen"] }
|
gilrs = "0.9.0"
|
||||||
|
@ -17,4 +17,4 @@ bevy_macro_utils = { path = "../../bevy_macro_utils", version = "0.8.0-dev" }
|
|||||||
syn = { version = "1.0", features = ["full"] }
|
syn = { version = "1.0", features = ["full"] }
|
||||||
proc-macro2 = "1.0"
|
proc-macro2 = "1.0"
|
||||||
quote = "1.0"
|
quote = "1.0"
|
||||||
uuid = { version = "0.8", features = ["v4"] }
|
uuid = { version = "1.1", features = ["v4"] }
|
||||||
|
@ -20,6 +20,6 @@ bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
|
|||||||
# other
|
# other
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
ron = "0.7.0"
|
ron = "0.7.0"
|
||||||
uuid = { version = "0.8", features = ["v4", "serde"] }
|
uuid = { version = "1.1", features = ["v4", "serde"] }
|
||||||
anyhow = "1.0.4"
|
anyhow = "1.0.4"
|
||||||
thiserror = "1.0"
|
thiserror = "1.0"
|
||||||
|
@ -12,9 +12,8 @@ keywords = ["bevy"]
|
|||||||
ahash = "0.7.0"
|
ahash = "0.7.0"
|
||||||
tracing = { version = "0.1", default-features = false, features = ["std"] }
|
tracing = { version = "0.1", default-features = false, features = ["std"] }
|
||||||
instant = { version = "0.1", features = ["wasm-bindgen"] }
|
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"] }
|
hashbrown = { version = "0.11", features = ["serde"] }
|
||||||
|
|
||||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||||
getrandom = {version = "0.2.0", features = ["js"]}
|
getrandom = {version = "0.2.0", features = ["js"]}
|
||||||
uuid = { version = "0.8", features = ["wasm-bindgen"] }
|
|
@ -59,7 +59,7 @@ use crate::raw_window_handle::RawWindowHandleWrapper;
|
|||||||
|
|
||||||
impl fmt::Display for WindowId {
|
impl fmt::Display for WindowId {
|
||||||
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
|
||||||
self.0.to_simple().fmt(f)
|
self.0.as_simple().fmt(f)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -49,6 +49,7 @@ skip = [
|
|||||||
{ name = "ndk-sys", version = "0.2" }, # from winit v0.26.1
|
{ name = "ndk-sys", version = "0.2" }, # from winit v0.26.1
|
||||||
{ name = "stdweb", version = "0.1" }, # from rodio v0.15.0
|
{ name = "stdweb", version = "0.1" }, # from rodio v0.15.0
|
||||||
{ name = "wasi", version = "0.10"}, # from ahash v0.7.6
|
{ name = "wasi", version = "0.10"}, # from ahash v0.7.6
|
||||||
|
{ name = "nix", version = "0.23.1" }, # from alsa v0.6.0
|
||||||
]
|
]
|
||||||
|
|
||||||
[sources]
|
[sources]
|
||||||
|
Loading…
Reference in New Issue
Block a user