-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCargo.toml
More file actions
47 lines (40 loc) · 1.36 KB
/
Copy pathCargo.toml
File metadata and controls
47 lines (40 loc) · 1.36 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
[package]
name = "raw-input"
version = "0.0.1-beta.2"
edition = "2024"
rust-version = "1.85"
authors = ["Lete114 <me@imlete.cn>"]
description = "A cross-platform library for capturing and simulating global input events (keyboard and mouse)."
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/lete114/raw-input"
keywords = ["input", "grab", "listen", "mouse", "keyboard"]
categories = ["development-tools", "api-bindings", "hardware-support", "os"]
[features]
default = []
serialize = ["dep:serde"]
[dependencies]
serde = { version = "1", features = ["derive"], optional = true }
once_cell = "1.21.3"
dashmap = "6.1.0"
[target.'cfg(target_os = "windows")'.dependencies]
windows = { version = "0.62.2", features = [
"Win32_UI_WindowsAndMessaging",
"Win32_System_Threading",
"Win32_UI_Input_KeyboardAndMouse",
"Win32_Graphics_Gdi",
"Win32_System_LibraryLoader",
"Win32_UI_HiDpi",
] }
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = { version = "0.25.0", features = ["highsierra"] }
core-foundation = { version = "0.10.1" }
objc2 = { version = "0.6.3" }
objc2-foundation = { version = "0.3", default-features = false, features = [] }
objc2-app-kit = { version = "0.3", default-features = false, features = [
"objc2-core-foundation",
"NSGraphics",
"NSScreen",
] }
[dev-dependencies]
serial_test = "3.2.0"