This is a backport of PR #8480 as merged into main (69b72e4a8ea1111503d9528f179d5338657426cc).
SUMMARY
Adds the ability to install a Cargo package from a source directory.
Fixes #6298
ISSUE TYPE
Feature Pull Request
COMPONENT NAME
cargo
ADDITIONAL INFORMATION
Although #7895 adds a basic capability to install from a source directory, this PR goes beyond that work by considering how to handle versioning, and upgrades, in addition to adding testing. It is largely compatible with the aforementioned PR.
The reason I didn't opt to work from #7895 is that it has a relatively large scope, which I suspect may have made it a little difficult to merge. Merging this scope limited work in first offers a way of getting the functionality in sooner, and reduces the scope of what's new in #7895.
This is a backport of PR #8480 as merged into main (69b72e4a8ea1111503d9528f179d5338657426cc).
SUMMARY
Adds the ability to install a Cargo package from a source directory.
Fixes #6298
ISSUE TYPE
COMPONENT NAME
cargo
ADDITIONAL INFORMATION
Although #7895 adds a basic capability to install from a source directory, this PR goes beyond that work by considering how to handle versioning, and upgrades, in addition to adding testing. It is largely compatible with the aforementioned PR.
The reason I didn't opt to work from #7895 is that it has a relatively large scope, which I suspect may have made it a little difficult to merge. Merging this scope limited work in first offers a way of getting the functionality in sooner, and reduces the scope of what's new in #7895.