Open cmac4603 opened 2 months ago
Thanks for raising this issue @cmac4603
I was the person who initially implemented support for Cargo workspaces (here, see the NOTES section for an example of the set up I was using to test with), and unfortunately, not being a Rust developer, I was not aware of all the features of Cargo workspaces (so my apologies for any issues you've run into).
I'll raise a ticket internally for this to be looked at. I can't give any estimate as to when, but again, thank you for making us aware of this issue 👍🏻
Thanks again.
Thanks @Integralist, I only just discovered this pattern myself late last year (workspace inheritance came out in rust 1.64 Oct 2022), but it's a great pattern as we almost exclusively use workspaces where I work :) Look forward to seeing this get implemented
Version
What happened Running
fastly compute serve
on a rust compute@edge service, which is a workspace member in a larger project, it seems workspace inheritance is not supported.[workspace.package] authors = ["Colin MacRae cmac4603@users.noreply.github.com"] edition = "2018" version = "1.1.0"
Results in this output:
Replacing with standard variable and not using the inheritance works, but now there's duplication and multiple places to change the version number for example.