[package] name = "atspi" version = "0.24.0" authors.workspace = true edition = "2021" description = "Pure-Rust, zbus-based AT-SPI2 protocol implementation." license = "Apache-2.0 OR MIT" readme = "../README.md" repository = "https://github.com/odilia-app/atspi" homepage = "https://github.com/odilia-app/atspi" keywords = ["screen-reader", "accessibility", "a11y", "tts", "linux"] categories = ["accessibility", "api-bindings"] rust-version.workspace = true include = ["src/**/*", "LICENSE-*", "README.md"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [features] default = ["async-std"] async-std = ["proxies-async-std", "connection-async-std"] tokio = ["proxies-tokio", "connection-tokio"] proxies = [] proxies-async-std = ["atspi-proxies/async-std", "proxies"] proxies-tokio = ["atspi-proxies/tokio", "proxies"] connection = [] connection-async-std = ["atspi-connection/async-std", "connection"] connection-tokio = ["atspi-connection/tokio", "connection"] tracing = ["atspi-connection/tracing"] [dependencies] atspi-common = { path = "../atspi-common", version = "0.8.0", default-features = false } atspi-connection = { path = "../atspi-connection", version = "0.8.0", default-features = false, optional = true } atspi-proxies = { path = "../atspi-proxies", version = "0.8.0", default-features = false, optional = true } zbus = { workspace = true, default-features = false, optional = true } [[bench]] name = "event_parsing" path = "./benches/event_parsing.rs" harness = false [[bench]] name = "event_parsing_100k" path = "./benches/event_parsing_100k.rs" harness = false [[example]] name = "tree" path = "./examples/bus-tree.rs" required-features = ["proxies-tokio", "zbus"] [[example]] name = "focused-tokio" path = "./examples/focused-tokio.rs" required-features = ["connection-tokio"] [[example]] name = "focused-async-std" path = "./examples/focused-async-std.rs" required-features = ["connection-async-std"] [dev-dependencies] async-std = { version = "1.12", default-features = false } atspi = { path = "." } criterion = "0.5" display_tree = "1.1" fastrand = "2.0" futures = { version = "0.3", default-features = false } futures-lite = { version = "2", default-features = false } tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] } tokio-stream = "0.1" zbus.workspace = true