Make rfd optional

This commit is contained in:
Jeremy Soller 2023-11-15 09:06:32 -07:00
parent c6d9060872
commit 0f565caea1
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
2 changed files with 7 additions and 1 deletions

View file

@ -11,7 +11,7 @@ fontdb = "0.15.0"
lazy_static = "1.4.0"
log = "0.4.20"
mime_guess = "2"
rfd = "0.12.0"
rfd = { version = "0.12.0", optional = true }
serde = { version = "1", features = ["serde_derive"] }
syntect = "5.1.0"
two-face = "0.3.0"
@ -33,6 +33,9 @@ default-features = false
features = ["winit", "wgpu"]
#path = "../libcosmic"
[features]
default = ["rfd"]
[patch.crates-io]
smithay-client-toolkit = { git = "https://github.com/pop-os/client-toolkit", branch = "wayland-resize" }