Cargo Features
[dependencies]
sftpman-iced = { version = "2.0.3", default-features = false, features = ["file-picker", "icons", "auto-detect-theme", "x11-icon"] }
- default = auto-detect-theme, file-picker, icons
-
These default features are set whenever
sftpman-iced
is added without
somewhere in the dependency tree.default-features = false - file-picker default
-
Enables rfd and tokio 1.42.*
rfd:
For rfd, we rely on xdg-portal, which requires tokio or async-std.
The alternative is the gtk3 feature, but that one links to gtk3 - we'd rather be independent. - icons default
-
We can make wgpu optional and allow the tiny-skia renderer to be used,
but we've found main list scrolling performance to be horrible on tiny-skia,
so we're hardcoding wgpu here.Affects
assets::APPLICATION_ICON_SVG
,assets::bootstrap_icons
,alert::AlertConfig.svg_icon_handle
,confirmation::ConfirmationConfig.svg_icon_handle
,icon::icon
… - auto-detect-theme default
-
Enables auto-detect-theme of iced
- x11-icon
-
Affects
assets::APPLICATION_ICON
…