Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@cspell/dict-rust

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cspell/dict-rust - npm Package Compare versions

Comparing version
4.0.12
to
4.1.0
dict/crates.txt.gz

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

+7
-25

@@ -1,2 +0,1 @@

// cSpell Settings
{

@@ -7,38 +6,21 @@ "id": "rust",

"readonly": true,
// List of dictionary files to add to the global list of dictionaries
"dictionaryDefinitions": [
{
"name": "rust",
"path": "./dict/rust.txt",
"path": "./dict/rust.txt.gz",
"description": "Rust Keyword Dictionary"
},
{
"name": "rust-crates",
"path": "./dict/crates.txt.gz",
"description": "Common Rust Crates Dictionary"
}
],
// Dictionaries to always be used.
// Generally left empty
"dictionaries": [],
// Language Rules to apply to matching files.
// Files are matched on `languageId` and `locale`
"languageSettings": [
{
// VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex
// * will match against any file type.
"languageId": "rust",
// Language locale. i.e. en-US, de-AT, or ru. * will match all locals.
// Multiple locals can be specified like: "en, en-US" to match both English and English US.
"locale": "*",
// By default the whole text of a file is included for spell checking
// Adding patterns to the "includeRegExpList" to only include matching patterns
"includeRegExpList": [],
// To exclude patterns, add them to "ignoreRegExpList"
"ignoreRegExpList": [],
// regex patterns than can be used with ignoreRegExpList or includeRegExpList
// Example: "pattern": [{ "name": "mdash", "pattern": "—" }]
// This could be included in "ignoreRegExpList": ["mdash"]
"patterns": [],
// List of dictionaries to enable by name in `dictionaryDefinitions`
"dictionaries": ["rust"],
// Dictionary definitions can also be supplied here. They are only used iff "languageId" and "locale" match.
"dictionaryDefinitions": []
"dictionaries": ["rust", "rust-crates"]
}
]
}
{
"name": "@cspell/dict-rust",
"version": "4.0.12",
"version": "4.1.0",
"description": "Rust dictionary for cspell.",

@@ -15,4 +15,4 @@ "publishConfig": {

"scripts": {
"build": "cspell-tools-cli compile --keep-raw-case src/rust.txt --no-compress -o ./dict",
"test": "shx head -n 1000 src/rust.txt | cspell -c ./cspell-ext.json --locale=* --languageId=rust stdin",
"build": "cspell-tools-cli build",
"test": "cspell samples",
"prepublishOnly": "echo pre-publish",

@@ -43,6 +43,7 @@ "prepare:dictionary": "pnpm run build"

"files": [
"dict/rust.txt",
"dict/rust.txt.gz",
"dict/crates.txt.gz",
"cspell-ext.json"
],
"gitHead": "30c5c53b8e28152fc1d8a6cf0c872b068a64221a"
"gitHead": "cb65800c6de2a5b0f05996cf68aab96fc71f45fa"
}

@@ -35,3 +35,3 @@ # CSpell Rust Dictionary

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

@@ -43,3 +43,3 @@ ```

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

@@ -50,3 +50,3 @@ **`cspell.json`**

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

@@ -58,3 +58,3 @@ ```

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

@@ -66,2 +66,3 @@ **`cspell.config.yaml`**

- rust
- rust-crates
```

@@ -71,5 +72,20 @@

> [!NOTE]
> **This package is bundled with CSpell.**
## 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 --->

@@ -76,0 +92,0 @@

# cspell-tools: keep-case no-split
Add
Arc
BitAnd
BitOr
BitXor
Deref
DerefMut
Div
Err
Fn
FnMut
FnOnce
Mul
Neg
None
Not
PartialEq
PartialOrd
RefCell
Rem
Rustacean
Self
Shl
Shr
Some
Sub
abstract
alignof
alloc
as
assert
assert_eq
become
bindgen
bool
box
break
char
clippy
cmp
const
continue
crate
deallocate
dedup
deserialize
do
drain
else
enum
eprint
eprintln
extern
f32
f64
final
fold
for
format_args
i16
i32
i64
i8
if
impl
in
include_str
isize
iter
let
loop
macro
map
match
millis
mod
move
mpsc
msrv
mut
mutex
offsetof
option_env
override
panic
powf
powi
println
priv
proc
pub
pure
ref
return
rustdoc
rustfmt
rustup
self
serde
sizeof
static
str
stringify
struct
super
sync
tokio
toml
toolchain
trait
typeof
u8
unoptimized
unsafe
unsized
unwrap
use
usize
virtual
wasm
where
while
writeln
yield
zip