/cargo-ab-lint

CLI with extra lints for rust projects

Primary LanguageRustMIT LicenseMIT

cargo ab-lint

CLI / cargo subcommand with extra lints for rust projects.

Lints

  • Workspace dependencies with redundant features already present in root.
  • Workspace dependencies with redundant default-features set.
  • Unused workspace dependencies.

Usage

Run it in a cargo project to view lints, if any.

cargo ab-lint

To apply fixes:

cargo ab-lint --fix

Install

Using cargo

Latest release

cargo install cargo-ab-lint

Latest code direct from git

cargo install --git https://github.com/alexheretic/cargo-ab-lint

Minimum supported rust compiler

Maintained with latest stable rust.