Rusty File Dialogs (rfd) 0.7.0 released with XDG Desktop Portal support on Linux

96 points Be_ing_

Rusty File Dialogs is a cross platform Rust library for using native file open/save dialogs. It provides both asynchronous and synchronous APIs. Supported platforms:

​

  • Windows
  • macOS
  • Linux & BSDs (GTK3 or XDG Desktop Portal)
  • WASM32 (async only)

This release uses the XDG Desktop Portal D-Bus API through the new ashpd 0.2 release. GTK is still used by default, but can easily be disabled with default-features = false in Cargo.toml. Thanks to zbus, building rfd without GTK does not have any C or C++ build dependencies. An XDG Desktop Portal backend is still required at runtime.