Skip to content

Commit

Permalink
fix(deps): pin raw-window-handle to 0.5.0 (#6480)
Browse files Browse the repository at this point in the history
* fix(deps): pin raw-window-handle to 0.5.0

* lint [skip ci]
  • Loading branch information
lucasfernog committed Mar 17, 2023
1 parent c2867a6 commit c46c09f
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 5 deletions.
7 changes: 7 additions & 0 deletions .changes/pin-raw-window-handle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"tauri": patch
"tauri-runtime": patch
"tauri-runtime-wry": patch
---

Pin raw-window-handle to 0.5.0 to keep MSRV.
2 changes: 1 addition & 1 deletion core/tauri-runtime-wry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion core/tauri-runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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" }

Expand Down
3 changes: 1 addition & 2 deletions core/tauri-utils/src/assets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,7 @@ impl Assets for EmbeddedAssets {
.get(html_path.as_ref())
.copied()
.into_iter()
.flatten()
.into_iter(),
.flatten(),
)
.copied(),
)
Expand Down
2 changes: 1 addition & 1 deletion core/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand Down
1 change: 1 addition & 0 deletions core/tauri/src/app/tray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<()> {
Expand Down

0 comments on commit c46c09f

Please sign in to comment.