[package]
name = "atspi"
version = "0.22.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"]
[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.6.0", default-features = false }
atspi-connection = { path = "../atspi-connection", version = "0.6.0", default-features = false, optional = true }
atspi-proxies = { path = "../atspi-proxies", version = "0.6.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
[dev-dependencies]
atspi = { path = "." }
zbus.workspace = true
criterion = "0.5"
futures-lite = { version = "2", default-features = false }
fastrand = "2.0"
async-std = { version = "1.12", default-features = false }
tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
tokio-stream = "0.1"