@cspell/dict-rust 3.0.0 → 4.0.1

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/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Cspell Rust Dictionary
1
+ # CSpell Rust Dictionary
2
2
 
3
3
  Rust dictionary for cspell.
4
4
 
package/cspell-ext.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "dictionaryDefinitions": [
9
9
  {
10
10
  "name": "rust",
11
- "path": "./rust.txt.gz",
11
+ "path": "./dict/rust.txt",
12
12
  "description": "Rust Keyword Dictionary"
13
13
  }
14
14
  ],
package/dict/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # Dict Directory
2
+
3
+ NOTE: This directory contains generated content. Please edit [src](../src/README.md) files.
package/dict/rust.txt ADDED
@@ -0,0 +1,118 @@
1
+
2
+ # cspell-tools: keep-case no-split
3
+
4
+ Add
5
+ Arc
6
+ BitAdd
7
+ BitOr
8
+ BitXor
9
+ Deref
10
+ DerefMut
11
+ Div
12
+ Err
13
+ Fn
14
+ FnMut
15
+ FnOnce
16
+ Mul
17
+ Neg
18
+ None
19
+ Not
20
+ PartialEq
21
+ PartialOrd
22
+ RefCell
23
+ Rem
24
+ Self
25
+ Shl
26
+ Shr
27
+ Some
28
+ Sub
29
+ abstract
30
+ alignof
31
+ alloc
32
+ as
33
+ assert
34
+ assert_eq
35
+ become
36
+ bool
37
+ box
38
+ break
39
+ char
40
+ clippy
41
+ cmp
42
+ const
43
+ continue
44
+ crate
45
+ deallocate
46
+ dedup
47
+ deserialize
48
+ do
49
+ drain
50
+ else
51
+ enum
52
+ eprint
53
+ eprintln
54
+ extern
55
+ f32
56
+ f64
57
+ final
58
+ fold
59
+ for
60
+ format_args
61
+ i16
62
+ i32
63
+ i64
64
+ i8
65
+ if
66
+ impl
67
+ in
68
+ include_str
69
+ isize
70
+ iter
71
+ let
72
+ loop
73
+ macro
74
+ map
75
+ match
76
+ millis
77
+ mod
78
+ move
79
+ mpsc
80
+ mut
81
+ mutex
82
+ offsetof
83
+ option_env
84
+ override
85
+ panic
86
+ println
87
+ priv
88
+ proc
89
+ pub
90
+ pure
91
+ ref
92
+ return
93
+ self
94
+ serde
95
+ sizeof
96
+ static
97
+ str
98
+ stringify
99
+ struct
100
+ super
101
+ sync
102
+ toml
103
+ toolchain
104
+ trait
105
+ typeof
106
+ u8
107
+ unsafe
108
+ unsized
109
+ unwrap
110
+ use
111
+ usize
112
+ virtual
113
+ wasm
114
+ where
115
+ while
116
+ writeln
117
+ yield
118
+ zip
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cspell/dict-rust",
3
- "version": "3.0.0",
3
+ "version": "4.0.1",
4
4
  "description": "Rust dictionary for cspell.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -11,8 +11,8 @@
11
11
  "./cspell-ext.json": "./cspell-ext.json"
12
12
  },
13
13
  "scripts": {
14
- "build": "cspell-tools compile \"rust.txt\" -o .",
15
- "test": "head -n 1000 \"rust.txt\" | cspell -v -c ./cspell-ext.json --local=* --languageId=rust stdin",
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",
16
16
  "prepublishOnly": "echo pre-publish",
17
17
  "prepare": "yarn run build"
18
18
  },
@@ -34,8 +34,8 @@
34
34
  },
35
35
  "homepage": "https://github.com/streetsidesoftware/cspell-dicts/blob/main/dictionaries/rust#readme",
36
36
  "files": [
37
- "rust.txt.gz",
37
+ "dict/rust.txt",
38
38
  "cspell-ext.json"
39
39
  ],
40
- "gitHead": "1ca7c3ef9e48ab76719fd8e7b578eaee452ddf68"
40
+ "gitHead": "a8ff83095adc9f526f48772c52195e0456f78668"
41
41
  }
package/rust.txt.gz DELETED
Binary file