diff --git a/Cargo.toml b/Cargo.toml index 7236e58..b120fb8 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,9 @@ categories = ["game-development", "graphics", "gui", "multimedia", "rendering"] exclude = ["examples"] [features] -default = ["x11", "wayland"] +default = ["x11", "wayland", "wayland-dlopen"] wayland = ["wayland-backend", "wayland-client", "nix"] +wayland-dlopen = ["wayland-sys/dlopen"] x11 = ["x11-dl"] [dependencies] @@ -24,6 +25,7 @@ raw-window-handle = "0.5.0" nix = { version = "0.26.1", optional = true } wayland-backend = { version = "0.1.0-beta.14", features = ["client_system"], optional = true } wayland-client = { version = "0.30.0-beta.14", optional = true } +wayland-sys = "0.30.0" x11-dl = { version = "2.19.1", optional = true } [target.'cfg(target_os = "windows")'.dependencies.windows-sys]