Hey there,
I wanted to know the difference between using workspace.default-members in manifest file and using exclude flag in cargo package?
Thanks
Hey there,
I wanted to know the difference between using workspace.default-members in manifest file and using exclude flag in cargo package?
Thanks
If you were to ignore the same packages with --exclude
as you have non-default members, there is no difference when you run cargo package
vs. cargo package --workspace --exclude ...
. The default members are ignored with the --workspace
flag and you can only use --exclude
in conjunction with --workspace
.
This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.