-
Notifications
You must be signed in to change notification settings - Fork 77
/
Cargo.toml
37 lines (31 loc) · 1023 Bytes
/
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
[package]
name = "evdev"
version = "0.12.2"
authors = ["Corey Richardson <[email protected]>"]
description = "evdev interface for Linux"
license = "Apache-2.0 OR MIT"
repository = "https://github.com/cmr/evdev"
documentation = "https://docs.rs/evdev"
edition = "2021"
rust-version = "1.63"
[features]
serde = ["dep:serde"]
tokio = ["dep:tokio"]
stream-trait = ["tokio", "futures-core"]
[dependencies]
libc = { version = "0.2.121", features = ["extra_traits"]}
bitvec = "1.0.0"
cfg-if = "1.0"
nix = { version = "0.29", features = ["ioctl", "fs", "event"] }
serde = { version = "1.0", features = ["derive"], optional = true }
tokio = { version = "1.17", features = ["fs","time", "net"], optional = true }
futures-core = { version = "0.3", optional = true }
[dev-dependencies]
tokio = { version = "1.17", features = ["macros", "rt-multi-thread", "time"] }
itertools = "0.10"
[[example]]
name = "evtest_tokio"
required-features = ["tokio"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]