diff --git a/Cargo.toml b/Cargo.toml index 1661307aa54a..8219bc43b0f5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -69,6 +69,26 @@ profiling = "1.0" smallvec = "1.11" pixman = { version = "0.1.0", features = ["drm-fourcc"], optional = true } +[patch.crates-io] +wayland-egl = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2"} +wayland-protocols = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +wayland-protocols-wlr = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +wayland-protocols-misc = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +wayland-server = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +wayland-client = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +wayland-sys = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +wayland-backend = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +wayland-scanner = { git = "https://github.com/PolyMeilex/wayland-rs.git", branch = "new-delegate-v2" } +# wayland-egl = { path = "../wayland-rs/wayland-egl/" } +# wayland-protocols = { path = "../wayland-rs/wayland-protocols/" } +# wayland-protocols-wlr = { path = "../wayland-rs/wayland-protocols-wlr/" } +# wayland-protocols-misc = { path = "../wayland-rs/wayland-protocols-misc/" } +# wayland-server = { path = "../wayland-rs/wayland-server/" } +# wayland-client = { path = "../wayland-rs/wayland-client/" } +# wayland-sys = { path = "../wayland-rs/wayland-sys/" } +# wayland-backend = { path = "../wayland-rs/wayland-backend/" } +# wayland-scanner = { path = "../wayland-rs/wayland-scanner/" } + [dev-dependencies] clap = { version = "4", features = ["derive"] }