- Breaking: Use
argh
for parsing. Now, paths of directories to scan must be passed in the last position, when running from the command line (#51). - Fix rare false positive and speed up most common case (#53).
- Added
--skip-target-dir
to not analyzetarget/
directories. - Added a message indicating of any unused dependencies were found or not.
- Support for workspace properties
- Support empty global prefix, e.g.
use ::log;
.
- Use exit code to signal if there are unused dependencies:
- 0: when no unused dependencies are found
- 1: when at least one unused (non-ignored) dependency is found
- 2: on error
- Preserve Cargo.toml format when automatically removing dependencies
- Warn if any dependency marked as ignored is actually used
Initial public version.