chore(deps): update wry

This commit is contained in:
Lucas Nogueira 2023-01-17 12:42:27 -03:00
parent c36d451bcd
commit 276a0362de
No known key found for this signature in database
GPG Key ID: C54D79C4018F1D19
2 changed files with 18 additions and 8 deletions

View File

@ -969,10 +969,10 @@ fn decode_path(path: PathBuf) -> PathBuf {
impl From<FileDropEventWrapper> for FileDropEvent {
fn from(event: FileDropEventWrapper) -> Self {
match event.0 {
WryFileDropEvent::Hovered(paths) => {
WryFileDropEvent::Hovered { paths, position: _ } => {
FileDropEvent::Hovered(paths.into_iter().map(decode_path).collect())
}
WryFileDropEvent::Dropped(paths) => {
WryFileDropEvent::Dropped { paths, position: _ } => {
FileDropEvent::Dropped(paths.into_iter().map(decode_path).collect())
}
// default to cancelled

View File

@ -2881,9 +2881,9 @@ dependencies = [
[[package]]
name = "tao"
version = "0.15.0"
version = "0.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e2845fd58915455c5faf2c9ac5d8a5ed43bd23ab57f0a67d63612936209eae74"
checksum = "704522803dda895767f69198af8351b0a3f4fe2e293c3ca54cce0ecba05a97f2"
dependencies = [
"bitflags",
"cairo-rs",
@ -2915,11 +2915,11 @@ dependencies = [
"objc",
"once_cell",
"parking_lot",
"paste",
"png",
"raw-window-handle",
"scopeguard",
"serde",
"tao-macros",
"unicode-segmentation",
"uuid 1.2.1",
"windows 0.39.0",
@ -2927,6 +2927,17 @@ dependencies = [
"x11-dl",
]
[[package]]
name = "tao-macros"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b6fcd8245d45a39ffc8715183d92ae242750eb57b285eb3bcd63dfd512afd09"
dependencies = [
"proc-macro2",
"quote",
"syn",
]
[[package]]
name = "tar"
version = "0.4.38"
@ -4043,9 +4054,8 @@ dependencies = [
[[package]]
name = "wry"
version = "0.23.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4c1ad8e2424f554cc5bdebe8aa374ef5b433feff817aebabca0389961fc7ef98"
version = "0.24.1"
source = "git+https://github.com/tauri-apps/wry?branch=dev#bce39e2be195194e547b0021e770e45a3df15fa1"
dependencies = [
"base64",
"block",