Short (up to 65,535 bytes) immutable strings to e.g. parse tokens, implemented in Rust. These are sometimes called "German Strings", because Germans have written the paper mentioning them
1{
2 "folders": [
3 {
4 "path": "."
5 }
6 ],
7 "settings": {
8 "cSpell.words": [
9 "dealloc",
10 "MIRIFLAGS",
11 "repr",
12 "Zmiri"
13 ],
14 "coverage-gutters.coverageBaseDir": ".",
15 "coverage-gutters.coverageReportFileName": "lcov.info"
16 },
17 "launch": {
18 "version": "0.2.0",
19 "configurations": [
20 {
21 "type": "lldb",
22 "request": "launch",
23 "name": "Debug unit tests in library 'token_string'",
24 "cargo": {
25 "args": [
26 "test",
27 "--no-run",
28 "--lib",
29 "--package=token-string"
30 ],
31 "filter": {
32 "name": "token_string",
33 "kind": "lib"
34 }
35 },
36 "args": [],
37 "cwd": "${workspaceFolder}"
38 },
39 {
40 "type": "lldb",
41 "request": "launch",
42 "name": "Debug Example",
43 "cargo": {
44 "args": [
45 "build",
46 "--example=example",
47 "--package=token-string"
48 ],
49 "filter": {
50 "name": "example",
51 "kind": "example"
52 }
53 },
54 "args": [],
55 "cwd": "${workspaceFolder}"
56 },
57 {
58 "type": "lldb",
59 "request": "launch",
60 "name": "Debug integration test 'test_builder'",
61 "cargo": {
62 "args": [
63 "test",
64 "--no-run",
65 "--test=test_builder",
66 "--package=token-string"
67 ],
68 "filter": {
69 "name": "test_builder",
70 "kind": "test"
71 }
72 },
73 "args": [],
74 "cwd": "${workspaceFolder}"
75 },
76 {
77 "type": "lldb",
78 "request": "launch",
79 "name": "Debug integration test 'test_string'",
80 "cargo": {
81 "args": [
82 "test",
83 "--no-run",
84 "--test=test_string",
85 "--package=token-string"
86 ],
87 "filter": {
88 "name": "test_string",
89 "kind": "test"
90 }
91 },
92 "args": [],
93 "cwd": "${workspaceFolder}"
94 }
95 ]
96 },
97 "tasks": {
98 "version": "2.0.0",
99 "tasks": [
100 {
101 "type": "cargo",
102 "command": "run",
103 "args": [
104 "--example",
105 "example"
106 ],
107 "problemMatcher": [
108 "$rustc"
109 ],
110 "label": "Run Example"
111 },
112 {
113 "type": "cargo",
114 "command": "clippy",
115 "problemMatcher": [
116 "$rustc"
117 ],
118 "label": "Clippy"
119 },
120 {
121 "type": "cargo",
122 "command": "clean",
123 "problemMatcher": [
124 "$rustc"
125 ],
126 "label": "Clean"
127 },
128 {
129 "type": "cargo",
130 "command": "doc",
131 "args": [
132 "--all-features"
133 ],
134 "problemMatcher": [
135 "$rustc"
136 ],
137 "label": "Generate Docs"
138 },
139 {
140 "type": "cargo",
141 "command": "build",
142 "problemMatcher": [
143 "$rustc"
144 ],
145 "label": "Build Library"
146 },
147 {
148 "type": "cargo",
149 "command": "llvm-cov",
150 "args": [
151 "nextest",
152 "--all-features",
153 "--lcov",
154 "--output-path",
155 "lcov.info"
156 ],
157 "problemMatcher": [
158 "$rustc"
159 ],
160 "label": "Run Tests with coverage",
161 "group": {
162 "kind": "build",
163 "isDefault": true
164 }
165 },
166 {
167 "type": "cargo",
168 "command": "nextest",
169 "args": [
170 "run",
171 "--all-features"
172 ],
173 "problemMatcher": [
174 "$rustc"
175 ],
176 "label": "Run Tests"
177 },
178 {
179 "type": "cargo",
180 "command": "test",
181 "args": [
182 "--doc"
183 ],
184 "problemMatcher": [
185 "$rustc"
186 ],
187 "label": "Run Doctests"
188 },
189 {
190 "type": "cargo",
191 "command": "mutants",
192 "args": [
193 "--test-tool=nextest",
194 "--",
195 "--all-features"
196 ],
197 "problemMatcher": {
198 "fileLocation": "relative",
199 "source": "Mutants",
200 "pattern": [
201 {
202 "regexp": "^MISSED\\s+([^\\s].*):(\\d+):(\\d+):\\s*(.*)$",
203 "file": 1,
204 "line": 2,
205 "column": 3,
206 "message": 4,
207 }
208 ]
209 },
210 "label": "Run Mutation Tests"
211 },
212 {
213 "type": "cargo",
214 "command": "mutants",
215 "args": [
216 "--test-tool=nextest",
217 "--iterate",
218 "--",
219 "--all-features"
220 ],
221 "problemMatcher": {
222 "fileLocation": "relative",
223 "source": "Mutants",
224 "pattern": [
225 {
226 "regexp": "^MISSED\\s+([^\\s].*):(\\d+):(\\d+):\\s*(.*)$",
227 "file": 1,
228 "line": 2,
229 "column": 3,
230 "message": 4,
231 }
232 ]
233 },
234 "label": "Run Mutation Tests Iteration"
235 },
236 {
237 "type": "shell",
238 "command": "PROPTEST_DISABLE_FAILURE_PERSISTENCE=true MIRIFLAGS='-Zmiri-env-forward=PROPTEST_DISABLE_FAILURE_PERSISTENCE -Zmiri-backtrace=full -Zmiri-tree-borrows' cargo miri nextest run -j 10",
239 "problemMatcher": [
240 "$rustc"
241 ],
242 "label": "Run Miri Tests"
243 },
244 {
245 "type": "shell",
246 "command": "MIRIFLAGS='-Zmiri-backtrace=full -Zmiri-tree-borrows' cargo miri run --example example",
247 "problemMatcher": [
248 "$rustc"
249 ],
250 "label": "Run Miri Example"
251 }
252 ]
253 },
254 "extensions": {
255 "recommendations": [
256 "ryanluker.vscode-coverage-gutters"
257 ]
258 }
259}