smithay-client-toolkit 0.21.0

Toolkit for making client wayland applications.
# 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"
rust-version = "1.86"
name = "smithay-client-toolkit"
version = "0.21.0"
authors = [
    "Elinor Berger <elinor@safaradeg.net>",
    "i509VCB <mail@i509.me>",
    "Ashley Wulber <ashley@system76.com>",
]
build = "build.rs"
autolib = false
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",
]

[features]
calloop = [
    "dep:calloop",
    "calloop-wayland-source",
]
default = [
    "calloop",
    "xkbcommon",
]
system = ["wayland-client/system"]
xkbcommon = [
    "dep:xkbcommon",
    "bytemuck",
    "pkg-config",
    "xkeysym/bytemuck",
]

[lib]
name = "smithay_client_toolkit"
path = "src/lib.rs"

[[example]]
name = "data_device"
path = "examples/data_device.rs"

[[example]]
name = "dialog"
path = "examples/dialog.rs"

[[example]]
name = "dmabuf_formats"
path = "examples/dmabuf_formats.rs"

[[example]]
name = "foreign-toplevel-monitor"
path = "examples/foreign-toplevel-monitor.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 = ["system"]

[dependencies.bitflags]
version = "2.4"

[dependencies.bytemuck]
version = "1.13.0"
optional = true

[dependencies.calloop]
version = "0.14.0"
optional = true

[dependencies.calloop-wayland-source]
version = "0.4.0"
optional = true

[dependencies.cursor-icon]
version = "1.2.0"

[dependencies.log]
version = "0.4"

[dependencies.memmap2]
version = "0.9.0"

[dependencies.rustix]
version = "1.1.4"
features = [
    "fs",
    "pipe",
    "shm",
]

[dependencies.thiserror]
version = "2.0.12"

[dependencies.wayland-client]
version = "0.31.14"

[dependencies.wayland-csd-frame]
version = "0.3.0"

[dependencies.wayland-cursor]
version = "0.31.0"

[dependencies.wayland-protocols]
version = "0.32.9"
features = [
    "client",
    "staging",
    "unstable",
]

[dependencies.wayland-protocols-experimental]
version = "20251230.0.1"
features = ["client"]

[dependencies.wayland-protocols-misc]
version = "0.3.6"
features = ["client"]

[dependencies.wayland-protocols-wlr]
version = "0.3.1"
features = ["client"]

[dependencies.wayland-scanner]
version = "0.31.0"

[dependencies.xkbcommon]
version = "0.8.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