YaLTeR / wl-clipboard-rs

A safe Rust crate for working with the Wayland clipboard.
Apache License 2.0
255 stars 17 forks source link

RFE: Update dependencies #14

Closed ignatenkobrain closed 4 years ago

ignatenkobrain commented 4 years ago

Hello,

I'm now packaging wl-clipboard-rs because I asked to switch to cli-clipboard in gitui which works great on Wayland (thanks @YaLTeR for creating this library) but one thing that is somewhat blocking me is outdated dependencies here.

If you could update those and release new version of a crate, would be very much appreciated.

YaLTeR commented 4 years ago

Hi, thanks for the issue.

nix is 0.16, but 0.18 is available

Probably as easy as bumping the version number.

wayland-* are 0.23, but 0.27 are available

This one is a big update, thankfully I've had most of it done in a local branch for a while, just need to get around to finishing that work.

ignatenkobrain commented 4 years ago

This one is a big update, thankfully I've had most of it done in a local branch for a while, just need to get around to finishing that work.

Ohh, great to hear!

ignatenkobrain commented 4 years ago

@YaLTeR Also you probably want to drop failure in favor of anyhow and exitfailure completely because in the main() you can return Error for quite some time in Rust and anyhow will make it nice.

YaLTeR commented 4 years ago

Yeah, good idea.

YaLTeR commented 4 years ago

I updated nix and wayland-rs on the master branch, do you mind giving it a test?

ignatenkobrain commented 4 years ago

@YaLTeR sure! I've tried gitui with cli-clipboard and overrode wl-clipboard-rs dependency to use git master from this repo and it compiles and works on Fedora 34 with GNOME under Wayland. I'm able to copy text into the buffer :)

YaLTeR commented 4 years ago

works on Fedora 34 with GNOME under Wayland

Uh, as far as I know Mutter doesn't implement wlr-data-control. :)

YaLTeR commented 4 years ago

I've published v0.4.1 with updated dependencies. Replacement of failure with thiserror will happen with a version bump later™.