@cspell/dict-rust 2.0.1 → 4.0.0
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 +7 -0
- package/cspell-ext.json +1 -1
- package/dict/README.md +3 -0
- package/dict/rust.txt +118 -0
- package/package.json +5 -5
- package/rust.txt.gz +0 -0
package/README.md
CHANGED
|
@@ -4,6 +4,13 @@ Rust dictionary for cspell.
|
|
|
4
4
|
|
|
5
5
|
This is a pre-built dictionary for use with cspell.
|
|
6
6
|
|
|
7
|
+
## Requirements
|
|
8
|
+
|
|
9
|
+
| Tool | Version |
|
|
10
|
+
| ------------------------------------------------------------------------------------------------------------------------------------ | ------- |
|
|
11
|
+
| [cspell](https://github.com/streetsidesoftware/cspell) | `>= 6` |
|
|
12
|
+
| [Code Spell Checker - Visual Studio Code](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker) | `>= 2` |
|
|
13
|
+
|
|
7
14
|
## Installation
|
|
8
15
|
|
|
9
16
|
Global Install and add to cspell global settings.
|
package/cspell-ext.json
CHANGED
package/dict/README.md
ADDED
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
|
+
"version": "4.0.0",
|
|
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
|
|
15
|
-
"test": "head -n 1000
|
|
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
|
|
37
|
+
"dict/rust.txt",
|
|
38
38
|
"cspell-ext.json"
|
|
39
39
|
],
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "423cddea0244a460b994d8c4643a418bea52a5ec"
|
|
41
41
|
}
|
package/rust.txt.gz
DELETED
|
Binary file
|