111 lines
2.4 KiB
TOML
111 lines
2.4 KiB
TOML
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
|
|
#
|
|
# When uploading crates to the registry Cargo will automatically
|
|
# "normalize" Cargo.toml files for maximal compatibility
|
|
# with all versions of Cargo and also rewrite `path` dependencies
|
|
# to registry (e.g., crates.io) dependencies.
|
|
#
|
|
# If you are reading this file be aware that the original Cargo.toml
|
|
# will likely look very different (and much more reasonable).
|
|
# See Cargo.toml.orig for the original contents.
|
|
|
|
[package]
|
|
edition = "2021"
|
|
rust-version = "1.77.2"
|
|
name = "accesskit_winit"
|
|
version = "0.25.0"
|
|
authors = ["The AccessKit contributors"]
|
|
build = false
|
|
autolib = false
|
|
autobins = false
|
|
autoexamples = false
|
|
autotests = false
|
|
autobenches = false
|
|
description = "AccessKit UI accessibility infrastructure: winit adapter"
|
|
readme = "README.md"
|
|
keywords = [
|
|
"gui",
|
|
"ui",
|
|
"accessibility",
|
|
"winit",
|
|
]
|
|
categories = ["gui"]
|
|
license = "Apache-2.0"
|
|
repository = "https://github.com/AccessKit/accesskit"
|
|
|
|
[features]
|
|
async-io = ["accesskit_unix/async-io"]
|
|
default = [
|
|
"accesskit_unix",
|
|
"async-io",
|
|
"rwh_06",
|
|
"winit/x11",
|
|
"winit/wayland",
|
|
]
|
|
rwh_05 = [
|
|
"winit/rwh_05",
|
|
"dep:rwh_05",
|
|
]
|
|
rwh_06 = [
|
|
"winit/rwh_06",
|
|
"dep:rwh_06",
|
|
]
|
|
tokio = ["accesskit_unix/tokio"]
|
|
|
|
[lib]
|
|
name = "accesskit_winit"
|
|
path = "src/lib.rs"
|
|
|
|
[[example]]
|
|
name = "mixed_handlers"
|
|
path = "examples/mixed_handlers.rs"
|
|
|
|
[[example]]
|
|
name = "simple"
|
|
path = "examples/simple.rs"
|
|
|
|
[dependencies.accesskit]
|
|
version = "0.18.0"
|
|
|
|
[dependencies.rwh_05]
|
|
version = "0.5"
|
|
features = ["std"]
|
|
optional = true
|
|
package = "raw-window-handle"
|
|
|
|
[dependencies.rwh_06]
|
|
version = "0.6.2"
|
|
features = ["std"]
|
|
optional = true
|
|
package = "raw-window-handle"
|
|
|
|
[dependencies.winit]
|
|
version = "0.30.5"
|
|
default-features = false
|
|
|
|
[dev-dependencies.winit]
|
|
version = "0.30.5"
|
|
features = [
|
|
"x11",
|
|
"wayland",
|
|
"wayland-dlopen",
|
|
"wayland-csd-adwaita",
|
|
]
|
|
default-features = false
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd", target_os = "openbsd", target_os = "netbsd"))'.dependencies.accesskit_unix]
|
|
version = "0.14.0"
|
|
optional = true
|
|
default-features = false
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies.accesskit_android]
|
|
version = "0.1.0"
|
|
features = ["embedded-dex"]
|
|
optional = true
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies.accesskit_macos]
|
|
version = "0.19.0"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies.accesskit_windows]
|
|
version = "0.25.0"
|