wl-clipboard-rs
Access to the Wayland clipboard for terminal and other window-less applications.
0.9.3
12M downloads/mo
#2785 most downloaded on crates.io
YaLTeR/wl-clipboard-rs
What this package is like to depend on
Last release 3 months ago
07 May 2026
Ships fairly regularly
a new release about every 5 months
Most releases are documented
notes for 15 of 19 stable releases
Nothing withdrawn
no release was ever pulled
8 years old
19 releases · first in 2019
5 releases in the last 12 months
see the full history below
Release timeline
19 releases · Feb 2019 to May 2026Releases
latest 19-
0.9.313 Dec 2025Release notes
Open source →- Switched copying and wl-copy from tempfile to in-memory data storage.
- Added more text MIME heuristics to
utils::is_textbased on wl-clipboard. In particular, this fixes copying shell scripts and XML files. - Added
paste::get_mime_types_orderedthat preserves the ordering of MIME types offered by the copying application. This can sometimes be used to determine the "native" data type of the copied contents.wl-paste -lwas updated to show this ordered list. - Updated dependencies, notably rustix to v1 and windows-sys.
- Minimized version requirements of other dependencies.
-
0.9.214 Mar 2025Release notes
Open source →- Added support for the
ext-data-controlprotocol. It will be used instead ofwlr-data-controlwhen available. - Updated dependencies.
- Added support for the
-
0.9.106 Oct 2024Release notes
Open source →- Added man page and shell completion generation to
wl-clipboard-rs-tools. - Updated dependencies.
- Added man page and shell completion generation to
-
0.9.019 Jun 2024Release notes
Open source →- Breaking Removed
utils::copy_data. It forked into a/usr/bin/env catfor copying. All internal uses of the function have been changed to simply usestd::io::copyinstead. - Replaced
nixwithrustix, followingwayland-rs. - Replaced the deprecated
structoptwithclapitself. - Updated dependencies.
- Breaking Removed
-
0.8.207 May 2026Nothing published for this version
-
0.8.107 Mar 2024 -
0.8.003 Oct 2023Release notes
Open source →- Added
copy::Options::omit_additional_text_mime_typesto disable wl-clipboard-rs offering several known text MIME types when a text MIME type is copied. - Updated
wayland-rsto 0.31.- Breaking This changed the error types slightly. However, most uses of wl-clipboard-rs should be completely unaffected.
- Updated other dependencies.
- Added
-
0.7.107 May 2026Nothing published for this version
-
0.7.024 Sep 2022Release notes
Open source →- Fixed
paste::get_contents()leaving behind zombiecatprocesses. - Changed debug logging from
info!totrace!. - Bumped
nixdependency to0.24to match that of the wayland-rs crates. - Replaced
derive_morewiththiserror.
- Fixed
-
0.6.107 May 2026Nothing published for this version
-
0.6.020 Mar 2022Release notes
Open source →- Fixed
wl-copyandwl-cliphangs when followed by a pipe (e.g.wl-copy hello | cat). - Removed the deprecated
failuredependency from both the library and the tools. The standardErrortrait is now used. - Replaced underscores back with dashes in the tool binary names.
- Renamed
wl-clipboard-toolssubcrate towl-clipboard-rs-tools.
- Fixed
-
0.5.013 Mar 2022Release notes
Open source →- Split binaries from the main crate
wl-clipboard-rsinto a new sub-cratewl-clipboard-tools. This removes a few dependencies that were only used in the binaries (likestructopt).- This change also unintentionally replaced dashes with underscores in tool binary names.
- Replaced
tree_magic(which went unmaintained) withtree_magic_mini. - Changed the
forkcode which runs during the copy operation to exec/usr/bin/env catinstead of justcat. This was done to remove a non-async-signal-safe call in the child process. - Updated dependencies.
- Split binaries from the main crate
-
0.4.207 May 2026Nothing published for this version
-
0.4.101 Sep 2020 -
0.4.013 Dec 2019Release notes
Open source →- Breaking Copying in non-foreground mode no longer forks (which was unsafe in multi-threaded programs). Instead, it spawns a background thread to serve copy requests.
- Added
copy::prepare_copy()andcopy::prepare_copy_multi()(and respective functions incopy::Options) to accommodate workflows which depended on the forking behavior, such aswl-copy. Seewl-copyfor example usage. - Breaking Changed
copy::Sourceandcopy::Seatto own the contained data rather than borrow it. As a consequence, those types, as well ascopy::MimeSourceandcopy::Options, have dropped their lifetime generic parameter.
-
0.3.127 Nov 2019Release notes
Open source →- Reduced the
wl_seatversion requirement from 6 to 2. - Added
copy::copy_multi()for offering multiple data sources under multiple different MIME types.
- Reduced the
-
0.3.004 Apr 2019Release notes
Open source →- Breaking Moved
ClipboardTypeintocopy::andpaste::. - Breaking Renamed
utils::Errorintoutils::CopyDataError. - Added
copy::ClipboardType::Bothfor operating both clipboards at once. - Added
utils::is_primary_selection_supported(). - [wl-copy]: added
--regular, which, when set together with--primary, makeswl-copyoperate on both clipboards at once.
- Breaking Moved
-
0.2.017 Feb 2019Release notes
Open source →- Breaking Changed
copy::Options::paste_oncetoserve_requestswhich allows to specify the number of paste requests to serve. - Marked
copy::Seatandcopy::OptionsasCopy. - Updated
data-control, it's now merged intowlr-protocolsso no further changes without a version bump. - [wl-copy, wl-paste]: replaced
env_loggerwithstderrlogwhich made the binaries much smaller. - Implemented
wl-clip, a Wayland version ofxclip.
- Breaking Changed
-
0.1.012 Feb 2019