chore: add rwh-6 feature

This commit is contained in:
Ashley Wulber 2024-03-27 23:46:24 -04:00
parent a698efe935
commit 2263426a09
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
2 changed files with 13 additions and 1 deletions

View file

@ -21,6 +21,7 @@ sctk = { package = "smithay-client-toolkit", git = "https://github.com/Smithay/c
wayland-backend = { version = "0.3.3", default_features = false, features = [
"client_system",
] }
raw-window-handle = { version = "0.6", optional = true }
[dev-dependencies]
dirs = "5.0.1"
@ -32,6 +33,7 @@ thiserror = "1.0.57"
url = "2.5.0"
[features]
default = ["dlopen", "dnd"]
default = ["dlopen", "dnd", "rwh-6"]
rwh-6 = ["raw-window-handle"]
dnd = []
dlopen = ["wayland-backend/dlopen"]