-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
38 lines (32 loc) · 1.05 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
[package]
name = "input-linux"
version = "0.7.1"
authors = ["arcnmx"]
edition = "2018"
description = "evdev and uinput"
keywords = ["evdev", "uinput", "linux", "input"]
documentation = "http://docs.rs/input-linux/*/input_linux"
repository = "https://github.com/arcnmx/input-linux-rs"
readme = "README.md"
license = "MIT"
include = [
"src/**/*.rs",
"/README*",
"/COPYING*",
]
[package.metadata.docs.rs]
features = ["dox", "tokio-util-0_6", "tokio-util-0_7", "serde"]
[dependencies]
input-linux-sys = "0.9.0"
nix = "0.29"
tokio-util-0_7 = { package = "tokio-util", version = "0.7", default-features = false, features = ["codec"], optional = true }
tokio-util-0_6 = { package = "tokio-util", version = "0.6", default-features = false, features = ["codec"], optional = true }
bytes = { version = "1", optional = true }
serde = { version = "1", features = ["derive"], optional = true }
[features]
tokio-util-0_6 = ["dep:tokio-util-0_6", "codec", "bytes"]
tokio-util-0_7 = ["dep:tokio-util-0_7", "codec", "bytes"]
codec = ["bytes"]
serde = ["dep:serde"]
unstable = []
dox = []