wayray/crates/wrsrvd/Cargo.toml
Till Wegmueller 9fc27d3b56 Fix PixmanRenderer compositing: remove EGL features from default build
renderer_gl and backend_winit pulled in backend_egl, which changed the
ImportAll blanket impl to require ImportEgl — a trait PixmanRenderer
doesn't implement. This caused render_output to silently skip client
surface compositing (only the clear color rendered).

Fix: move renderer_gl and backend_winit behind a "winit" cargo feature.
Default build uses only renderer_pixman, which satisfies ImportAll via
the simpler ImportMemWl + ImportDmaWl blanket impl.

Winit backend: cargo build -p wrsrvd --features winit
Headless (default): cargo build -p wrsrvd
2026-04-07 18:44:19 +02:00

29 lines
713 B
TOML

[package]
name = "wrsrvd"
edition.workspace = true
version.workspace = true
license.workspace = true
[features]
# Enable the Winit development backend (requires display server).
# Build with: cargo build -p wrsrvd --features winit
winit = ["smithay/renderer_gl", "smithay/backend_winit"]
[dependencies]
wayray-protocol.workspace = true
tracing.workspace = true
tracing-subscriber.workspace = true
miette.workspace = true
thiserror.workspace = true
serde.workspace = true
ctrlc = "3"
quinn.workspace = true
rustls.workspace = true
rcgen.workspace = true
tokio.workspace = true
smithay = { version = "0.7", default-features = false, features = [
"wayland_frontend",
"desktop",
"renderer_pixman",
] }