rust-lang

    rust-lang/rust-clippy

    A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/

    backend
    lint
    rust
    Rust
    Apache-2.0
    13.6K stars
    2.2K forks
    75 GitHub watchers
    Updated Nov 7, 2026
    View on GitHub

    Build with Backblaze B2

    SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.

    Explore Backblaze Labs

    Loading star history...

    Where it stands

    Rank, growth pace and release cadence relative to everything GStars tracks.

    The project lists 388 contributors on GitHub.

    Peaked at #38 in the weekly ranking the week of Aug 2, its best in the past year.

    Use Cases & Benefits

    • Provides a comprehensive collection of lints to detect common mistakes and improve Rust code quality.
    • Enables customizable lint levels and categories to tailor code analysis and enforce coding standards effectively.
    • Use for integrating automated code quality checks in Rust projects via the cargo clippy subcommand.
    • Use for enforcing strict coding styles and preventing unsafe patterns in continuous integration pipelines.
    • Ideal for Rust developers seeking to identify performance, complexity, and style issues during development.

    Should you depend on it?

    License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.

    License

    Apache 2.0

    Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.

    Community files

    • README: present
    • Contributing guide: present
    • Code of conduct: present

    Watch-outs

    • No GitHub releases; pin a commit or tag instead of a release.

    General guidance from repository metadata, not legal advice. How we score

    From the README

    A collection of lints to catch common mistakes and improve your Rust code.

    Lints are divided into categories, each with a default lint level. You can choose how much Clippy is supposed to annoy help you by changing the lint level by category.

    More to come, please file an issue if you have ideas!

    The restriction category should, emphatically, not be enabled as a whole. The contained lints may lint against perfectly reasonable code, may not have an alternative suggestion, and may contradict any other lints (including other categories). Lints should be considered on a case-by-case basis before enabling.

    Below are instructions on how to use Clippy as a cargo subcommand, in projects that do not use cargo, or in Travis CI.

    One way to use Clippy is by installing Clippy through rustup as a cargo subcommand.

    Excerpt from the rust-lang/rust-clippy README on GitHub (Apache-2.0 license). © its authors.Read the full README on GitHub

    Daily snapshots

    Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots

    Sep 15: +30

    +179 stars over 82 days across 8 snapshot days; best day +30 on Sep 15.

    Forks

    2.2K+122

    Open issues

    2.9K+22

    Compared with peers in Backend

    Fastest-growing repositories GStars tracks in this cohort for the week of Nov 8, by 7-day star growth

    rust-lang/rust-clippy compared with Backend repositories by stars, 7-day star growth, health score and last release
    RepositoryStars+7dHealthLast release
    anthropics/skills192.3K+5.2K75—
    zed-industries/zed94.7K+2.3K756 days ago
    google/skills23.8K+2.0K75—
    NationalSecurityAgency/ghidra99.4K+1.8K7519 days ago
    DuarteSantos8/openGym20.8K+1.7K757 days ago
    rust-lang/rust-clippy13.6K—45—
    Category median94.7K+2.0K75—

    Also by rust-lang

    Other repositories from this maintainer that GStars tracks

    Discover Repositories

    Search across tracked repositories by name or description