Registry / utility / rfd
library0.17.2rscratesunverified

Rusty File Dialog

# Cargo.toml [dependencies] rfd = "0.17.2"
INSTALL
IMPORT
SIG · RFD
R
rfd
utilityrustv0.17.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

FileDialog
use rfd::FileDialog;

Opens a file picker dialog and prints the selected file path.

use rfd::FileDialog; fn main() { let file = FileDialog::new() .add_filter("Text", &["txt"]) .pick_file(); println!("Selected: {:?}", file); }
Debug
Known issues
gotchaOn Linux, requires a running desktop environment with GTK or similar
fix
Ensure a desktop environment is available; may need libgtk-3-dev installed.
affects: >=0.1.0
Upgrade
Version history
0.17.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
rfd — cargo add rfd · libregistry