Skip to content

Commit c46691c

Browse files
committed
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: https://gitlab.com/gilrs-project/gilrs/-/commit/dba36f91869c823fb66f8633d2b650b430682f80 EDIT: Updated `uuid` to 1.1 to avoid duplicate dependencies. Added `nix`'s two dependencies as exceptions until `rodio` updates their deps.
1 parent a6eb3fa commit c46691c

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

crates/bevy_gilrs/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ bevy_input = { path = "../bevy_input", version = "0.8.0-dev" }
1616
bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
1717

1818
# other
19-
gilrs = { version = "0.8.0", features = ["wasm-bindgen"] }
19+
gilrs = "0.9.0"

crates/bevy_reflect/bevy_reflect_derive/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ bevy_macro_utils = { path = "../../bevy_macro_utils", version = "0.8.0-dev" }
1717
syn = { version = "1.0", features = ["full"] }
1818
proc-macro2 = "1.0"
1919
quote = "1.0"
20-
uuid = { version = "0.8", features = ["v4"] }
20+
uuid = { version = "1.1", features = ["v4"] }

crates/bevy_scene/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ bevy_utils = { path = "../bevy_utils", version = "0.8.0-dev" }
2020
# other
2121
serde = { version = "1.0", features = ["derive"] }
2222
ron = "0.7.0"
23-
uuid = { version = "0.8", features = ["v4", "serde"] }
23+
uuid = { version = "1.1", features = ["v4", "serde"] }
2424
anyhow = "1.0.4"
2525
thiserror = "1.0"

crates/bevy_utils/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@ keywords = ["bevy"]
1212
ahash = "0.7.0"
1313
tracing = { version = "0.1", default-features = false, features = ["std"] }
1414
instant = { version = "0.1", features = ["wasm-bindgen"] }
15-
uuid = { version = "0.8", features = ["v4", "serde"] }
15+
uuid = { version = "1.1", features = ["v4", "serde"] }
1616
hashbrown = { version = "0.11", features = ["serde"] }
1717

1818
[target.'cfg(target_arch = "wasm32")'.dependencies]
19-
getrandom = {version = "0.2.0", features = ["js"]}
20-
uuid = { version = "0.8", features = ["wasm-bindgen"] }
19+
getrandom = {version = "0.2.0", features = ["js"]}

crates/bevy_window/src/window.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ use crate::raw_window_handle::RawWindowHandleWrapper;
5959

6060
impl fmt::Display for WindowId {
6161
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
62-
self.0.to_simple().fmt(f)
62+
self.0.as_simple().fmt(f)
6363
}
6464
}
6565

deny.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ skip = [
4949
{ name = "ndk-sys", version = "0.2" }, # from winit v0.26.1
5050
{ name = "stdweb", version = "0.1" }, # from rodio v0.15.0
5151
{ name = "wasi", version = "0.10"}, # from ahash v0.7.6
52+
{ name = "nix", version = "0.23.1" }, # from alsa v0.6.0
5253
]
5354

5455
[sources]

0 commit comments

Comments
 (0)