linter-rust
linter-rust copied to clipboard
Improve workspace handelling
I was having issues with this in my workspace projects so I went and fixed that
Additions
- Use
cargo locate-project --workspaceto find workspace manifiest - Add
cargo allwhich checks all workspaces and all targets - Fix issue with paths relative to the cargo manifest root not cwd
- Adds the
--all-targetsoption to theallvarients so that it checks all binaries/examples/tests/benches
Issues related to worskspaces Fixes #151
Issues related to --all-targets
Fixes #61
Fixes #111 (In terms of --all-targets checking all examples and tests)
Fixes #113