[package]
name = "wayland-backend"
version = "0.3.7"
authors = ["Elinor Berger <elinor@safaradeg.net>"]
edition = "2021"
rust-version = "1.65"
repository = "https://github.com/smithay/wayland-rs"
documentation = "https://docs.rs/wayland-backend/"
license = "MIT"
categories = ["gui", "api-bindings"]
keywords = ["wayland"]
description = "Low-level bindings to the Wayland protocol"
readme = "README.md"
build = "build.rs"
[dependencies]
wayland-sys = { version = "0.31.5", path = "../wayland-sys", features = [] }
log = { version = "0.4", optional = true }
scoped-tls = "1.0"
downcast-rs = "1.2"
raw-window-handle = { version = "0.5.0", optional = true }
rwh_06 = { package = "raw-window-handle", version = "0.6.0", optional = true }
[dependencies.smallvec]
version = "1.9"
features = [
"union",
"const_generics",
"const_new",
]
[dependencies.rustix]
version = "0.38.17"
features = [
"event",
"fs",
"net",
"process",
]
[build-dependencies]
cc = "1.0"
[dev-dependencies]
wayland-scanner = { path = "../wayland-scanner"}
wayland-sys = { path = "../wayland-sys", features = ["client", "server"] }
concat-idents = "1.1"
env_logger = "0.10"
[features]
client_system = ["wayland-sys/client"]
server_system = ["wayland-sys/server"]
dlopen = ["wayland-sys/dlopen"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]