Closed nathan-at-least closed 1 year ago
Hi, thanks for the PR! I think this option makes a lot of sense, but I don't like that it first builds the whole graph with non-workspace dependencies and then removes them again. That is, it should really work more like --exclude
rather than like --hide
. I will update the implementation.
There doesn't have to be any interaction with --focus
, but I just tested the interaction with --exclude
and it works fine :)
This change adds a
--workspace-only
option that prunes the graph to only crates within a workspace. I didn't add any unit tests and only verified manually it works on one of my projects. I'm also uncertain about interaction with other cli switches like--focus
or--exclude
.