Add wayland-dlopen feature, like winit
This commit is contained in:
parent
d95919c32e
commit
f193f10ec0
1 changed files with 3 additions and 1 deletions
|
|
@ -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]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue