mirror of
https://github.com/tauri-apps/global-hotkey.git
synced 2026-01-31 00:45:22 +01:00
47 lines
1.2 KiB
TOML
47 lines
1.2 KiB
TOML
[package]
|
|
name = "global-hotkey"
|
|
version = "0.6.1"
|
|
description = "Global hotkeys for Desktop Applications"
|
|
edition = "2021"
|
|
keywords = ["windowing", "global", "global-hotkey", "hotkey"]
|
|
license = "Apache-2.0 OR MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/amrbashir/global-hotkey"
|
|
documentation = "https://docs.rs/global-hotkey"
|
|
categories = ["gui"]
|
|
|
|
[features]
|
|
serde = ["dep:serde"]
|
|
|
|
[dependencies]
|
|
crossbeam-channel = "0.5"
|
|
keyboard-types = "0.7"
|
|
once_cell = "1"
|
|
thiserror = "1"
|
|
serde = { version = "1", optional = true, features = ["derive"] }
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
objc2 = "0.5.2"
|
|
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",
|
|
]
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
|
|
x11-dl = "2.21"
|
|
|
|
[dev-dependencies]
|
|
winit = "0.29"
|
|
tao = "0.30"
|
|
eframe = "0.27"
|
|
iced = "0.12.1"
|
|
async-std = "1.12.0"
|