Skip to content

Commit

Permalink
fix(deps): update rust crate windows to 0.57 and webview2-com to 0.31 (
Browse files Browse the repository at this point in the history
…#10048)

* fix(deps): update rust crate windows to 0.57 and webview2-com to 0.31

* revert fmt

* wry@0.41
  • Loading branch information
amrbashir committed Jun 24, 2024
1 parent 669b9c6 commit d4c908c
Show file tree
Hide file tree
Showing 5 changed files with 77 additions and 26 deletions.
7 changes: 7 additions & 0 deletions .changes/windows-rs-0.57.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'tauri': 'patch:deps'
'tauri-runtime': 'patch:deps'
'tauri-runtime-wry': 'patch:deps'
---

Update `windows` crate to version `0.57` and `webview2-com` crate to version `0.31`
82 changes: 63 additions & 19 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions core/tauri-runtime-wry/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ edition = { workspace = true }
rust-version = { workspace = true }

[dependencies]
wry = { version = "0.40", default-features = false, features = [ "drag-drop", "protocol", "os-webview" ] }
wry = { version = "0.41", default-features = false, features = [ "drag-drop", "protocol", "os-webview" ] }
tao = { version = "0.28", default-features = false, features = [ "rwh_06" ] }
tauri-runtime = { version = "2.0.0-beta.18", path = "../tauri-runtime" }
tauri-utils = { version = "2.0.0-beta.17", path = "../tauri-utils" }
Expand All @@ -24,11 +24,11 @@ tracing = { version = "0.1", optional = true }
log = "0.4"

[target."cfg(windows)".dependencies]
webview2-com = "0.30"
webview2-com = "0.31"
softbuffer = { version = "0.4", default-features = false }

[target."cfg(windows)".dependencies.windows]
version = "0.56"
version = "0.57"
features = [ "Win32_Foundation", "Win32_Graphics_Dwm" ]

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
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 @@ -36,7 +36,7 @@ url = { version = "2" }
dpi = { version = "0.1", features = [ "serde" ] }

[target."cfg(windows)".dependencies.windows]
version = "0.56"
version = "0.57"
features = [ "Win32_Foundation" ]

[target."cfg(any(target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies]
Expand Down
6 changes: 3 additions & 3 deletions core/tauri/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ objc = "0.2"
window-vibrancy = "0.5"

[target."cfg(windows)".dependencies]
webview2-com = "0.30"
webview2-com = "0.31"
window-vibrancy = "0.5"

[target."cfg(windows)".dependencies.windows]
version = "0.56"
features = [ "Win32_Foundation" ]
version = "0.57"
features = ["Win32_Foundation"]

[target."cfg(target_os = \"android\")".dependencies]
jni = "0.21"
Expand Down

0 comments on commit d4c908c

Please sign in to comment.