alexheretic / cargo-ab-lint

CLI with extra lints for rust projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

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.

About

CLI with extra lints for rust projects

License:MIT License


Languages

Language:Rust 96.2%Language:Shell 3.8%