1[package]
2name = "accesskit_winit"
3version = "0.18.7"
4authors.workspace = true
5license = "Apache-2.0"
6description = "AccessKit UI accessibility infrastructure: winit adapter"
7categories.workspace = true
8keywords = ["gui", "ui", "accessibility", "winit"]
9repository.workspace = true
10readme = "README.md"
11edition.workspace = true
12rust-version.workspace = true
13
14[package.metadata.docs.rs]
15features = ["winit/rwh_06", "winit/x11", "winit/wayland"]
16
17[features]
18default = ["accesskit_unix", "async-io", "rwh_06"]
19rwh_05 = ["winit/rwh_05", "dep:rwh_05"]
20rwh_06 = ["winit/rwh_06", "dep:rwh_06"]
21async-io = ["accesskit_unix/async-io"]
22tokio = ["accesskit_unix/tokio"]
23
24[dependencies]
25accesskit = { version = "0.12.3", path = "../../common" }
26winit = { version = "0.29", default-features = false }
27rwh_05 = { package = "raw-window-handle", version = "0.5", features = ["std"], optional = true }
28rwh_06 = { package = "raw-window-handle", version = "0.6", features = ["std"], optional = true }
29
30[target.'cfg(target_os = "windows")'.dependencies]
31accesskit_windows = { version = "0.16.4", path = "../windows" }
32
33[target.'cfg(target_os = "macos")'.dependencies]
34accesskit_macos = { version = "0.11.1", path = "../macos" }
35
36[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies]
37accesskit_unix = { version = "0.7.5", path = "../unix", optional = true, default-features = false }
38
39[dev-dependencies.winit]
40version = "0.29"
41default-features = false
42features = ["x11", "wayland", "wayland-dlopen", "wayland-csd-adwaita"]
43