rclip

A Rust library to get and set clipboard content with minimal dependencies on 3rd party binaries or libraries.

```rust extern crate rclip;

fn main() { let pid = rclip::copy(rclip::Selection::Primary, "Hello world!").unwrap();

let text = rclip::paste(rclip::Selection::Primary).unwrap();

assert_eq("Hello world!", text);

}

```

Platform support

rclip works exclusively on UNIX with the X server.

Support for other platforms is on the roadmap.