# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "tray-icon" version = "0.19.2" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Create tray icons for desktop applications" homepage = "https://github.com/tauri-apps/tray-icon" readme = "README.md" categories = ["gui"] license = "MIT OR Apache-2.0" repository = "https://github.com/tauri-apps/tray-icon" [lib] name = "tray_icon" path = "src/lib.rs" [[example]] name = "egui" path = "examples/egui.rs" [[example]] name = "tao" path = "examples/tao.rs" [[example]] name = "winit" path = "examples/winit.rs" [dependencies.crossbeam-channel] version = "0.5" [dependencies.muda] version = "0.15" default-features = false [dependencies.once_cell] version = "1" [dependencies.serde] version = "1" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.eframe] version = "0.27" [dev-dependencies.image] version = "0.25" [dev-dependencies.serde_json] version = "1" [dev-dependencies.tao] version = "0.30" [dev-dependencies.winit] version = "0.29" [features] common-controls-v6 = ["muda/common-controls-v6"] default = ["libxdo"] libxdo = ["muda/libxdo"] serde = [ "muda/serde", "dep:serde", ] [target.'cfg(any(target_os = "linux", target_os = "macos"))'.dependencies.png] version = "0.17" [target.'cfg(target_os = "linux")'.dependencies.dirs] version = "5" [target.'cfg(target_os = "linux")'.dependencies.libappindicator] version = "0.9" [target.'cfg(target_os = "linux")'.dev-dependencies.gtk] version = "0.18" [target.'cfg(target_os = "macos")'.dependencies.core-graphics] version = "0.24" [target.'cfg(target_os = "macos")'.dependencies.objc2] version = "0.5.2" [target.'cfg(target_os = "macos")'.dependencies.objc2-app-kit] version = "0.2.2" features = [ "NSButton", "NSCell", "NSControl", "NSEvent", "NSImage", "NSMenu", "NSResponder", "NSStatusBar", "NSStatusBarButton", "NSStatusItem", "NSTrackingArea", "NSView", "NSWindow", ] [target.'cfg(target_os = "macos")'.dependencies.objc2-foundation] version = "0.2.2" features = [ "block2", "NSArray", "NSData", "NSEnumerator", "NSGeometry", "NSString", "NSThread", ] [target.'cfg(target_os = "macos")'.dev-dependencies.core-foundation] version = "0.10" [target.'cfg(target_os = "windows")'.dependencies.windows-sys] version = "0.59" features = [ "Win32_UI_WindowsAndMessaging", "Win32_Foundation", "Win32_System_SystemServices", "Win32_Graphics_Gdi", "Win32_UI_Shell", ]