-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
48 lines (42 loc) · 1.49 KB
/
Copy pathCargo.toml
File metadata and controls
48 lines (42 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
[package]
name = "keytap"
version = "0.4.0"
edition = "2024"
rust-version = "1.85"
license = "MIT OR Apache-2.0"
description = "Cross-platform, observe-only global keyboard taps with left/right modifier fidelity and clean shutdown"
repository = "https://github.com/jamiepine/keytap"
keywords = ["keyboard", "hotkey", "global", "input", "evdev"]
categories = ["os", "hardware-support", "api-bindings"]
readme = "README.md"
[features]
default = ["chord"]
chord = []
tracing = ["dep:tracing"]
serde = ["dep:serde"]
[dependencies]
crossbeam-channel = "0.5"
thiserror = "2"
tracing = { version = "0.1", optional = true }
serde = { version = "1", optional = true, features = ["derive"] }
[target.'cfg(target_os = "macos")'.dependencies]
objc2 = "0.6"
objc2-foundation = { version = "0.3", default-features = false, features = ["std", "NSAutoreleasePool"] }
objc2-core-foundation = { version = "0.3", default-features = false, features = ["std", "CFRunLoop", "CFMachPort"] }
objc2-core-graphics = { version = "0.3", default-features = false, features = ["std", "CGEvent", "CGEventTypes"] }
libc = "0.2"
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]
version = "0.59"
features = [
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_Foundation",
"Win32_System_Threading",
"Win32_System_LibraryLoader",
]
[target.'cfg(target_os = "linux")'.dependencies]
evdev = "0.13"
nix = { version = "0.29", features = ["poll", "event"] }
[dev-dependencies]
anyhow = "1"
serde_json = "1"