https://github.com/alexheretic/cargo-ab-lint
CLI with extra lints for rust projects
https://github.com/alexheretic/cargo-ab-lint
Last synced: 4 days ago
JSON representation
CLI with extra lints for rust projects
- Host: GitHub
- URL: https://github.com/alexheretic/cargo-ab-lint
- Owner: alexheretic
- License: mit
- Created: 2023-04-27T15:16:07.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-09T15:55:09.000Z (about 2 months ago)
- Last Synced: 2025-04-04T08:02:45.215Z (26 days ago)
- Language: Rust
- Homepage:
- Size: 30.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# 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 cargoLatest code direct from git
```sh
cargo install --git https://github.com/alexheretic/cargo-ab-lint
```## Minimum supported rust compiler
Maintained with [latest stable rust](https://gist.github.com/alexheretic/d1e98d8433b602e57f5d0a9637927e0c).