xa11y_linux/lib.rs
1//! Linux accessibility backend using AT-SPI2 over D-Bus.
2//!
3//! This backend implements the `Provider` trait using the AT-SPI2 accessibility API.
4//! Requires `at-spi2-core` package and toolkit accessibility to be enabled.
5
6#[cfg(target_os = "linux")]
7mod atspi;
8
9#[cfg(target_os = "linux")]
10pub use atspi::LinuxProvider;
11
12#[cfg(not(target_os = "linux"))]
13mod stub;
14
15#[cfg(not(target_os = "linux"))]
16pub use stub::LinuxProvider;