1 // x11-rs: Rust bindings for X11 libraries
2 // The X11 libraries are available under the MIT license.
3 // These bindings are public domain.
4 
5 #![allow(non_camel_case_types)]
6 #![allow(non_snake_case)]
7 #![allow(non_upper_case_globals)]
8 #![allow(deref_nullptr)]
9 #![allow(clippy::missing_safety_doc)]
10 
11 #[macro_use]
12 extern crate lazy_static;
13 
14 extern crate libc;
15 
16 #[macro_use]
17 mod link;
18 mod internal;
19 
20 pub mod error;
21 
22 #[macro_use]
23 pub mod xlib;
24 
25 pub mod dpms;
26 pub mod glx;
27 pub mod keysym;
28 pub mod xcursor;
29 pub mod xf86vmode;
30 pub mod xfixes;
31 pub mod xft;
32 pub mod xinerama;
33 pub mod xinput;
34 pub mod xinput2;
35 pub mod xlib_xcb;
36 pub mod xmd;
37 pub mod xmu;
38 pub mod xrecord;
39 pub mod xrender;
40 pub mod xshm;
41 pub mod xss;
42 pub mod xt;
43 pub mod xtest;
44 
45 pub mod xrandr {
46     include!("xrandr.rs");
47     include!("old_xrandr.rs");
48 }
49