Skip to content

Commit c46c09f

Browse files
authored
fix(deps): pin raw-window-handle to 0.5.0 (#6480)
* fix(deps): pin raw-window-handle to 0.5.0 * lint [skip ci]
1 parent c2867a6 commit c46c09f

File tree

6 files changed

+12
-5
lines changed

6 files changed

+12
-5
lines changed

.changes/pin-raw-window-handle.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"tauri": patch
3+
"tauri-runtime": patch
4+
"tauri-runtime-wry": patch
5+
---
6+
7+
Pin raw-window-handle to 0.5.0 to keep MSRV.

core/tauri-runtime-wry/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tauri-runtime = { version = "0.12.1", path = "../tauri-runtime" }
1818
tauri-utils = { version = "1.2.1", path = "../tauri-utils" }
1919
uuid = { version = "1", features = [ "v4" ] }
2020
rand = "0.8"
21-
raw-window-handle = "0.5"
21+
raw-window-handle = "=0.5.0"
2222

2323
[target."cfg(windows)".dependencies]
2424
webview2-com = "0.19.1"

core/tauri-runtime/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ tauri-utils = { version = "1.2.1", path = "../tauri-utils" }
3030
uuid = { version = "1", features = [ "v4" ] }
3131
http = "0.2.4"
3232
http-range = "0.1.4"
33-
raw-window-handle = "0.5"
33+
raw-window-handle = "=0.5.0"
3434
rand = "0.8"
3535
url = { version = "2" }
3636

core/tauri-utils/src/assets.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,8 +174,7 @@ impl Assets for EmbeddedAssets {
174174
.get(html_path.as_ref())
175175
.copied()
176176
.into_iter()
177-
.flatten()
178-
.into_iter(),
177+
.flatten(),
179178
)
180179
.copied(),
181180
)

core/tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ attohttpc = { version = "0.22", features = [ "compress", "json", "form" ], optio
7373
open = { version = "3.0", optional = true }
7474
shared_child = { version = "1.0", optional = true }
7575
os_pipe = { version = "1.0", optional = true }
76-
raw-window-handle = "0.5"
76+
raw-window-handle = "=0.5.0"
7777
minisign-verify = { version = "0.2", optional = true }
7878
time = { version = "=0.3.15", features = [ "parsing", "formatting" ], optional = true }
7979
os_info = { version = "=3.5.0", optional = true }

core/tauri/src/app/tray.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,7 @@ impl<R: Runtime> SystemTrayMenuItemHandle<R> {
679679
.map_err(Into::into)
680680
}
681681

682+
/// Sets the native image for this item.
682683
#[cfg(target_os = "macos")]
683684
#[cfg_attr(doc_cfg, doc(cfg(target_os = "macos")))]
684685
pub fn set_native_image(&self, image: crate::NativeImage) -> crate::Result<()> {

0 commit comments

Comments
 (0)