[package]
edition = "2021"
rust-version = "1.71"
name = "muda"
version = "0.17.2"
build = false
include = [
"README.md",
"src/**/*.rs",
"Cargo.toml",
"LICENSE-APACHE",
"LICENSE-MIT",
"LICENSE.spdx",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Menu Utilities for Desktop Applications"
documentation = "https://docs.rs/muda"
readme = "README.md"
keywords = [
"windowing",
"menu",
]
categories = ["gui"]
license = "Apache-2.0 OR MIT"
repository = "https://github.com/tauri-apps/muda"
[features]
common-controls-v6 = []
default = [
"libxdo",
"gtk",
]
gtk = ["dep:gtk"]
libxdo = ["dep:libxdo"]
serde = [
"dep:serde",
"dpi/serde",
]
[lib]
name = "muda"
path = "src/lib.rs"
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.dpi]
version = "0.1"
[dependencies.keyboard-types]
version = "0.7"
[dependencies.once_cell]
version = "1"
[dependencies.serde]
version = "1"
optional = true
[dependencies.thiserror]
version = "2"
[dev-dependencies.image]
version = "0.25"
[dev-dependencies.tao]
version = "0.33"
[dev-dependencies.winit]
version = "0.30"
[dev-dependencies.wry]
version = "0.45"
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies.gtk]
version = "0.18"
optional = true
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "netbsd", target_os = "openbsd"))'.dependencies.libxdo]
version = "0.6.0"
optional = true
[target.'cfg(target_os = "macos")'.dependencies.objc2]
version = "0.6.0"
[target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit]
version = "0.3.0"
features = [
"std",
"objc2-core-foundation",
"NSApplication",
"NSCell",
"NSEvent",
"NSImage",
"NSMenu",
"NSMenuItem",
"NSResponder",
"NSRunningApplication",
"NSView",
"NSWindow",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3.0"
features = [
"std",
"CFCGTypes",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3.0"
features = [
"std",
"NSAttributedString",
"NSData",
"NSDictionary",
"NSGeometry",
"NSString",
"NSThread",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.png]
version = "0.17"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.60"
features = [
"Win32_UI_WindowsAndMessaging",
"Win32_Foundation",
"Win32_Graphics_Gdi",
"Win32_UI_Shell",
"Win32_Globalization",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_System_SystemServices",
"Win32_UI_Accessibility",
"Win32_UI_HiDpi",
"Win32_System_LibraryLoader",
"Win32_UI_Controls",
]