rust-lang/rust-clippy
A bunch of lints to catch common mistakes and improve your Rust code. Book: https://doc.rust-lang.org/clippy/
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
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
annoyhelp you by changing the lint level by category.More to come, please file an issue if you have ideas!
The
restrictioncategory 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.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
+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
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| anthropics/skills | 192.3K | +5.2K | 75 | — |
| zed-industries/zed | 94.7K | +2.3K | 75 | 6 days ago |
| google/skills | 23.8K | +2.0K | 75 | — |
| NationalSecurityAgency/ghidra | 99.4K | +1.8K | 75 | 19 days ago |
| DuarteSantos8/openGym | 20.8K | +1.7K | 75 | 7 days ago |
| rust-lang/rust-clippy | 13.6K | — | 45 | — |
| Category median | 94.7K | +2.0K | 75 | — |
Also by rust-lang
Other repositories from this maintainer that GStars tracks
- Rust121.6K stars
rust
Empowering everyone to build reliable and efficient software.
- Rust64.6K stars
rustlings
:crab: Small exercises to get you used to reading and writing Rust code!
- Rust22.3K stars
mdBook
Create book from markdown files. Like Gitbook but implemented in Rust
- Rust18.5K stars
book
The Rust Programming Language
- Rust17.0K stars
rust-analyzer
A Rust compiler front-end for IDEs
Discover Repositories
Search across tracked repositories by name or description