# @cspell/dict-rust

> Rust dictionary for cspell.

Latest version **4.1.2** (published 2026-02-01) · MIT license · 0 weekly downloads

## Install

```sh
npm install @cspell/dict-rust
pnpm add @cspell/dict-rust
yarn add @cspell/dict-rust
bun add @cspell/dict-rust
```

## Health

**Score 60/100 (C)** — status: stable.

Positive: esm support; no vulnerabilities; has provenance; high maintenance score.

Warnings: low downloads; no types.

## Facts

| | |
|---|---|
| Version | 4.1.2 |
| Published | 2026-02-01 |
| First published | 2020-11-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 7.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 289 |
| Author | Street Side Software |
| Maintainers | jason-dent |
| Keywords | cspell, rust, Rust, dictionary, spelling |

## Links

- npm: https://www.npmjs.com/package/@cspell/dict-rust
- Repository: https://github.com/streetsidesoftware/cspell-dicts
- Homepage: https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/rust#readme
- Issues: https://github.com/streetsidesoftware/cspell-dicts/issues
- npm.io page: https://npm.io/package/@cspell/dict-rust

## Recent versions

- 4.1.2 (latest) — 2026-02-01
- 4.1.1 — 2026-01-09
- 4.1.0 — 2025-12-20
- 4.0.12 — 2025-07-09
- 4.0.11 — 2024-12-30
- 4.0.10 — 2024-11-12
- 4.0.9 — 2024-10-11
- 4.0.6 — 2024-10-05
- 4.0.5 — 2024-07-25
- 4.0.4 — 2024-06-11
- 4.0.3 — 2024-05-02
- 4.0.2 — 2024-01-10
- 4.0.1 — 2023-02-22
- 4.0.0 — 2022-12-30
- 3.0.0 — 2022-10-10
- … 5 more at https://npm.io/package/@cspell/dict-rust/versions

## README

# CSpell Rust Dictionary

Rust dictionary for cspell.

This is a pre-built dictionary for use with cspell.

<!--- @@inject: ../../static/requirements.md --->

## Requirements

| Tool                                                                                                                                 | Version |
| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
| [cspell](https://github.com/streetsidesoftware/cspell)                                                                               | `>= 8`  |
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 4`  |

<!--- @@inject-end: ../../static/requirements.md --->

<!--- @@inject: ./static/install.md --->

## Local Installation

**This package is bundled with CSpell.**

## Configuration

<details>
<summary>VSCode Settings</summary>

Add the following to your VSCode settings:

**`.vscode/settings.json`**

```jsonc
{
  "cSpell.dictionaries": ["rust", "rust-crates"],
}
```

</details>

<details>
<summary>CSpell Settings <code>cspell.json</code></summary>

**`cspell.json`**

```jsonc
{
  "dictionaries": ["rust", "rust-crates"],
}
```

</details>

<details>
<summary>CSpell Settings <code>cspell.config.yaml</code></summary>

**`cspell.config.yaml`**

```yaml
dictionaries:
  - rust
  - rust-crates
```

</details>

## Local Installation using CDN

> **NOTE:** This package is bundled with CSpell.

## Dictionary Information

| Name          | Enabled | Description                   |
| ------------- | ------- | ----------------------------- |
| `rust`        |         | Rust Keyword Dictionary       |
| `rust-crates` |         | Common Rust Crates Dictionary |

## Language Settings

| Name          | Locale | File Type |
| ------------- | ------ | --------- |
| `rust`        | `*`    | `rust`    |
| `rust-crates` | `*`    | `rust`    |

<!--- @@inject-end: ./static/install.md --->

<!--- @@inject: ../../static/contributing.md --->

## Contributing

Please help correct any mistakes in the dictionaries.

See: [Contributing](https://github.com/streetsidesoftware/cspell-dicts#contributing)

Special thanks to all of our amazing contributors!

### Dictionary Development

See: [How to Create a New Dictionary](https://github.com/streetsidesoftware/cspell-dicts#how-to-create-a-new-dictionary)

<!--- @@inject-end: ../../static/contributing.md --->

## License

MIT

> Some packages may have other licenses included.

Keywords are taken from the repository

[rust-lang/gedit-config](https://github.com/rust-lang/gedit-config)

<!--- cspell:ignore gedit-config --->

<!--- @@inject: ../../static/footer.md --->

<br/>

---

<p align="center">
Brought to you by <a href="https://streetsidesoftware.com" title="Street Side Software">
<img width="16" alt="Street Side Software Logo" src="https://i.imgur.com/CyduuVY.png" /> Street Side Software
</a>
</p>

<!--- @@inject-end: ../../static/footer.md --->

---
_Source: https://npm.io/package/@cspell/dict-rust · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
