# Google Rust Style Guide Kit (unofficial) > Drop-in rustfmt, clippy and cargo-deny configuration plus AGENTS.md that enforces Google's Rust style guide. 32 of 62 in-scope rules are tool-enforced; the rest are covered by agent instructions and a human review guide. Not affiliated with Google. The guide itself: https://google.github.io/styleguide/rustguide.html Adopt: download rustfmt.toml, clippy.toml, deny.toml, rust-toolchain.toml and AGENTS.md from https://daniakash.github.io/Google-Rust-Style-Guide/files/, append https://daniakash.github.io/Google-Rust-Style-Guide/files/crate-lints.toml (single crate) or https://daniakash.github.io/Google-Rust-Style-Guide/files/workspace-lints.toml (workspace root, then `[lints] workspace = true` in each member) to Cargo.toml, then run `cargo +nightly fmt`, `cargo clippy --workspace --all-targets -- -D warnings` and `cargo deny check bans`. Never edit the lint configuration to silence a warning; fix the code or add `#[expect(lint, reason = "...")]` where the guide allows an exception. ## Documentation Sets - [Abridged documentation](https://daniakash.github.io/Google-Rust-Style-Guide/llms-small.txt): a compact version of the documentation for Google Rust Style Guide Kit (unofficial), with non-essential content removed - [Complete documentation](https://daniakash.github.io/Google-Rust-Style-Guide/llms-full.txt): the full documentation for Google Rust Style Guide Kit (unofficial) - [For coding agents](https://daniakash.github.io/Google-Rust-Style-Guide/_llms-txt/for-coding-agents.txt): Everything a coding agent needs to apply the kit to a repository. - [For reviewers](https://daniakash.github.io/Google-Rust-Style-Guide/_llms-txt/for-reviewers.txt): What the tools enforce and what a human reviewer must judge. ## Notes - The complete documentation includes all content from the official documentation - The content is automatically generated from the same source as the official documentation ## Optional - [Google Rust Style Guide (original)](https://google.github.io/styleguide/rustguide.html) - [Source repository](https://github.com/DaniAkash/Google-Rust-Style-Guide)