Revert "refactor: use libcosmic::dialog and make rfd optional"

This reverts commit a1c80efe69.
This commit is contained in:
Jeremy Soller 2024-01-30 18:53:40 -07:00
parent aac8b89e53
commit aee6b6ad31
3 changed files with 34 additions and 17 deletions

View file

@ -36,6 +36,13 @@ features = ["syntect", "vi"]
git = "https://github.com/pop-os/libcosmic"
default-features = false
features = ["tokio", "winit"]
#path = "../libcosmic"
[dependencies.rfd]
version = "0.13.0"
default-features = false
features = ["tokio", "xdg-portal"]
optional = true
#TODO: clean up and send changes upstream
[dependencies.systemicons]
@ -45,13 +52,8 @@ git = "https://github.com/jackpot51/systemicons"
fork = "0.1"
[features]
default = ["xdg-portal", "wgpu"]
# Use RFD for file chooser dialogs
rfd = ["libcosmic/rfd"]
# Enable GPU rendering with WGPU
default = ["rfd", "wgpu"]
wgpu = ["libcosmic/wgpu"]
# Use XDG portal dialogs on Linux
xdg-portal = ["libcosmic/xdg-portal"]
[patch.crates-io]
smithay-client-toolkit = { git = "https://github.com/pop-os/client-toolkit", branch = "wayland-resize" }