Help with usage for crates with multiple binaries
I have looked for this in Support.md and elsewheer but have not found it yet, appologies if it is already documented.
I have a crate (flowr) that is part of a workspace project (flow) that builds multiple binaries (flowrcli, flowrgui, flowrex). In the same workspace project I have a crate flowc that builds a binary flowc.
I have been able to use cargo binstall to install flowc without problems, as it can find the flowc binary asset in releases.
How can I use (i.e. command line options required) cargo binstall to install all the binaries of the flowr crate?
thanks
There are two solutions to this problem.
The first solution is to put all the binaries into a single achieve flowr-{ version }-{ target }.tar.gz, then cargo-binstall should work out-of-the-box.
The other solution is to wait for #854 to be implemented in cargo-binstall, since your release contains a disr-manifest.json
I will prioritize this issue since I think supporting this use case is important.
P.S. @andrewdavidmackenzie Your flowr is also using very old cargo-dist, we will probably only support newer version (>0.0.2) of cargo-dist.
@andrewdavidmackenzie I've opened https://github.com/andrewdavidmackenzie/flow/pull/2053 to use latest cargo-dist in flow
Thanks for the advice, work and PR. I will look at this tomorrow night.
Do you recommend I wait for you to implement #854 then?
Do you recommend I wait for you to implement #854 then?
Yes, I am working on it.