[package]
edition = "2024"
rust-version = "1.85"
name = "native-dialog"
version = "0.9.6"
authors = ["balthild <ibalthild@gmail.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A library to display dialogs. Supports GNU/Linux, BSD Unix, macOS and Windows."
documentation = "https://docs.rs/native-dialog"
readme = "README.md"
license = "MIT"
repository = "https://github.com/balthild/native-dialog-rs"
[features]
async = [
"dep:futures-lite",
"dep:futures-channel",
"dep:async-process",
]
windows_dpi_awareness = []
windows_visual_styles = [
"winapi/sysinfoapi",
"winapi/winbase",
"winapi/handleapi",
"winapi/libloaderapi",
]
[lib]
name = "native_dialog"
path = "src/lib.rs"
[dependencies.dirs]
version = "6.0.0"
[dependencies.formatx]
version = "0.2.3"
[dependencies.raw-window-handle]
version = "0.6.2"
[dependencies.thiserror]
version = "2.0.12"
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies.ascii]
version = "1.1.0"
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies.async-process]
version = "2.5.0"
optional = true
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies.versions]
version = "7.0.0"
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies.which]
version = "7.0.3"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6.2"
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.0"
[target.'cfg(target_os = "macos")'.dependencies.futures-channel]
version = "0.3.31"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.futures-lite]
version = "2.6.0"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
features = [
"std",
"block2",
"objc2-core-foundation",
"objc2-core-graphics",
"NSAlert",
"NSApplication",
"NSAttributedString",
"NSButton",
"NSColor",
"NSControl",
"NSFont",
"NSGradient",
"NSGraphicsContext",
"NSImage",
"NSImageRep",
"NSLayoutConstraint",
"NSOpenPanel",
"NSPanel",
"NSPopUpButton",
"NSResponder",
"NSRunningApplication",
"NSSavePanel",
"NSShadow",
"NSStackView",
"NSStringDrawing",
"NSTextField",
"NSView",
"NSWindow",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.2"
features = [
"std",
"CFCGTypes",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3.2"
features = [
"std",
"CGContext",
"CGColor",
"CGImage",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
features = [
"std",
"objc2-core-foundation",
"NSArray",
"NSEnumerator",
"NSGeometry",
"NSObjCRuntime",
"NSString",
"NSThread",
"NSURL",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.wfd]
version = "0.1.7"
[target.'cfg(target_os = "windows")'.dependencies.winapi]
version = "0.3.9"
features = ["winuser"]