From a31ef8e67e25d233cf463efb65428d7e0893e404 Mon Sep 17 00:00:00 2001 From: Lucas Nogueira Date: Mon, 19 Feb 2024 17:37:21 -0300 Subject: [PATCH] rfd disable default features [skip ci] --- Cargo.lock | 42 ++++----------------------------------- plugins/dialog/Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 39 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3a05b2df..5be00666 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,14 +318,13 @@ version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1b22517ee647547c01a687cf9b76074e1c91334032a4324f7243c6ee0f949390" dependencies = [ - "async-fs", - "async-net", "enumflags2", "futures-channel", "futures-util", "rand 0.8.5", "serde", "serde_repr", + "tokio", "url", "zbus 4.0.1", ] @@ -403,17 +402,6 @@ dependencies = [ "slab", ] -[[package]] -name = "async-fs" -version = "2.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc19683171f287921f2405677dd2ed2549c3b3bda697a563ebc3a121ace2aba1" -dependencies = [ - "async-lock 3.3.0", - "blocking", - "futures-lite 2.2.0", -] - [[package]] name = "async-io" version = "1.13.0" @@ -473,17 +461,6 @@ dependencies = [ "pin-project-lite", ] -[[package]] -name = "async-net" -version = "2.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b948000fad4873c1c9339d60f2623323a0cfd3816e5181033c6a5cb68b2accf7" -dependencies = [ - "async-io 2.3.1", - "blocking", - "futures-lite 2.2.0", -] - [[package]] name = "async-process" version = "2.1.0" @@ -4471,12 +4448,6 @@ dependencies = [ "windows-sys 0.52.0", ] -[[package]] -name = "pollster" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "22686f4785f02a4fcc856d3b3bb19bf6c8160d103f7a99cc258bddd0251dc7f2" - [[package]] name = "poly1305" version = "0.7.2" @@ -4973,9 +4944,7 @@ dependencies = [ "objc", "objc-foundation", "objc_id", - "pollster", "raw-window-handle 0.6.0", - "urlencoding", "wasm-bindgen", "wasm-bindgen-futures", "web-sys", @@ -7093,7 +7062,9 @@ dependencies = [ "mio", "num_cpus", "pin-project-lite", + "signal-hook-registry", "socket2 0.5.5", + "tracing", "windows-sys 0.48.0", ] @@ -8544,15 +8515,9 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7b8e3d6ae3342792a6cc2340e4394334c7402f3d793b390d2c5494a4032b3030" dependencies = [ "async-broadcast 0.7.0", - "async-executor", - "async-fs", - "async-io 2.3.1", - "async-lock 3.3.0", "async-process", "async-recursion", - "async-task", "async-trait", - "blocking", "derivative", "enumflags2", "event-listener 5.1.0", @@ -8567,6 +8532,7 @@ dependencies = [ "serde_repr", "sha1", "static_assertions", + "tokio", "tracing", "uds_windows", "windows-sys 0.52.0", diff --git a/plugins/dialog/Cargo.toml b/plugins/dialog/Cargo.toml index ee845fe8..7be4e215 100644 --- a/plugins/dialog/Cargo.toml +++ b/plugins/dialog/Cargo.toml @@ -28,5 +28,5 @@ tauri-plugin-fs = { path = "../fs", version = "2.0.0-beta.0" } glib = "0.16" [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.14", features = [ "gtk3", "common-controls-v6" ] } +rfd = { version = "0.14", default-features = false, features = [ "tokio", "gtk3", "common-controls-v6" ] } raw-window-handle = "0.6"