feat!(dialog): refactor and support rfd as file_chooser provider

This commit is contained in:
Michael Aaron Murphy 2024-01-22 08:08:45 +01:00
parent 994e93d6d2
commit 4cafca12d6
No known key found for this signature in database
GPG key ID: B2732D4240C9212C
9 changed files with 618 additions and 362 deletions

View file

@ -3,6 +3,11 @@ name = "open-dialog"
version = "0.1.0"
edition = "2021"
[features]
default = ["xdg-portal"]
rfd = ["libcosmic/rfd"]
xdg-portal = ["libcosmic/xdg-portal"]
[dependencies]
apply = "0.3.0"
tokio = { version = "1.31", features = ["full"] }
@ -13,4 +18,4 @@ url = "2.4.0"
[dependencies.libcosmic]
path = "../../"
default-features = false
features = ["debug", "wayland", "tokio", "xdg-portal"]
features = ["debug", "wayland", "tokio"]