@cspell/dict-rust 4.0.1 → 4.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cspell-ext.json CHANGED
@@ -16,13 +16,13 @@
16
16
  // Generally left empty
17
17
  "dictionaries": [],
18
18
  // Language Rules to apply to matching files.
19
- // Files are matched on `languageId` and `local`
19
+ // Files are matched on `languageId` and `locale`
20
20
  "languageSettings": [
21
21
  {
22
22
  // VSCode languageId. i.e. typescript, java, go, cpp, javascript, markdown, latex
23
23
  // * will match against any file type.
24
24
  "languageId": "rust",
25
- // Language local. i.e. en-US, de-AT, or ru. * will match all locals.
25
+ // Language locale. i.e. en-US, de-AT, or ru. * will match all locals.
26
26
  // Multiple locals can be specified like: "en, en-US" to match both English and English US.
27
27
  "locale": "*",
28
28
  // By default the whole text of a file is included for spell checking
package/dict/rust.txt CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  Add
5
5
  Arc
6
- BitAdd
6
+ BitAnd
7
7
  BitOr
8
8
  BitXor
9
9
  Deref
@@ -77,12 +77,15 @@ millis
77
77
  mod
78
78
  move
79
79
  mpsc
80
+ msrv
80
81
  mut
81
82
  mutex
82
83
  offsetof
83
84
  option_env
84
85
  override
85
86
  panic
87
+ powf
88
+ powi
86
89
  println
87
90
  priv
88
91
  proc
@@ -90,6 +93,7 @@ pub
90
93
  pure
91
94
  ref
92
95
  return
96
+ rustfmt
93
97
  self
94
98
  serde
95
99
  sizeof
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/dict-rust",
3
- "version": "4.0.1",
3
+ "version": "4.0.3",
4
4
  "description": "Rust dictionary for cspell.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -12,13 +12,14 @@
12
12
  },
13
13
  "scripts": {
14
14
  "build": "cspell-tools-cli compile --keep-raw-case src/rust.txt --no-compress -o ./dict",
15
- "test": "head -n 1000 src/rust.txt | cspell -v -c ./cspell-ext.json --local=* --languageId=rust stdin",
15
+ "test": "shx head -n 1000 src/rust.txt | cspell -c ./cspell-ext.json --locale=* --languageId=rust stdin",
16
16
  "prepublishOnly": "echo pre-publish",
17
- "prepare": "yarn run build"
17
+ "prepare:dictionary": "pnpm run build"
18
18
  },
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "git+https://github.com/streetsidesoftware/cspell-dicts.git"
21
+ "url": "https://github.com/streetsidesoftware/cspell-dict.git",
22
+ "directory": "dictionaries/rust"
22
23
  },
23
24
  "keywords": [
24
25
  "cspell",
@@ -27,7 +28,10 @@
27
28
  "dictionary",
28
29
  "spelling"
29
30
  ],
30
- "author": "Alexander Andreev",
31
+ "author": "Street Side Software <support@streetsidesoftware.nl>",
32
+ "contributors": [
33
+ "Alexander Andreev"
34
+ ],
31
35
  "license": "MIT",
32
36
  "bugs": {
33
37
  "url": "https://github.com/streetsidesoftware/cspell-dicts/issues"
@@ -37,5 +41,5 @@
37
41
  "dict/rust.txt",
38
42
  "cspell-ext.json"
39
43
  ],
40
- "gitHead": "a8ff83095adc9f526f48772c52195e0456f78668"
44
+ "gitHead": "473c4461fc71723254f162feb4480684d1f53d96"
41
45
  }
package/dict/README.md DELETED
@@ -1,3 +0,0 @@
1
- # Dict Directory
2
-
3
- NOTE: This directory contains generated content. Please edit [src](../src/README.md) files.