docs.rs failed to build pasteboard-0.1.2
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
pasteboard
This crate provides both a CLI and Rust bindings for interacting with the macOS pasteboard.
CLI
At the command-line, pasteboard
introduces a pb
command which can be used like:
# Copy/paste string
# Copy image/sound
Rust bindings
From Rust, pasteboard
exposes a Pasteboard
enum with copy
and paste
methods which can be used like:
use Pasteboard;
Notes
The pb
command is able to copy files as strings, images, and sounds. However, it can only paste as strings currently, but more coverage is planned in future releases.