1[package]
2name = "atspi"
3version = "0.22.0"
4authors.workspace = true
5edition = "2021"
6description = "Pure-Rust, zbus-based AT-SPI2 protocol implementation."
7license = "Apache-2.0 OR MIT"
8readme = "../README.md"
9repository = "https://github.com/odilia-app/atspi"
10homepage = "https://github.com/odilia-app/atspi"
11keywords = ["screen-reader", "accessibility", "a11y", "tts", "linux"]
12categories = ["accessibility", "api-bindings"]
13rust-version.workspace = true
14include = ["src/**/*", "LICENSE-*", "README.md"]
15
16# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
17
18[features]
19default = ["async-std"]
20async-std = ["proxies-async-std", "connection-async-std"]
21tokio = ["proxies-tokio", "connection-tokio"]
22
23proxies = []
24proxies-async-std = ["atspi-proxies/async-std", "proxies"]
25proxies-tokio = ["atspi-proxies/tokio", "proxies"]
26connection = []
27connection-async-std = ["atspi-connection/async-std", "connection"]
28connection-tokio = ["atspi-connection/tokio", "connection"]
29tracing = ["atspi-connection/tracing"]
30
31[dependencies]
32atspi-common = { path = "../atspi-common", version = "0.6.0", default-features = false }
33atspi-connection = { path = "../atspi-connection", version = "0.6.0", default-features = false, optional = true }
34atspi-proxies = { path = "../atspi-proxies", version = "0.6.0", default-features = false, optional = true }
35zbus = { workspace = true, default-features = false, optional = true }
36
37[[bench]]
38name = "event_parsing"
39path = "./benches/event_parsing.rs"
40harness = false
41
42[[bench]]
43name = "event_parsing_100k"
44path = "./benches/event_parsing_100k.rs"
45harness = false
46
47[dev-dependencies]
48atspi = { path = "." }
49zbus.workspace = true
50criterion = "0.5"
51futures-lite = { version = "2", default-features = false }
52fastrand = "2.0"
53async-std = { version = "1.12", default-features = false }
54tokio = { version = "1", default-features = false, features = ["macros", "rt-multi-thread"] }
55tokio-stream = "0.1"
56