FR: Support installation using `cargo binstall`
You'd need to either rename your release binaries to something https://github.com/cargo-bins/cargo-binstall understands by default or (probably better) add some metadata to Cargo.toml similarly to https://github.com/blacknon/hwatch/pull/135.
Fortunately, redu doesn't take that long to compile, but many rust programs do, so I hesitated before running plain cargo install.
P.S. Thank you for the nice tool!
Hello, thank you for your interest in redu!
I hadn't heard about cargo-binstall before but I'm happy to include support in Cargo.toml, looks like a fairly minor change.
Could you possibly prepare a PR with this?
Good to know you'd be interested. It is a small change.
I don't want to over-promise, but I will hopefully get around to it at some point unless somebody else beats me to it.
This seems blocked on https://github.com/cargo-bins/cargo-binstall/issues/2119. Or, you could store the files as uncompressed in releases. I would guess (but haven't checked), browsers will use compression when downloading anyway.
A more minor issue is https://github.com/cargo-bins/cargo-binstall/issues/2126. For that, it might be nice to rename ...-arm64 binaries to ...-aarch64, but I suppose it's not absolutely necessary.