Registry / utility / tinyfiledialogs

tinyfiledialogs

JSON →
library3.9.1rscratesunverified

High-level Rust binding for the tinyfiledialogs C library, providing native file open/save dialogs and message boxes.

# Cargo.toml [dependencies] tinyfiledialogs = "3.9.1"
INSTALL
IMPORT
SIG · TINYFILEDIALOGS
T
tinyfiledialogs
utilityrustv3.9.1
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.

open_file_dialog
use tinyfiledialogs::{open_file_dialog, message_box_yes_no};

Opens a file dialog and a message box.

use tinyfiledialogs::{open_file_dialog, message_box_yes_no}; fn main() { let file = open_file_dialog("Select a file", "", None); match file { Some(path) => println!("Selected: {}", path), None => println!("No file selected"), } let answer = message_box_yes_no("Question", "Do you like Rust?"); println!("Answer: {}", if answer { "Yes" } else { "No" }); }
Debug
Known issues
gotchaRequires a GUI environment; may not work in headless or CI environments.
fix
Ensure a display server is available (e.g., X11 on Linux) or use conditional compilation.
affects: >=3.9.0
Upgrade
Version history
3.9.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
tinyfiledialogs — cargo add tinyfiledialogs · libregistry