| # Chromium Rust Style Guide |
| |
| _For other languages, please see the [Chromium style |
| guides](https://chromium.googlesource.com/chromium/src/+/main/styleguide/styleguide.md)._ |
| |
| Chromium follows the public guidelines: |
| |
| * [Rust Style Guide](https://doc.rust-lang.org/style-guide/) |
| (Most code formatting conventions are enforced automatically |
| by `git cl format` as configured by `//.rustfmt.toml`.) |
| * [Rust API Guidelines](https://rust-lang.github.io/api-guidelines/) |
| |
| Chromium intends to also follow the Google Rust Style Guide |
| once it's first version is finalized and made publicly available |
| (see b/482104724). |
| In the meantime the proposed guide can be found behind a Google-internal |
| [go/rust-style](https://goto2.corp.google.com/rust-style) link. |
| |
| Chromium-specific API design guidelines and considerations can be found |
| in [`//docs/rust/api_design.md`](../../docs/rust/api_design.md). |