[package]
edition = "2021"
name = "rustydialogs"
version = "0.4.1"
authors = ["Casper <CasualX@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Provides a simple and cross-platform way to display native dialog boxes."
documentation = "https://docs.rs/rustydialogs"
readme = false
keywords = [
"dialog",
"ui",
"message",
"file",
]
categories = ["gui"]
license = "MIT"
repository = "https://github.com/CasualX/rustydialogs"
[features]
appkit = [
"dep:objc2",
"dep:objc2-foundation",
"dep:objc2-app-kit",
"dep:dispatch2",
]
default = []
gtk3 = [
"dep:gtk-sys",
"dep:glib-sys",
"dep:gobject-sys",
"dep:gdk-sys",
"libnotify",
]
gtk4 = [
"dep:gtk4-sys",
"dep:gdk4-sys",
"dep:gtk4-gio-sys",
"dep:gtk4-glib-sys",
"dep:gtk4-gobject-sys",
"libnotify",
]
libnotify = [
"dep:libnotify-sys",
"dep:gobject-sys",
]
winrt-toast = []
xdg-portal = ["dep:dbus"]
[lib]
name = "rustydialogs"
path = "src/lib.rs"
[[example]]
name = "color_picker"
path = "examples/color_picker.rs"
[[example]]
name = "folder_dialog"
path = "examples/folder_dialog.rs"
[[example]]
name = "message_box"
path = "examples/message_box.rs"
[[example]]
name = "notification"
path = "examples/notification.rs"
[[example]]
name = "open_file_dialog"
path = "examples/open_file_dialog.rs"
[[example]]
name = "save_file_dialog"
path = "examples/save_file_dialog.rs"
[[example]]
name = "text_input"
path = "examples/text_input.rs"
[dependencies.raw-window-handle]
version = "0.6"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.dbus]
version = "0.9"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gdk-sys]
version = "0.18"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gdk4-sys]
version = "0.11"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.glib-sys]
version = "0.18"
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"
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"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gtk4-gio-sys]
version = "0.22"
optional = true
package = "gio-sys"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gtk4-glib-sys]
version = "0.22"
optional = true
package = "glib-sys"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gtk4-gobject-sys]
version = "0.22"
optional = true
package = "gobject-sys"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gtk4-sys]
version = "0.11"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.libc]
version = "0.2"
[target.'cfg(any(target_os = "linux", target_os = "freebsd", target_os = "dragonfly", target_os = "netbsd", target_os = "openbsd"))'.dependencies.libnotify-sys]
version = "1.0"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.dispatch2]
version = "0.3.1"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.4"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.2"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.2"
optional = true
[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
"Data_Xml_Dom",
"UI_Notifications",
"Win32_Foundation",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_LibraryLoader",
"Win32_System_Variant",
"Win32_UI_Controls",
"Win32_UI_Controls_Dialogs",
"Win32_UI_Shell",
"Win32_UI_Shell_PropertiesSystem",
"Win32_UI_Shell_Common",
"Win32_UI_WindowsAndMessaging",
]