YaLTeR / wl-clipboard-rs

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

Binaries aren't packaged with newest crate (0.6.0) #25

Closed evan-chaney closed 2 years ago

evan-chaney commented 2 years ago

Version 0.4.1 successfully installs the 3 terminal utilities listed in the README, but cargo install errors out when trying to install 0.5.0 or 0.6.0.

$ cargo install wl-clipboard-rs --version 0.4.1
Updating crates.io index
Installing wl-clipboard-rs v0.4.1
...
Installed package `wl-clipboard-rs v0.4.1` (executables `wl-clip`, `wl-copy`, `wl-paste`)

vs

$ cargo install wl-clipboard-rs --version 0.6.0
    Updating crates.io index
error: there is nothing to install in `wl-clipboard-rs v0.6.0`, because it has no binaries
`cargo install` is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency in a Cargo project instead.
YaLTeR commented 2 years ago

This is because the binaries have moved to wl-clipboard-rs-tools which you should be able to cargo install just fine.