From 1331ca4101e76f6ef773829df364d76ef77184ea Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 14:31:13 +0800 Subject: [PATCH] chore(deps): update rust crate rfd to 0.17 (#3737) * chore(deps): update rust crate rfd to 0.17 * remove removed feature * add change file --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Tony --- .changes/rfd-0.17.md | 6 ++++++ Cargo.lock | 44 +++++++-------------------------------- plugins/dialog/Cargo.toml | 4 ++-- 3 files changed, 16 insertions(+), 38 deletions(-) create mode 100644 .changes/rfd-0.17.md diff --git a/.changes/rfd-0.17.md b/.changes/rfd-0.17.md new file mode 100644 index 000000000..8f8748777 --- /dev/null +++ b/.changes/rfd-0.17.md @@ -0,0 +1,6 @@ +--- +"dialog": patch +"dialog-js": patch +--- + +Updated dependency rfd to 0.17 diff --git a/Cargo.lock b/Cargo.lock index 6b00ab751..de8d1b5de 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -325,27 +325,6 @@ version = "1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d92bec98840b8f03a5ff5413de5293bfcd8bf96467cf5452609f939ec6f5de16" -[[package]] -name = "ashpd" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6cbdf310d77fd3aaee6ea2093db7011dc2d35d2eb3481e5607f1f8d942ed99df" -dependencies = [ - "enumflags2", - "futures-channel", - "futures-util", - "rand 0.9.4", - "raw-window-handle", - "serde", - "serde_repr", - "tokio", - "url", - "wayland-backend", - "wayland-client", - "wayland-protocols", - "zbus", -] - [[package]] name = "assert-json-diff" version = "2.0.2" @@ -5280,29 +5259,32 @@ dependencies = [ [[package]] name = "rfd" -version = "0.16.0" +version = "0.17.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a15ad77d9e70a92437d8f74c35d99b4e4691128df018833e99f90bcd36152672" +checksum = "20dafead71c16a34e1ff357ddefc8afc11e7d51d6d2b9fbd07eaa48e3e540220" dependencies = [ - "ashpd", "block2 0.6.2", "dispatch2", "glib-sys", "gobject-sys", "gtk-sys", "js-sys", + "libc", "log", "objc2 0.6.4", "objc2-app-kit", "objc2-core-foundation", "objc2-foundation 0.3.2", + "percent-encoding", "pollster", "raw-window-handle", - "urlencoding", "wasm-bindgen", "wasm-bindgen-futures", + "wayland-backend", + "wayland-client", + "wayland-protocols", "web-sys", - "windows-sys 0.60.2", + "windows-sys 0.61.2", ] [[package]] @@ -7535,10 +7517,8 @@ dependencies = [ "mio", "parking_lot", "pin-project-lite", - "signal-hook-registry", "socket2", "tokio-macros", - "tracing", "windows-sys 0.52.0", ] @@ -7994,12 +7974,6 @@ dependencies = [ "serde_derive", ] -[[package]] -name = "urlencoding" -version = "2.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "daf8dba3b7eb870caf1ddeed7bc9d2a049f3cfdfae7cb521b087cc33ae4c49da" - [[package]] name = "urlpattern" version = "0.6.0" @@ -9276,7 +9250,6 @@ dependencies = [ "ordered-stream", "serde", "serde_repr", - "tokio", "tracing", "uds_windows", "windows-sys 0.59.0", @@ -9534,7 +9507,6 @@ dependencies = [ "endi", "enumflags2", "serde", - "url", "winnow 0.7.15", "zvariant_derive", "zvariant_utils", diff --git a/plugins/dialog/Cargo.toml b/plugins/dialog/Cargo.toml index da19c58e4..55e5a342f 100644 --- a/plugins/dialog/Cargo.toml +++ b/plugins/dialog/Cargo.toml @@ -19,7 +19,7 @@ exclude = [ [features] default = ["gtk3"] -xdg-portal = ["rfd/xdg-portal", "rfd/tokio", "rfd/wayland"] +xdg-portal = ["rfd/xdg-portal", "rfd/wayland"] gtk3 = ["rfd/gtk3"] [package.metadata.docs.rs] @@ -51,7 +51,7 @@ tauri-plugin-fs = { path = "../fs", version = "2.7.1" } tauri = { workspace = true, features = ["wry"] } [target."cfg(any(target_os = \"macos\", windows, target_os = \"linux\", target_os = \"dragonfly\", target_os = \"freebsd\", target_os = \"openbsd\", target_os = \"netbsd\"))".dependencies] -rfd = { version = "0.16", default-features = false, features = [ +rfd = { version = "0.17", default-features = false, features = [ "common-controls-v6", ] }