update wayland dependencies
@@ -17,11 +17,22 @@ default-target = "x86_64-pc-windows-msvc"
default = ["gtk"]
gtk = ["gdk-sys", "glib-sys", "gtk-sys", "gtk-rs"]
x11 = ["x11rb", "nix", "cairo-sys-rs", "bindgen", "pkg-config"]
+wayland = [
+ "wayland-client",
+ "wayland-protocols/client",
+ "wayland-protocols/unstable_protocols",
+ "nix",
+ "cairo-sys-rs",
+ "rand",
+ "calloop",
+ "wayland-cursor",
+ "log",
+ "im",
+ "bindgen",
+ "pkg-config",
+]
# Implement HasRawWindowHandle for WindowHandle
raw-win-handle = ["raw-window-handle"]
-# **WARNING** not ready for the prime time. Many things don't work yet.
-wayland = ["wayland-client", "wayland-protocols/client", "wayland-protocols/unstable_protocols",
-"nix", "cairo-sys-rs", "rand", "calloop", "wayland-cursor", "log", "im", "bindgen", "pkg-config"]
# passing on all the image features. AVIF is not supported because it does not
# support decoding, and that's all we use `Image` for.
@@ -89,10 +100,9 @@ glib-sys = { version = "0.14.0", optional = true }
gtk-sys = { version = "0.14.0", optional = true }
nix = { version = "0.18.0", optional = true }
x11rb = { version = "0.8.0", features = ["allow-unsafe-code", "present", "render", "randr", "xfixes", "xkb", "resource_manager", "cursor"], optional = true }
-# todo use dlopen eventually to gracefully fallback to X11
-wayland-client = { version = "0.28.2", optional = true, features = ["dlopen"] }
-wayland-protocols = { version = "0.28.2", optional = true }
-wayland-cursor = { version = "0.28.3", optional = true }
+wayland-client = { version = "0.29", optional = true }
+wayland-protocols = { version = "0.29", optional = true }
+wayland-cursor = { version = "0.29", optional = true }
rand = { version = "0.8.0", optional = true }
calloop = { version = "0.7.1", optional = true }
log = { version = "0.4.14", optional = true }
