picker

Crates.io License

A cross-platform picker for access files and folders

Installation

Add picker as a dependency in your Cargo.toml:

toml [dependencies] picker = "0.1.0"

Example

Pick a single file:

```rust use picker::FileOpenPicker;

fn main() { if let Ok(result) = FileOpenPicker::new() .filetypefilter(&["zip", "dmg"]) .filetypefilter(&["png", "jpg"]) .picksinglefile() { if let Some(path) = result { println!("Path is {}.", path); } } } ```

Supported Platform