# 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 = "global-hotkey" version = "0.6.3" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Global hotkeys for Desktop Applications" documentation = "https://docs.rs/global-hotkey" readme = "README.md" keywords = [ "windowing", "global", "global-hotkey", "hotkey", ] categories = ["gui"] license = "Apache-2.0 OR MIT" repository = "https://github.com/amrbashir/global-hotkey" [lib] name = "global_hotkey" path = "src/lib.rs" [[example]] name = "egui" path = "examples/egui.rs" [[example]] name = "iced" path = "examples/iced.rs" [[example]] name = "tao" path = "examples/tao.rs" [[example]] name = "winit" path = "examples/winit.rs" [dependencies.crossbeam-channel] version = "0.5" [dependencies.keyboard-types] version = "0.7" [dependencies.once_cell] version = "1" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.thiserror] version = "1" [dev-dependencies.async-std] version = "1.12.0" [dev-dependencies.eframe] version = "0.27" [dev-dependencies.iced] version = "0.12.1" [dev-dependencies.tao] version = "0.30" [dev-dependencies.winit] version = "0.29" [features] serde = ["dep:serde"] [target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.x11-dl] version = "2.21" [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 = ["NSEvent"] [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", "Win32_UI_Input_KeyboardAndMouse", ]