mirror of
https://github.com/tauri-apps/global-hotkey.git
synced 2026-01-31 00:45:22 +01:00
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
|
name = "global-hotkey"
|
|
version = "0.5.2"
|
|
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]
|
|
bitflags = "2"
|
|
cocoa = "0.25"
|
|
objc = "0.2"
|
|
|
|
[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
|
|
version = "0.52"
|
|
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.27"
|
|
eframe = "0.27"
|
|
iced = "0.12.1"
|
|
async-std = "1.12.0"
|