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

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

* revert fmt

* wry@0.41
This commit is contained in:
Amr Bashir 2024-06-24 19:20:47 +03:00 committed by GitHub
parent 669b9c6b5a
commit d4c908cfb8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
5 changed files with 77 additions and 26 deletions

View File

@ -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
Cargo.lock generated
View File

@ -3694,7 +3694,7 @@ dependencies = [
"webkit2gtk",
"webview2-com",
"window-vibrancy",
"windows 0.56.0",
"windows 0.57.0",
]
[[package]]
@ -3808,7 +3808,7 @@ dependencies = [
"tauri-utils",
"thiserror",
"url",
"windows 0.56.0",
"windows 0.57.0",
]
[[package]]
@ -3830,7 +3830,7 @@ dependencies = [
"url",
"webkit2gtk",
"webview2-com",
"windows 0.56.0",
"windows 0.57.0",
"wry",
]
@ -4603,16 +4603,16 @@ dependencies = [
[[package]]
name = "webview2-com"
version = "0.30.0"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "5c914dd492a52f0377bef56fd1b6e74a79090f9ee631d625d5b505a00e4538b6"
checksum = "6516cfa64c6b3212686080eeec378e662c2af54bb2a5b2a22749673f5cb2226f"
dependencies = [
"webview2-com-macros",
"webview2-com-sys",
"windows 0.56.0",
"windows-core 0.56.0",
"windows-implement",
"windows-interface",
"windows 0.57.0",
"windows-core 0.57.0",
"windows-implement 0.57.0",
"windows-interface 0.57.0",
]
[[package]]
@ -4628,13 +4628,13 @@ dependencies = [
[[package]]
name = "webview2-com-sys"
version = "0.30.0"
version = "0.31.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2a46bcf03482ec28eeb764ca788f67998cde4213adfbbfa90462622058530f5e"
checksum = "c76d5b77320ff155660be1df3e6588bc85c75f1a9feef938cc4dc4dd60d1d7cf"
dependencies = [
"thiserror",
"windows 0.56.0",
"windows-core 0.56.0",
"windows 0.57.0",
"windows-core 0.57.0",
]
[[package]]
@ -4700,6 +4700,16 @@ dependencies = [
"windows-targets 0.52.5",
]
[[package]]
name = "windows"
version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143"
dependencies = [
"windows-core 0.57.0",
"windows-targets 0.52.5",
]
[[package]]
name = "windows-core"
version = "0.52.0"
@ -4715,8 +4725,20 @@ version = "0.56.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4698e52ed2d08f8658ab0c39512a7c00ee5fe2688c65f8c0a4f06750d729f2a6"
dependencies = [
"windows-implement",
"windows-interface",
"windows-implement 0.56.0",
"windows-interface 0.56.0",
"windows-result",
"windows-targets 0.52.5",
]
[[package]]
name = "windows-core"
version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"
dependencies = [
"windows-implement 0.57.0",
"windows-interface 0.57.0",
"windows-result",
"windows-targets 0.52.5",
]
@ -4732,6 +4754,17 @@ dependencies = [
"syn 2.0.66",
]
[[package]]
name = "windows-implement"
version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.57",
]
[[package]]
name = "windows-interface"
version = "0.56.0"
@ -4743,6 +4776,17 @@ dependencies = [
"syn 2.0.66",
]
[[package]]
name = "windows-interface"
version = "0.57.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"
dependencies = [
"proc-macro2",
"quote",
"syn 2.0.57",
]
[[package]]
name = "windows-result"
version = "0.1.2"
@ -4987,9 +5031,9 @@ dependencies = [
[[package]]
name = "wry"
version = "0.40.1"
version = "0.41.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1fa597526af53f310a8e6218630c5024fdde8271f229e70d7d2fc70b52b8fb1e"
checksum = "68b00c945786b02d7805d09a969fa36d0eee4e0bd4fb3ec2a79d2bf45a1b44cd"
dependencies = [
"base64 0.22.1",
"block",
@ -5022,8 +5066,8 @@ dependencies = [
"webkit2gtk",
"webkit2gtk-sys",
"webview2-com",
"windows 0.56.0",
"windows-core 0.56.0",
"windows 0.57.0",
"windows-core 0.57.0",
"windows-version",
"x11-dl",
]

View File

@ -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" }
@ -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]

View File

@ -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]

View File

@ -92,11 +92,11 @@ 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"
version = "0.57"
features = ["Win32_Foundation"]
[target."cfg(target_os = \"android\")".dependencies]