Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

gpui_linux: split xkbcommon wayland/x11 features (#60834)

xheafc13dc8e054
diff --git a/crates/gpui_linux/Cargo.toml b/crates/gpui_linux/Cargo.toml
index 262da8d4dff..3fcaa995d3d 100644
--- a/crates/gpui_linux/Cargo.toml
+++ b/crates/gpui_linux/Cargo.toml
@@ -27,7 +27,7 @@ wayland = [
"wayland-protocols-plasma",
"wayland-protocols-wlr",
"filedescriptor",
- "xkbcommon",
+ "xkbcommon/wayland",
"open",
"gpui/wayland",
]
@@ -37,7 +37,7 @@ x11 = [
"as-raw-xcb-connection",
"x11rb",
- "xkbcommon",
+ "xkbcommon/x11",
"xim",
"x11-clipboard",
"filedescriptor",
@@ -89,7 +89,7 @@ swash = { version = "0.2.6" }
bitflags = { workspace = true, optional = true }
filedescriptor = { version = "0.8.2", optional = true }
open = { version = "5.2.0", optional = true }
-xkbcommon = { version = "0.8.0", features = ["wayland", "x11"], optional = true }
+xkbcommon = { version = "0.8.0", default-features = false, optional = true }
# Screen capture
scap = { workspace = true, optional = true }