Cargo Features
[dependencies]
rfd = { version = "0.15.1", default-features = false, features = ["file-handle-inner", "gtk3", "xdg-portal", "async-std", "tokio", "common-controls-v6"] }
- default = async-std, xdg-portal
-
These default features are set whenever
rfd
is added without
somewhere in the dependency tree.default-features = false - file-handle-inner
- gtk3 = glib-sys, gobject-sys, gtk-sys
- xdg-portal default = ashpd, pollster, urlencoding
- async-std default
-
Use async-std for xdg-portal
- tokio
-
Use tokio for xdg-portal
- common-controls-v6
-
Enables Win32_UI_Controls of windows-sys ^0.48
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.
- ashpd linux freebsd dragonfly netbsd openbsd xdg-portal
- glib-sys linux freebsd dragonfly netbsd openbsd gtk3?
-
Enables glib-sys ^0.18.0
- gobject-sys linux freebsd dragonfly netbsd openbsd gtk3?
-
Enables gobject-sys ^0.18.0
- gtk-sys linux freebsd dragonfly netbsd openbsd gtk3?
- pollster linux freebsd dragonfly netbsd openbsd xdg-portal
-
Enables pollster ^0.3
- urlencoding linux freebsd dragonfly netbsd openbsd xdg-portal