From 9256da20944e3413dbc72bd9aeee08e4b9426af7 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Sun, 8 Dec 2024 18:20:36 +0100 Subject: [PATCH] Use rwh_06 with winit --- Cargo.lock | 14 +++----------- Cargo.toml | 2 +- 2 files changed, 4 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7092bb5..d457b93 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -662,8 +662,7 @@ dependencies = [ "log", "ndk-sys", "num_enum", - "raw-window-handle 0.5.2", - "raw-window-handle 0.6.2", + "raw-window-handle", "thiserror", ] @@ -1052,12 +1051,6 @@ dependencies = [ "proc-macro2", ] -[[package]] -name = "raw-window-handle" -version = "0.5.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9" - [[package]] name = "raw-window-handle" version = "0.6.2" @@ -1472,7 +1465,7 @@ dependencies = [ "parking_lot", "proc-macro2", "quote", - "raw-window-handle 0.6.2", + "raw-window-handle", "raw-window-metal", "serde", "serde_json", @@ -1966,8 +1959,7 @@ dependencies = [ "orbclient", "percent-encoding", "pin-project", - "raw-window-handle 0.5.2", - "raw-window-handle 0.6.2", + "raw-window-handle", "redox_syscall 0.4.1", "rustix", "sctk-adwaita", diff --git a/Cargo.toml b/Cargo.toml index 3cf3338..9ad5563 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -7,7 +7,7 @@ publish = false [dependencies] anyhow = "1.0" -winit = { version = "0.30", features = ["rwh_05"] } +winit = { version = "0.30", features = ["rwh_06"] } vulkano = { git = "https://github.com/vulkano-rs/vulkano.git", branch = "master" } vulkano-shaders = { git = "https://github.com/vulkano-rs/vulkano.git", branch = "master" }