fix: disable async-std default dependency in rfd dependency when using tokio

This commit is contained in:
netraptor 2025-01-15 22:28:20 -07:00 committed by GitHub
parent 4a97b3ddd2
commit b244970a18
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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",