1 | [package] |
2 | name = "xkbcommon" |
3 | version = "0.7.0" |
4 | authors = ["Remi THEBAULT <remi.thebault@gmail.com>" ] |
5 | description = "Rust bindings and wrappers for libxkbcommon" |
6 | repository = "https://github.com/rust-x-bindings/xkbcommon-rs" |
7 | readme = "README.md" |
8 | keywords = ["keyboard" , "x11" , "wayland" , "xcb" , "input" ] |
9 | license = "MIT" |
10 | edition = "2021" |
11 | |
12 | [package.metadata.docs.rs] |
13 | all-features = true |
14 | |
15 | [dependencies] |
16 | libc = "0.2.148" |
17 | memmap2 = { version = "0.8.0" , optional = true } |
18 | as-raw-xcb-connection = { version = "1.0" , optional = true } |
19 | xkeysym = "0.2.0" |
20 | |
21 | [dev-dependencies] |
22 | evdev = "0.11.4" |
23 | |
24 | [features] |
25 | default = ["wayland" ] |
26 | x11 = ["as-raw-xcb-connection" ] |
27 | wayland = ["memmap2" ] |
28 | |
29 | [[example]] |
30 | name = "quick-evdev" |
31 | |