rustautogui 0.3.2

rustautogui is a GUI automation module used to control the mouse and keyboard
Documentation
1
2
3
4
5
6
7
8
9
10
// build.rs
use std::env;

fn main() {
    //required for X11 binding connection
    if env::var("CARGO_CFG_TARGET_OS").unwrap() == "linux" {
        println!("cargo:rustc-link-lib=X11");
        println!("cargo:rustc-link-lib=Xtst");
    }
}