-
Notifications
You must be signed in to change notification settings - Fork 73
/
Cargo.toml
45 lines (39 loc) · 1.41 KB
/
Cargo.toml
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
[package]
name = "inputbot"
version = "0.6.0"
authors = ["obv-mikhail <obv.mikhail@gmail.com>"]
description = "Cross-platform (Windows & Linux) library for simulating keyboard/mouse input events and registering global input device event handlers."
documentation = "https://docs.rs/inputbot"
homepage = "https://github.com/obv-mikhail/inputbot"
repository = "https://github.com/obv-mikhail/inputbot"
readme = "README.md"
keywords = ["hotkey", "mouse", "keyboard", "input", "bot"]
categories = ["accessibility", "api-bindings", "os"]
license = "MIT"
edition = "2021"
[dependencies]
strum = { version = "0.25.0", features = ["derive"] }
strum_macros = "0.25.2"
once_cell = "1.18.0"
thiserror = { version = "^1.0", optional = true }
regex = { version = "^1.0", optional = true }
serde = { version = "^1.0", optional = true, features = ["derive"] }
[target.'cfg(windows)'.dependencies]
windows = { version = "0.51.1", features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
"Win32_UI_Input_KeyboardAndMouse",
] }
[target.'cfg(target_os="linux")'.dependencies]
libc = "0.2.148"
input = "0.8.3"
nix = { version = "0.27.1", features = ["fs"] }
x11 = { version = "2.21.0", features = ["xlib", "xtest"] }
uinput = { version = "0.1.3", default-features = false }
[dev-dependencies]
toml = { version = "^0.8" }
[features]
serde = ["dep:serde", "dep:regex", "dep:thiserror"]
[[example]]
name = "serde"
required-features = ["serde"]