[package]
edition = "2021"
rust-version = "1.87"
name = "muri"
version = "0.14.6"
authors = ["Matthew Jackson <1085847+MattJackson@users.noreply.github.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Menu Utilities for Rust Interfaces — a cross-platform, fully-styleable tray-icon and popup-menu system (a custom-drawn muda/tray-icon replacement)."
homepage = "https://github.com/MattJackson/muri"
documentation = "https://docs.rs/muri"
readme = "README.md"
keywords = [
"tray",
"menu",
"statusbar",
"popup",
"gui",
]
categories = [
"gui",
"os::macos-apis",
]
license = "MIT"
repository = "https://github.com/MattJackson/muri"
[package.metadata.docs.rs]
all-features = true
default-target = "x86_64-apple-darwin"
targets = [
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"x86_64-unknown-linux-gnu",
]
[badges.maintenance]
status = "actively-developed"
[features]
a11y = [
"dep:accesskit",
"dep:accesskit_macos",
"dep:accesskit_windows",
"dep:accesskit_unix",
]
bundled-fonts = []
default = [
"x11-popup",
"bundled-fonts",
]
muda-compat = []
wayland-styled = [
"dep:smithay-client-toolkit",
"dep:wayland-client",
]
x11-popup = ["dep:x11rb"]
[lib]
name = "muri"
path = "src/lib.rs"
[[example]]
name = "demo_tray"
path = "examples/demo_tray.rs"
[[example]]
name = "usagio_menu"
path = "examples/usagio_menu.rs"
[[test]]
name = "golden"
path = "tests/golden.rs"
[[test]]
name = "headless"
path = "tests/headless.rs"
[[test]]
name = "oem_fidelity"
path = "tests/oem_fidelity.rs"
[[test]]
name = "snapshot"
path = "tests/snapshot.rs"
[[test]]
name = "strict_cfg"
path = "tests/strict_cfg.rs"
[[test]]
name = "theme_conformity"
path = "tests/theme_conformity.rs"
[dependencies.accesskit]
version = "0.17"
optional = true
[dependencies.crossbeam-channel]
version = "0.5"
[dependencies.fontdb]
version = "0.24"
features = [
"std",
"fs",
"memmap",
]
default-features = false
[dependencies.harfrust]
version = "0.13"
[dependencies.png]
version = "0.17"
[dependencies.swash]
version = "0.2"
[dependencies.zeno]
version = "0.3"
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.accesskit_unix]
version = "0.13"
optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.ksni]
version = "0.3.6"
features = [
"blocking",
"async-io",
]
default-features = false
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.smithay-client-toolkit]
version = "0.19"
optional = true
default-features = false
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.wayland-client]
version = "0.31"
optional = true
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.x11rb]
version = "0.13"
optional = true
default-features = false
[target.'cfg(all(unix, not(target_os = "macos")))'.dependencies.zbus]
version = "5"
features = ["blocking-api"]
[target.'cfg(target_os = "macos")'.dependencies.accesskit_macos]
version = "0.18"
optional = true
[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 = [
"std",
"block2",
"objc2-quartz-core",
"objc2-core-foundation",
"NSResponder",
"NSApplication",
"NSRunningApplication",
"NSWindow",
"NSPanel",
"NSView",
"NSVisualEffectView",
"NSColor",
"NSColorSpace",
"NSAppearance",
"NSCursor",
"NSEvent",
"NSImage",
"NSCell",
"NSControl",
"NSButton",
"NSMenu",
"NSMenuItem",
"NSScreen",
"NSStatusBar",
"NSStatusItem",
"NSStatusBarButton",
"NSTrackingArea",
"NSFont",
"NSFontManager",
"NSWorkspace",
"NSGraphics",
"NSGraphicsContext",
"NSAccessibility",
"NSAccessibilityProtocols",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-foundation]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-core-graphics]
version = "0.3"
features = [
"std",
"CGImage",
"CGColorSpace",
"CGDataProvider",
]
default-features = false
[target.'cfg(target_os = "macos")'.dependencies.objc2-foundation]
version = "0.3"
[target.'cfg(target_os = "macos")'.dependencies.objc2-quartz-core]
version = "0.3"
features = [
"std",
"CALayer",
"CATransaction",
"objc2-core-foundation",
]
default-features = false
[target.'cfg(target_os = "windows")'.dependencies.accesskit_windows]
version = "0.24"
optional = true
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59"
features = [
"Win32_Foundation",
"Win32_UI_Shell",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_HiDpi",
"Win32_System_LibraryLoader",
"Win32_Graphics_Gdi",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_Graphics_Dwm",
"Win32_System_Registry",
]
[profile.release]
opt-level = 3
lto = "fat"
codegen-units = 1
strip = true