xwayland-satellite/Cargo.toml
2025-10-22 18:47:03 -04:00

67 lines
1.6 KiB
TOML

[workspace]
members = ["macros", "testwl", "wl_drm"]
[workspace.dependencies]
wayland-client = "0.31.11"
# We don't directly use wayland-cursor, but we need to set its version so
# smithay-client-toolkit does not depend on an older version with rustix < 1
wayland-cursor = "0.31.11"
wayland-protocols = "0.32.9"
wayland-scanner = "0.31.7"
wayland-server = "0.31.10"
rustix = "1.1.2"
[workspace.lints.clippy]
all = "deny"
[workspace.package]
rust-version = "1.83.0"
[package]
name = "xwayland-satellite"
version = "0.7.0"
edition = "2021"
rust-version.workspace = true
[lints]
workspace = true
[lib]
crate-type = ["lib"]
[dependencies]
bitflags = "2.5.0"
rustix = { workspace = true, features = ["event"] }
wayland-client.workspace = true
wayland-cursor.workspace = true
wayland-protocols = { workspace = true, features = ["client", "server", "staging", "unstable"] }
wayland-server.workspace = true
xcb = { version = "1.6.0", features = ["composite", "randr", "res"] }
wl_drm = { path = "wl_drm" }
log = "0.4.21"
pretty_env_logger = "0.5.0"
xcb-util-cursor = "0.3.4"
smithay-client-toolkit = { version = "0.20.0", default-features = false }
sd-notify = { version = "0.4.2", optional = true }
macros = { version = "0.1.0", path = "macros" }
hecs = { version = "0.10.5", features = ["macros"] }
num_enum = "0.7.4"
[features]
default = []
systemd = ["dep:sd-notify"]
[dev-dependencies]
rustix = { workspace = true, features = ["fs"] }
testwl = { path = "testwl" }
[build-dependencies]
anyhow = "1.0.98"
vergen-gitcl = "1.0.8"
[profile.ci]
inherits = "dev"
# Shrink bloat in ./target which negatively affects build caching
incremental = false
debug = false