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