# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "rfd" version = "0.15.1" authors = ["Poly "] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Rusty File Dialog" documentation = "https://docs.rs/rfd" readme = "README.md" keywords = [ "file", "ui", "dialog", ] license = "MIT" repository = "https://github.com/PolyMeilex/rfd" [package.metadata.docs.rs] features = ["file-handle-inner"] [lib] name = "rfd" path = "src/lib.rs" [[example]] name = "async" path = "examples/async.rs" [[example]] name = "msg" path = "examples/msg.rs" [[example]] name = "save" path = "examples/save.rs" [[example]] name = "simple" path = "examples/simple.rs" [dependencies.log] version = "0.4" [dependencies.raw-window-handle] version = "0.6" [dev-dependencies.futures] version = "0.3.12" [features] async-std = ["ashpd?/async-std"] common-controls-v6 = ["windows-sys/Win32_UI_Controls"] default = [ "xdg-portal", "async-std", ] file-handle-inner = [] gtk3 = [ "gtk-sys", "glib-sys", "gobject-sys", ] tokio = ["ashpd?/tokio"] xdg-portal = [ "ashpd", "urlencoding", "pollster", ] [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.ashpd] version = "0.10" features = ["raw_handle"] optional = true default-features = false [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.glib-sys] version = "0.18.0" optional = true [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gobject-sys] version = "0.18.0" optional = true [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gtk-sys] version = "0.18.0" features = ["v3_24"] optional = true [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.pollster] version = "0.3" optional = true [target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.urlencoding] version = "2.1.0" optional = true [target.'cfg(target_arch = "wasm32")'.dependencies.js-sys] version = "0.3.46" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen] version = "0.2.69" [target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures] version = "0.4.19" [target.'cfg(target_arch = "wasm32")'.dependencies.web-sys] version = "0.3.46" features = [ "Document", "Element", "HtmlInputElement", "HtmlButtonElement", "HtmlAnchorElement", "Window", "File", "FileList", "FileReader", "Blob", "BlobPropertyBag", "Url", ] [target.'cfg(target_os = "macos")'.dependencies.block2] version = "0.5.0" [target.'cfg(target_os = "macos")'.dependencies.objc2] version = "0.5.1" [target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit] version = "0.2.0" features = [ "block2", "NSAlert", "NSApplication", "NSButton", "NSControl", "NSOpenPanel", "NSPanel", "NSResponder", "NSRunningApplication", "NSSavePanel", "NSView", "NSWindow", ] [target.'cfg(target_os = "macos")'.dependencies.objc2-foundation] version = "0.2.0" features = [ "dispatch", "NSArray", "NSEnumerator", "NSString", "NSThread", "NSURL", ] [target.'cfg(target_os = "windows")'.dependencies.windows-sys] version = "0.48" features = [ "Win32_Foundation", "Win32_System_Com", "Win32_UI_Shell_Common", "Win32_UI_Shell", "Win32_UI_WindowsAndMessaging", ]