wl-client 0.2.0

Safe client-side libwayland wrapper
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
use cfg_if::cfg_if;

#[cfg(test)]
#[macro_use]
mod tests;

cfg_if! {
    if #[cfg(target_os = "linux")] {
        pub use linux::Eventfd;

        mod linux;
    } else {
        pub use fallback::Eventfd;
    }
}

#[cfg_attr(all(target_os = "linux", not(test)), expect(dead_code))]
mod fallback;