1 | [package] |
2 | name = "input" |
3 | description = "libinput bindings for rust" |
4 | license = "MIT" |
5 | documentation = "https://docs.rs/input" |
6 | repository = "https://github.com/Drakulix/input.rs" |
7 | version = "0.8.3" |
8 | keywords = ["wayland" , "input" , "bindings" ] |
9 | categories = ["external-ffi-bindings" ] |
10 | authors = ["Drakulix (Victoria Brekenfeld)" ] |
11 | edition = "2018" |
12 | exclude = [".gitignore" , ".rustfmt.toml" , ".github" ] |
13 | |
14 | [dependencies] |
15 | io-lifetimes = "1.0.3" |
16 | libc = "0.2" |
17 | bitflags = "1.2" |
18 | log = { version = "0.4" , optional = true } |
19 | |
20 | [dependencies.input-sys] |
21 | version = "1.17.0" |
22 | path = "input-sys" |
23 | default-features = false |
24 | |
25 | [dependencies.udev] |
26 | version = "0.7" |
27 | optional = true |
28 | |
29 | [dev-dependencies] |
30 | nix = "0.26" |
31 | |
32 | [features] |
33 | default = ["udev" , "log" , "libinput_1_21" ] |
34 | gen = ["input-sys/gen" ] |
35 | libinput_1_11 = ["input-sys/libinput_1_11" ] |
36 | libinput_1_14 = ["input-sys/libinput_1_14" , "libinput_1_11" ] |
37 | libinput_1_15 = ["input-sys/libinput_1_15" , "libinput_1_14" ] |
38 | libinput_1_19 = ["input-sys/libinput_1_19" , "libinput_1_15" ] |
39 | libinput_1_21 = ["input-sys/libinput_1_21" , "libinput_1_19" ] |
40 | |
41 | [workspace] |
42 | members = [ |
43 | "input-sys" |
44 | ] |
45 | |