Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶
Source reconstructed at patch state 2 of 3 — not the installed (fully patched) source.
3 Debian patches touch this file
1 # THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2 #
3 # When uploading crates to the registry Cargo will automatically
4 # "normalize" Cargo.toml files for maximal compatibility
5 # with all versions of Cargo and also rewrite `path` dependencies
6 # to registry (e.g., crates.io) dependencies.
7 #
8 # If you are reading this file be aware that the original Cargo.toml
9 # will likely look very different (and much more reasonable).
10 # See Cargo.toml.orig for the original contents.
11
12 [package]
13 edition = "2021"
14 rust-version = "1.64"
15 name = "evdev"
16 version = "0.13.2"
17 authors = ["Corey Richardson <[email protected]>"]
18 build = false
19 autolib = false
20 autobins = false
21 autoexamples = false
22 autotests = false
23 autobenches = false
24 description = "evdev interface for Linux"
25 documentation = "https://docs.rs/evdev"
26 readme = "README.md"
27 license = "Apache-2.0 OR MIT"
28 repository = "https://github.com/cmr/evdev"
29
30 [package.metadata.docs.rs]
31 all-features = true
32 rustdoc-args = [
33 "--cfg",
34 "docsrs",
35 ]
36
37 [features]
38 device-test = []
39 serde = ["dep:serde"]
40 stream-trait = [
41 "tokio",
42 "futures-core",
43 ]
44 tokio = ["dep:tokio"]
45
46 [lib]
47 name = "evdev"
48 path = "src/lib.rs"
49
50 [[example]]
51 name = "_pick_device"
52 path = "examples/_pick_device.rs"
53
54 [[example]]
55 name = "blink_keyboard_leds"
56 path = "examples/blink_keyboard_leds.rs"
57
58 [[example]]
59 name = "evtest"
60 path = "examples/evtest.rs"
61
62 [[example]]
63 name = "evtest_nonblocking"
64 path = "examples/evtest_nonblocking.rs"
65
66 [[example]]
67 name = "evtest_tokio"
68 path = "examples/evtest_tokio.rs"
69 required-features = ["tokio"]
70
71 [[example]]
72 name = "force_feedback"
73 path = "examples/force_feedback.rs"
74
75 [[example]]
76 name = "virtual_ff"
77 path = "examples/virtual_ff.rs"
78
79 [[example]]
80 name = "virtual_joystick"
81 path = "examples/virtual_joystick.rs"
82
83 [[example]]
84 name = "virtual_keyboard"
85 path = "examples/virtual_keyboard.rs"
86
87 [[example]]
88 name = "virtual_mouse"
89 path = "examples/virtual_mouse.rs"
90
91 [[test]]
92 name = "compensate"
93 path = "tests/compensate.rs"
94
95 [[test]]
96 name = "device"
97 path = "tests/device.rs"
98
99 [[test]]
100 name = "virtual_device"
101 path = "tests/virtual_device.rs"
102
103 [dependencies.bitvec]
104 version = "1.0.0"
105
106 [dependencies.cfg-if]
107 version = "1.0"
108
109 [dependencies.futures-core]
110 version = "0.3"
111 optional = true
112
113 [dependencies.libc]
114 version = "0.2.121"
115 features = ["extra_traits"]
116
117 [dependencies.nix]
118 version = "0.30"
119 features = [
120 "ioctl",
121 "fs",
122 "event",
123 ]
124
125 [dependencies.serde]
126 version = "1.0"
127 features = ["derive"]
128 optional = true
129
130 [dependencies.tokio]
131 version = "1.17"
132 features = [
133 "fs",
134 "time",
135 "net",
136 ]
137 optional = true
138
139 [dev-dependencies.itertools]
140 version = "0.13"
141
142 [dev-dependencies.tokio]
143 version = "1.17"
144 features = [
145 "macros",
146 "rt-multi-thread",
147 "time",
148 ]