feat!(dialog): refactor and support rfd as file_chooser provider
This commit is contained in:
parent
b09b3db81a
commit
0bef593ba4
9 changed files with 618 additions and 362 deletions
|
|
@ -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"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue