Cargo Features

[dependencies]
rfd = { version = "0.14.0", 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 default-features = false somewhere in the dependency tree.

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

Enables async-std of optional ashpd

tokio

Use tokio for xdg-portal

Enables tokio of optional ashpd

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.

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
urlencoding linux freebsd dragonfly netbsd openbsd xdg-portal