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