[package]
edition = "2024"
rust-version = "1.88"
name = "blocking-dialog"
version = "0.2.1"
authors = ["Manuel Quarneti <mq1@ik.me>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Minimal desktop dialog implementation"
homepage = "https://github.com/mq1/blocking-dialog-rs"
readme = "README.md"
license = "MIT OR Apache-2.0"
repository = "https://github.com/mq1/blocking-dialog-rs"
[lib]
name = "blocking_dialog"
path = "src/lib.rs"
[dependencies.raw-window-handle]
version = "0.6"
[dependencies.thiserror]
version = "2.0"
[target.'cfg(target_os = "linux")'.dependencies.rfd]
version = "0.17"
[target.'cfg(target_os = "macos")'.dependencies.block2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3"
features = [
"block2",
"objc2-uniform-type-identifiers",
"NSAlert",
"NSView",
"NSApplication",
"NSResponder",
"NSImage",
"NSWindow",
"NSButton",
"NSControl",
"NSOpenPanel",
"NSPanel",
"NSSavePanel",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
features = [
"NSString",
"NSArray",
"NSURL",
"NSEnumerator",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-uniform-type-identifiers]
version = "0.3"
features = ["UTType"]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.windows]
version = ">=0.59, <=0.62"
features = [
"Win32_UI_Controls_Dialogs",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Shell_Common",
"Win32_System_Com",
]