Skip to content

Commit f193f10

Browse files
ids1024jackpot51
authored andcommitted
Add wayland-dlopen feature, like winit
1 parent d95919c commit f193f10

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Cargo.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,9 @@ categories = ["game-development", "graphics", "gui", "multimedia", "rendering"]
1212
exclude = ["examples"]
1313

1414
[features]
15-
default = ["x11", "wayland"]
15+
default = ["x11", "wayland", "wayland-dlopen"]
1616
wayland = ["wayland-backend", "wayland-client", "nix"]
17+
wayland-dlopen = ["wayland-sys/dlopen"]
1718
x11 = ["x11-dl"]
1819

1920
[dependencies]
@@ -24,6 +25,7 @@ raw-window-handle = "0.5.0"
2425
nix = { version = "0.26.1", optional = true }
2526
wayland-backend = { version = "0.1.0-beta.14", features = ["client_system"], optional = true }
2627
wayland-client = { version = "0.30.0-beta.14", optional = true }
28+
wayland-sys = "0.30.0"
2729
x11-dl = { version = "2.19.1", optional = true }
2830

2931
[target.'cfg(target_os = "windows")'.dependencies.windows-sys]

0 commit comments

Comments
 (0)