YaLTeR / wl-clipboard-rs

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

Split binaries from the main crate. (Closes: issue#15) #19

Closed 7b4software closed 2 years ago

7b4software commented 2 years ago

The binaries is put in a new crate wl-clipboard-tools.

YaLTeR commented 2 years ago

Thanks again!

piegamesde commented 2 years ago

This is really helpful. Would you mind drafting a new release for it?

YaLTeR commented 2 years ago

I guess I could, yeah

piegamesde commented 2 years ago

Good thing you didn't right away, or #23 would not have made it in. ^^ But with that merged, I now have a second reason for needing a new release.

YaLTeR commented 2 years ago

I published the new version (0.5.0). Sorry for taking so long!

sanga commented 2 years ago

Did 'wl-clipboard-tools' get released also? Or how should one install that? Neither 'cargo install wl-clipboard-rs' (no installable binaries found) nor 'wl-clipboard-tools' (could not find crate) appear to work?

YaLTeR commented 2 years ago

Hmm, something like cargo install --git https://github.com/YaLTeR/wl-clipboard-rs.git --tag v0.5.0 wl-clipboard-tools maybe?

sanga commented 2 years ago

Sure that works. Do you intend to release it though? So it could be installed via 'cargo install wl-clipboard-tools'

YaLTeR commented 2 years ago

I'm not sure, should I? I'll need to check what other crates do which are structured as library + binaries.

sanga commented 2 years ago

I think that would make sense personally. An example that does this is https://github.com/watchexec/watchexec I believe

YaLTeR commented 2 years ago

Thanks, I'll see if I can publish it as a separate crate.

sanga commented 2 years ago

Btw, I guess due to this the cmd line tools got renamed from eg wl-copy to wl_copy. That should probably be noted in the changelog?

YaLTeR commented 2 years ago

Oh, that must've been a mistake. I'll need to fix it.

YaLTeR commented 2 years ago

I renamed the binaries back to dashes and published as https://crates.io/crates/wl-clipboard-rs-tools.

sanga commented 2 years ago

Thank you sir 🙇