fix(deps): pin raw-window-handle to 0.5.0 (#6480)

* fix(deps): pin raw-window-handle to 0.5.0

* lint [skip ci]
This commit is contained in:
Lucas Fernandes Nogueira 2023-03-17 14:11:24 -03:00 committed by GitHub
parent c2867a65d8
commit c46c09f31d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 12 additions and 5 deletions

View File

@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---
Pin raw-window-handle to 0.5.0 to keep MSRV.

View File

@ -18,7 +18,7 @@ tauri-runtime = { version = "0.12.1", path = "../tauri-runtime" }
tauri-utils = { version = "1.2.1", path = "../tauri-utils" }
uuid = { version = "1", features = [ "v4" ] }
rand = "0.8"
raw-window-handle = "0.5"
raw-window-handle = "=0.5.0"
[target."cfg(windows)".dependencies]
webview2-com = "0.19.1"

View File

@ -30,7 +30,7 @@ tauri-utils = { version = "1.2.1", path = "../tauri-utils" }
uuid = { version = "1", features = [ "v4" ] }
http = "0.2.4"
http-range = "0.1.4"
raw-window-handle = "0.5"
raw-window-handle = "=0.5.0"
rand = "0.8"
url = { version = "2" }

View File

@ -174,8 +174,7 @@ impl Assets for EmbeddedAssets {
.get(html_path.as_ref())
.copied()
.into_iter()
.flatten()
.into_iter(),
.flatten(),
)
.copied(),
)

View File

@ -73,7 +73,7 @@ attohttpc = { version = "0.22", features = [ "compress", "json", "form" ], optio
open = { version = "3.0", optional = true }
shared_child = { version = "1.0", optional = true }
os_pipe = { version = "1.0", optional = true }
raw-window-handle = "0.5"
raw-window-handle = "=0.5.0"
minisign-verify = { version = "0.2", optional = true }
time = { version = "=0.3.15", features = [ "parsing", "formatting" ], optional = true }
os_info = { version = "=3.5.0", optional = true }

View File

@ -679,6 +679,7 @@ impl<R: Runtime> SystemTrayMenuItemHandle<R> {
.map_err(Into::into)
}
/// Sets the native image for this item.
#[cfg(target_os = "macos")]
#[cfg_attr(doc_cfg, doc(cfg(target_os = "macos")))]
pub fn set_native_image(&self, image: crate::NativeImage) -> crate::Result<()> {