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