-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve error messages and handling of cargo manifest #38
Conversation
…ated) This also gives us some workspace support (you need to choose a target from workspace) Improves #8 but only by not crashing on workspaces. We still show one target. The current assumption of one lib max fails when running in a workspace. Since the current code does not allow to select a specific lib target Also there are more target kinds than bin and lib that might be interesting to parse. We should revist the user experience here or always show the whole workspace.
Cargo versions might not generated the same order of targets or similar issues leading to hard to fix test failures
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is going to mess up my long running branch but I'm willing to rebase/redo. I think overall this is a good patch.
Thanks for removing the system call from the unit tests. Also thanks for removing muhuk
directory from the manifests. It was bothering me a bit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work!
Fixed errror messages when not in cargo project to fix Fails to parse JSON when it's not a rust project #37
Refactor to use cargo metadata instead of cargo read-manifest (deprecated)
This also gives us some workspace support (you need to choose a target from workspace)
Improves Support for cargo workspaces #8 but only by not crashing on workspaces. We still show one target.
The current assumption of one lib max fails when running in a workspace.
Since the current code does not allow to select a specific lib target
Also there are more target kinds than bin and lib that might be interesting to parse.
We should revist the user experience here or always show the whole workspace.