| 1 | [package] |
| 2 | name = "smithay-client-toolkit" |
| 3 | version = "0.19.2" |
| 4 | authors = ["Elinor Berger <elinor@safaradeg.net>" , "i509VCB <mail@i509.me>" , "Ashley Wulber <ashley@system76.com>" ] |
| 5 | documentation = "https://smithay.github.io/client-toolkit" |
| 6 | repository = "https://github.com/smithay/client-toolkit" |
| 7 | license = "MIT" |
| 8 | edition = "2021" |
| 9 | categories = ["gui" ] |
| 10 | keywords = ["wayland" , "client" ] |
| 11 | description = "Toolkit for making client wayland applications." |
| 12 | readme = "README.md" |
| 13 | |
| 14 | [package.metadata.docs.rs] |
| 15 | features = ["calloop" , "xkbcommon" ] |
| 16 | rustdoc-args = ["--cfg" , "docsrs" ] |
| 17 | |
| 18 | [dependencies] |
| 19 | bitflags = "2.4" |
| 20 | bytemuck = { version = "1.13.0" , optional = true } |
| 21 | cursor-icon = "1.1.0" |
| 22 | libc = "0.2.148" |
| 23 | log = "0.4" |
| 24 | memmap2 = "0.9.0" |
| 25 | rustix = { version = "0.38.15" , features = ["fs" , "pipe" , "shm" ] } |
| 26 | thiserror = "1.0.30" |
| 27 | wayland-backend = "0.3.0" |
| 28 | wayland-client = "0.31.1" |
| 29 | wayland-cursor = "0.31.0" |
| 30 | wayland-protocols = { version = "0.32.1" , features = ["client" , "staging" , "unstable" ] } |
| 31 | wayland-protocols-wlr = { version = "0.3.1" , features = ["client" ] } |
| 32 | wayland-scanner = "0.31.0" |
| 33 | wayland-csd-frame = "0.3.0" |
| 34 | |
| 35 | xkbcommon = { version = "0.7.0" , optional = true, features = ["wayland" ] } |
| 36 | xkeysym = "0.2.0" |
| 37 | |
| 38 | calloop = { version = "0.13.0" , optional = true } |
| 39 | calloop-wayland-source = { version = "0.3.0" , optional = true } |
| 40 | |
| 41 | [features] |
| 42 | default = ["calloop" , "xkbcommon" ] |
| 43 | calloop = ["dep:calloop" , "calloop-wayland-source" ] |
| 44 | xkbcommon = ["dep:xkbcommon" , "bytemuck" , "pkg-config" , "xkeysym/bytemuck" ] |
| 45 | |
| 46 | [build-dependencies] |
| 47 | pkg-config = { version = "0.3" , optional = true } |
| 48 | |
| 49 | [dev-dependencies] |
| 50 | bytemuck = "1.13.0" |
| 51 | drm-fourcc = "2.2.0" |
| 52 | font-kit = "0.11.0" |
| 53 | image = "0.24" |
| 54 | env_logger = "0.10" |
| 55 | wgpu = "0.19.0" |
| 56 | raqote = "0.8.2" |
| 57 | raw-window-handle = "0.6.0" |
| 58 | pollster = "0.3.0" |
| 59 | |
| 60 | [[example]] |
| 61 | name = "wgpu" |
| 62 | required-features = ["wayland-backend/client_system" ] |
| 63 | |