Clippy is a linting tool for Rust that helps developers catch common mistakes, spot non-idiomatic code, and improve code quality across projects.
It integrates with the standard Rust toolchain, is installed as a rustup component, and is typically run with Cargo during development and continuous integration workflows.
This is free and open source software.
Key Features
- Provides more than 800 lints for Rust code.
- Organizes lints into categories such as correctness, suspicious, style, complexity, perf, pedantic, restriction, nursery, and cargo.
- Lets developers control whether lints are allowed, warned on, or denied by lint group or individual lint.
- Can automatically apply some suggested fixes with
cargo clippy --fix. - Works with Cargo workspaces and also supports running through
clippy-driverfor non-Cargo projects. - Supports configuration through
clippy.tomlor.clippy.tomlfor selected lint behavior.
Website: github.com/rust-lang/rust-clippy
Support:
Developer: The Rust Project Contributors
License: MIT License and Apache License 2.0
Clippy is written in Rust. Learn Rust with our recommended free books and free tutorials.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.