
Clippy Explained How Lints Are Grouped and Configured
Clippy is the Rust linter with hundreds of lints in groups: correctness, style, perf, pedantic and more. Learn what each group means, how to configure them and how to adopt it in CI.
rustup, Clippy, rust-analyzer, debuggers and Git habits that shave minutes off every working day.

Clippy is the Rust linter with hundreds of lints in groups: correctness, style, perf, pedantic and more. Learn what each group means, how to configure them and how to adopt it in CI.

Share one version, one edition and one lint set across a workspace. See [workspace.package], [workspace.lints] and workspace = true in members.

One blocking call inside an async task can freeze a worker thread. See how it happens, how to find it and the three fixes: spawn_blocking, a thread, or async APIs.

Commit Cargo.lock for applications and, per current Cargo guidance, for libraries too. See what the file records, how cargo update changes it and what --locked does in CI.

Set up rust-analyzer in VS Code, Neovim, Helix or Zed, and tune the settings that matter: check on save with Clippy, proc macro support, workspace loading and memory.

Pin the Rust version, components and targets for a project with rust-toolchain.toml so every laptop and CI job builds the same way. Covers channel choices and the file format.

Install the Rust toolchain with rustup, check that it works, pick a channel and create your first Cargo project, with the three problems that stop most first installs.

A guide to Cargo beyond cargo build: the manifest, dependency versions, features, workspaces, profiles, MSRV, publishing and the errors you will meet along the way.

A guide to making Rust programs faster by measuring first: release builds, flamegraphs, allocation counts, benchmarks and the order to look at things.

rustup installs and switches Rust toolchains, targets and components. A guide to channels, overrides, rust-toolchain.toml, cross targets, offline use and clean upgrades.
We send one email when a new post is published. No spam.