-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
58 lines (45 loc) · 1.62 KB
/
Copy pathCargo.toml
File metadata and controls
58 lines (45 loc) · 1.62 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
49
50
51
52
53
54
55
56
57
58
[package]
name = "evdevil"
version = "0.5.0"
edition = "2024"
license = "0BSD"
description = "Bindings to Linux' input device APIs: evdev and uinput"
categories = ["os::linux-apis", "os::freebsd-apis", "hardware-support"]
repository = "https://github.com/SludgePhD/evdevil"
keywords = ["gamepad", "joystick", "keyboard", "mouse", "touchscreen"]
rust-version = "1.85" # (keep this in sync with ci.yaml)
[dependencies]
libc = "0.2.172"
uoctl = "1.0.1"
log = { version = "0.4.27", optional = true }
serde_core = { version = "1.0.219", optional = true }
tokio = { version = "1.46.1", default-features = false, optional = true, features = ["net"] }
async-io = { version = "2.4.1", default-features = false, optional = true }
[features]
default = ["log"]
# Uses the `log` crate to log internal operations. The precise version of `log` used is not
# stable and may be updated without notice.
log = ["dep:log"]
# Implements `Serialize` and `Deserialize` for event code types like `Key`, `Rel`, `Abs` etc.
serde = ["dep:serde_core"]
# Enables `async` functionality using the Tokio runtime and reactor.
tokio = ["dep:tokio"]
# Enables `async` functionality using the `async-io` reactor.
async-io = ["dep:async-io"]
[dev-dependencies]
log = "0.4.27"
env_logger = "0.11.8"
# for testing the async features:
tokio = { version = "1", default-features = false, features = ["rt"] }
# for testing the serde feature:
serde_core = "1.0.219"
csv = "1.3.1"
postcard = { version = "1.1", features = ["alloc"], default-features = false }
[[test]]
name = "hotplug"
harness = false
[[test]]
name = "tests"
harness = false
[package.metadata.docs.rs]
all-features = true