From b244970a18e811f955a9e20f223a4a5645d2f822 Mon Sep 17 00:00:00 2001 From: netraptor Date: Wed, 15 Jan 2025 22:28:20 -0700 Subject: [PATCH] fix: disable async-std default dependency in rfd dependency when using tokio --- Cargo.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index c5b9bcc1ea7..6bf1fdb1208 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -53,7 +53,7 @@ serde-keycode = ["iced_core/serde"] # Prevents multiple separate process instances. single-instance = ["dep:zbus", "ron"] # smol async runtime -smol = ["dep:smol", "iced/smol", "zbus?/async-io"] +smol = ["dep:smol", "iced/smol", "zbus?/async-io", "rfd?/async-std"] tokio = [ "dep:tokio", "ashpd?/tokio", @@ -104,7 +104,7 @@ libc = { version = "0.2.155", optional = true } license = { version = "3.5.1", optional = true } mime = { version = "0.3.17", optional = true } palette = "0.7.3" -rfd = { version = "0.14.0", optional = true } +rfd = { version = "0.14.0", default-features = false, features = ["xdg-portal"], optional = true } rustix = { version = "0.38.34", features = [ "pipe", "process",