copypasta-ext 0.4.4

A clipboard library providing useful extensions for copypasta.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    #[cfg(all(
        feature = "x11-bin",
        unix,
        not(any(target_os = "macos", target_os = "android", target_os = "emscripten"))
    ))]
    {
        // xclip and xsel paths are inserted at compile time
        println!("cargo:rerun-if-env-changed=XCLIP_PATH");
        println!("cargo:rerun-if-env-changed=XSEL_PATH");
    }
}