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.9.1" |
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 | rust-version = "1.63.0" |
14 | |
15 | [dependencies] |
16 | libc = "0.2" |
17 | bitflags = "2.4" |
18 | log = { version = "0.4.20" , optional = true } |
19 | |
20 | [dependencies.input-sys] |
21 | version = "1.18.0" |
22 | path = "input-sys" |
23 | default-features = false |
24 | |
25 | [dependencies.udev] |
26 | version = "0.9" |
27 | optional = true |
28 | |
29 | [dev-dependencies] |
30 | rustix = { version = "0.38" , features = ["event" ] } |
31 | |
32 | [features] |
33 | default = ["udev" , "log" , "libinput_1_21" ] |
34 | use_bindgen = ["input-sys/use_bindgen" ] |
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 | |