Debian Codegraph @

Cargo.toml

raw symbols ◀ ▶ SCIP
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 serde = ["dep:serde"]
39 stream-trait = [
40 "tokio",
41 "futures-core",
42 ]
43 tokio = ["dep:tokio"]
44
45 [lib]
46 name = "evdev"
47 path = "src/lib.rs"
48
49 [[example]]
50 name = "_pick_device"
51 path = "examples/_pick_device.rs"
52
53 [[example]]
54 name = "blink_keyboard_leds"
55 path = "examples/blink_keyboard_leds.rs"
56
57 [[example]]
58 name = "evtest"
59 path = "examples/evtest.rs"
60
61 [[example]]
62 name = "evtest_nonblocking"
63 path = "examples/evtest_nonblocking.rs"
64
65 [[example]]
66 name = "evtest_tokio"
67 path = "examples/evtest_tokio.rs"
68 required-features = ["tokio"]
69
70 [[example]]
71 name = "force_feedback"
72 path = "examples/force_feedback.rs"
73
74 [[example]]
75 name = "virtual_ff"
76 path = "examples/virtual_ff.rs"
77
78 [[example]]
79 name = "virtual_joystick"
80 path = "examples/virtual_joystick.rs"
81
82 [[example]]
83 name = "virtual_keyboard"
84 path = "examples/virtual_keyboard.rs"
85
86 [[example]]
87 name = "virtual_mouse"
88 path = "examples/virtual_mouse.rs"
89
90 [[test]]
91 name = "compensate"
92 path = "tests/compensate.rs"
93
94 [[test]]
95 name = "device"
96 path = "tests/device.rs"
97
98 [[test]]
99 name = "virtual_device"
100 path = "tests/virtual_device.rs"
101
102 [dependencies.bitvec]
103 version = "1.0.0"
104
105 [dependencies.cfg-if]
106 version = "1.0"
107
108 [dependencies.futures-core]
109 version = "0.3"
110 optional = true
111
112 [dependencies.libc]
113 version = "0.2.121"
114 features = ["extra_traits"]
115
116 [dependencies.nix]
•117 version = "0.30"
118 features = [
119 "ioctl",
120 "fs",
121 "event",
122 ]
123
124 [dependencies.serde]
125 version = "1.0"
126 features = ["derive"]
127 optional = true
128
129 [dependencies.tokio]
•130 version = "1.17"
131 features = [
132 "fs",
133 "time",
134 "net",
135 ]
136 optional = true
137
138 [dev-dependencies.itertools]
139 version = "0.13"
140
141 [dev-dependencies.tokio]
142 version = "1.17"
143 features = [
144 "macros",
145 "rt-multi-thread",
146 "time",
147 ]