# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "smithay-client-toolkit" version = "0.19.2" authors = [ "Elinor Berger ", "i509VCB ", "Ashley Wulber ", ] build = "build.rs" autobins = false autoexamples = false autotests = false autobenches = false description = "Toolkit for making client wayland applications." documentation = "https://smithay.github.io/client-toolkit" readme = "README.md" keywords = [ "wayland", "client", ] categories = ["gui"] license = "MIT" repository = "https://github.com/smithay/client-toolkit" [package.metadata.docs.rs] features = [ "calloop", "xkbcommon", ] rustdoc-args = [ "--cfg", "docsrs", ] [lib] name = "smithay_client_toolkit" path = "src/lib.rs" [[example]] name = "data_device" path = "examples/data_device.rs" [[example]] name = "dmabuf_formats" path = "examples/dmabuf_formats.rs" [[example]] name = "generic_list_seats" path = "examples/generic_list_seats.rs" [[example]] name = "generic_simple_window" path = "examples/generic_simple_window.rs" [[example]] name = "image_viewer" path = "examples/image_viewer.rs" [[example]] name = "image_viewporter" path = "examples/image_viewporter.rs" [[example]] name = "list_outputs" path = "examples/list_outputs.rs" [[example]] name = "list_seats" path = "examples/list_seats.rs" [[example]] name = "list_shm_formats" path = "examples/list_shm_formats.rs" [[example]] name = "relative_pointer" path = "examples/relative_pointer.rs" [[example]] name = "session_lock" path = "examples/session_lock.rs" [[example]] name = "simple_layer" path = "examples/simple_layer.rs" [[example]] name = "simple_window" path = "examples/simple_window.rs" [[example]] name = "themed_window" path = "examples/themed_window.rs" [[example]] name = "wgpu" path = "examples/wgpu.rs" required-features = ["wayland-backend/client_system"] [dependencies.bitflags] version = "2.4" [dependencies.bytemuck] version = "1.13.0" optional = true [dependencies.calloop] version = "0.13.0" optional = true [dependencies.calloop-wayland-source] version = "0.3.0" optional = true [dependencies.cursor-icon] version = "1.1.0" [dependencies.libc] version = "0.2.148" [dependencies.log] version = "0.4" [dependencies.memmap2] version = "0.9.0" [dependencies.rustix] version = "0.38.15" features = [ "fs", "pipe", "shm", ] [dependencies.thiserror] version = "1.0.30" [dependencies.wayland-backend] version = "0.3.0" [dependencies.wayland-client] version = "0.31.1" [dependencies.wayland-csd-frame] version = "0.3.0" [dependencies.wayland-cursor] version = "0.31.0" [dependencies.wayland-protocols] version = "0.32.1" features = [ "client", "staging", "unstable", ] [dependencies.wayland-protocols-wlr] version = "0.3.1" features = ["client"] [dependencies.wayland-scanner] version = "0.31.0" [dependencies.xkbcommon] version = "0.7.0" features = ["wayland"] optional = true [dependencies.xkeysym] version = "0.2.0" [dev-dependencies.bytemuck] version = "1.13.0" [dev-dependencies.drm-fourcc] version = "2.2.0" [dev-dependencies.env_logger] version = "0.10" [dev-dependencies.font-kit] version = "0.11.0" [dev-dependencies.image] version = "0.24" [dev-dependencies.pollster] version = "0.3.0" [dev-dependencies.raqote] version = "0.8.2" [dev-dependencies.raw-window-handle] version = "0.6.0" [dev-dependencies.wgpu] version = "0.19.0" [build-dependencies.pkg-config] version = "0.3" optional = true [features] calloop = [ "dep:calloop", "calloop-wayland-source", ] default = [ "calloop", "xkbcommon", ] xkbcommon = [ "dep:xkbcommon", "bytemuck", "pkg-config", "xkeysym/bytemuck", ]