practicode 0.1.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/Cargo.lock +767 -0
- package/Cargo.toml +20 -0
- package/LICENSE +21 -0
- package/README.md +200 -0
- package/assets/practicode-terminal.svg +24 -0
- package/bin/practicode.js +39 -0
- package/docs/problem-authoring-notes.md +33 -0
- package/package.json +44 -0
- package/scripts/npm-postinstall.js +20 -0
- package/src/ai.rs +213 -0
- package/src/core.rs +831 -0
- package/src/lib.rs +31 -0
- package/src/main.rs +3 -0
- package/src/process.rs +82 -0
- package/src/text.rs +263 -0
- package/src/tui.rs +1173 -0
package/Cargo.lock
ADDED
|
@@ -0,0 +1,767 @@
|
|
|
1
|
+
# This file is automatically @generated by Cargo.
|
|
2
|
+
# It is not intended for manual editing.
|
|
3
|
+
version = 4
|
|
4
|
+
|
|
5
|
+
[[package]]
|
|
6
|
+
name = "allocator-api2"
|
|
7
|
+
version = "0.2.21"
|
|
8
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
9
|
+
checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923"
|
|
10
|
+
|
|
11
|
+
[[package]]
|
|
12
|
+
name = "anyhow"
|
|
13
|
+
version = "1.0.103"
|
|
14
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
+
checksum = "2a4385e2e34eb35d6b3efe798b9eb88096925d87726c0798709bf56d9ed84af3"
|
|
16
|
+
|
|
17
|
+
[[package]]
|
|
18
|
+
name = "bitflags"
|
|
19
|
+
version = "2.13.0"
|
|
20
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
21
|
+
checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
|
|
22
|
+
|
|
23
|
+
[[package]]
|
|
24
|
+
name = "cassowary"
|
|
25
|
+
version = "0.3.0"
|
|
26
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
27
|
+
checksum = "df8670b8c7b9dae1793364eafadf7239c40d669904660c5960d74cfd80b46a53"
|
|
28
|
+
|
|
29
|
+
[[package]]
|
|
30
|
+
name = "castaway"
|
|
31
|
+
version = "0.2.4"
|
|
32
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
33
|
+
checksum = "dec551ab6e7578819132c713a93c022a05d60159dc86e7a7050223577484c55a"
|
|
34
|
+
dependencies = [
|
|
35
|
+
"rustversion",
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
[[package]]
|
|
39
|
+
name = "cfg-if"
|
|
40
|
+
version = "1.0.4"
|
|
41
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
42
|
+
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
43
|
+
|
|
44
|
+
[[package]]
|
|
45
|
+
name = "compact_str"
|
|
46
|
+
version = "0.8.2"
|
|
47
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
48
|
+
checksum = "7fd622ebbb56a5b2ccb651b32b911cdeb2a9b4b11776b2473bf26a26a286244e"
|
|
49
|
+
dependencies = [
|
|
50
|
+
"castaway",
|
|
51
|
+
"cfg-if",
|
|
52
|
+
"itoa",
|
|
53
|
+
"rustversion",
|
|
54
|
+
"ryu",
|
|
55
|
+
"static_assertions",
|
|
56
|
+
]
|
|
57
|
+
|
|
58
|
+
[[package]]
|
|
59
|
+
name = "convert_case"
|
|
60
|
+
version = "0.10.0"
|
|
61
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
62
|
+
checksum = "633458d4ef8c78b72454de2d54fd6ab2e60f9e02be22f3c6104cdc8a4e0fceb9"
|
|
63
|
+
dependencies = [
|
|
64
|
+
"unicode-segmentation",
|
|
65
|
+
]
|
|
66
|
+
|
|
67
|
+
[[package]]
|
|
68
|
+
name = "crossterm"
|
|
69
|
+
version = "0.28.1"
|
|
70
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
71
|
+
checksum = "829d955a0bb380ef178a640b91779e3987da38c9aea133b20614cfed8cdea9c6"
|
|
72
|
+
dependencies = [
|
|
73
|
+
"bitflags",
|
|
74
|
+
"crossterm_winapi",
|
|
75
|
+
"mio",
|
|
76
|
+
"parking_lot",
|
|
77
|
+
"rustix 0.38.44",
|
|
78
|
+
"signal-hook",
|
|
79
|
+
"signal-hook-mio",
|
|
80
|
+
"winapi",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "crossterm"
|
|
85
|
+
version = "0.29.0"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b"
|
|
88
|
+
dependencies = [
|
|
89
|
+
"bitflags",
|
|
90
|
+
"crossterm_winapi",
|
|
91
|
+
"derive_more",
|
|
92
|
+
"document-features",
|
|
93
|
+
"mio",
|
|
94
|
+
"parking_lot",
|
|
95
|
+
"rustix 1.1.4",
|
|
96
|
+
"signal-hook",
|
|
97
|
+
"signal-hook-mio",
|
|
98
|
+
"winapi",
|
|
99
|
+
]
|
|
100
|
+
|
|
101
|
+
[[package]]
|
|
102
|
+
name = "crossterm_winapi"
|
|
103
|
+
version = "0.9.1"
|
|
104
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
105
|
+
checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b"
|
|
106
|
+
dependencies = [
|
|
107
|
+
"winapi",
|
|
108
|
+
]
|
|
109
|
+
|
|
110
|
+
[[package]]
|
|
111
|
+
name = "darling"
|
|
112
|
+
version = "0.23.0"
|
|
113
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
114
|
+
checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
|
|
115
|
+
dependencies = [
|
|
116
|
+
"darling_core",
|
|
117
|
+
"darling_macro",
|
|
118
|
+
]
|
|
119
|
+
|
|
120
|
+
[[package]]
|
|
121
|
+
name = "darling_core"
|
|
122
|
+
version = "0.23.0"
|
|
123
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
124
|
+
checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
|
|
125
|
+
dependencies = [
|
|
126
|
+
"ident_case",
|
|
127
|
+
"proc-macro2",
|
|
128
|
+
"quote",
|
|
129
|
+
"strsim",
|
|
130
|
+
"syn",
|
|
131
|
+
]
|
|
132
|
+
|
|
133
|
+
[[package]]
|
|
134
|
+
name = "darling_macro"
|
|
135
|
+
version = "0.23.0"
|
|
136
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
137
|
+
checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
|
|
138
|
+
dependencies = [
|
|
139
|
+
"darling_core",
|
|
140
|
+
"quote",
|
|
141
|
+
"syn",
|
|
142
|
+
]
|
|
143
|
+
|
|
144
|
+
[[package]]
|
|
145
|
+
name = "derive_more"
|
|
146
|
+
version = "2.1.1"
|
|
147
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
+
checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134"
|
|
149
|
+
dependencies = [
|
|
150
|
+
"derive_more-impl",
|
|
151
|
+
]
|
|
152
|
+
|
|
153
|
+
[[package]]
|
|
154
|
+
name = "derive_more-impl"
|
|
155
|
+
version = "2.1.1"
|
|
156
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
157
|
+
checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb"
|
|
158
|
+
dependencies = [
|
|
159
|
+
"convert_case",
|
|
160
|
+
"proc-macro2",
|
|
161
|
+
"quote",
|
|
162
|
+
"rustc_version",
|
|
163
|
+
"syn",
|
|
164
|
+
]
|
|
165
|
+
|
|
166
|
+
[[package]]
|
|
167
|
+
name = "document-features"
|
|
168
|
+
version = "0.2.12"
|
|
169
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
170
|
+
checksum = "d4b8a88685455ed29a21542a33abd9cb6510b6b129abadabdcef0f4c55bc8f61"
|
|
171
|
+
dependencies = [
|
|
172
|
+
"litrs",
|
|
173
|
+
]
|
|
174
|
+
|
|
175
|
+
[[package]]
|
|
176
|
+
name = "either"
|
|
177
|
+
version = "1.16.0"
|
|
178
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
179
|
+
checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
|
|
180
|
+
|
|
181
|
+
[[package]]
|
|
182
|
+
name = "equivalent"
|
|
183
|
+
version = "1.0.2"
|
|
184
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
185
|
+
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
186
|
+
|
|
187
|
+
[[package]]
|
|
188
|
+
name = "errno"
|
|
189
|
+
version = "0.3.14"
|
|
190
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
191
|
+
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
192
|
+
dependencies = [
|
|
193
|
+
"libc",
|
|
194
|
+
"windows-sys 0.61.2",
|
|
195
|
+
]
|
|
196
|
+
|
|
197
|
+
[[package]]
|
|
198
|
+
name = "foldhash"
|
|
199
|
+
version = "0.1.5"
|
|
200
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
201
|
+
checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2"
|
|
202
|
+
|
|
203
|
+
[[package]]
|
|
204
|
+
name = "hashbrown"
|
|
205
|
+
version = "0.15.5"
|
|
206
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
207
|
+
checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1"
|
|
208
|
+
dependencies = [
|
|
209
|
+
"allocator-api2",
|
|
210
|
+
"equivalent",
|
|
211
|
+
"foldhash",
|
|
212
|
+
]
|
|
213
|
+
|
|
214
|
+
[[package]]
|
|
215
|
+
name = "heck"
|
|
216
|
+
version = "0.5.0"
|
|
217
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
218
|
+
checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
219
|
+
|
|
220
|
+
[[package]]
|
|
221
|
+
name = "ident_case"
|
|
222
|
+
version = "1.0.1"
|
|
223
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
224
|
+
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
|
|
225
|
+
|
|
226
|
+
[[package]]
|
|
227
|
+
name = "indoc"
|
|
228
|
+
version = "2.0.7"
|
|
229
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
230
|
+
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
231
|
+
dependencies = [
|
|
232
|
+
"rustversion",
|
|
233
|
+
]
|
|
234
|
+
|
|
235
|
+
[[package]]
|
|
236
|
+
name = "instability"
|
|
237
|
+
version = "0.3.12"
|
|
238
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
+
checksum = "5eb2d60ef19920a3a9193c3e371f726ec1dafc045dac788d0fb3704272458971"
|
|
240
|
+
dependencies = [
|
|
241
|
+
"darling",
|
|
242
|
+
"indoc",
|
|
243
|
+
"proc-macro2",
|
|
244
|
+
"quote",
|
|
245
|
+
"syn",
|
|
246
|
+
]
|
|
247
|
+
|
|
248
|
+
[[package]]
|
|
249
|
+
name = "itertools"
|
|
250
|
+
version = "0.13.0"
|
|
251
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
252
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
253
|
+
dependencies = [
|
|
254
|
+
"either",
|
|
255
|
+
]
|
|
256
|
+
|
|
257
|
+
[[package]]
|
|
258
|
+
name = "itoa"
|
|
259
|
+
version = "1.0.18"
|
|
260
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
261
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
262
|
+
|
|
263
|
+
[[package]]
|
|
264
|
+
name = "libc"
|
|
265
|
+
version = "0.2.186"
|
|
266
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
268
|
+
|
|
269
|
+
[[package]]
|
|
270
|
+
name = "linux-raw-sys"
|
|
271
|
+
version = "0.4.15"
|
|
272
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
273
|
+
checksum = "d26c52dbd32dccf2d10cac7725f8eae5296885fb5703b261f7d0a0739ec807ab"
|
|
274
|
+
|
|
275
|
+
[[package]]
|
|
276
|
+
name = "linux-raw-sys"
|
|
277
|
+
version = "0.12.1"
|
|
278
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
279
|
+
checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
280
|
+
|
|
281
|
+
[[package]]
|
|
282
|
+
name = "litrs"
|
|
283
|
+
version = "1.0.0"
|
|
284
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
285
|
+
checksum = "11d3d7f243d5c5a8b9bb5d6dd2b1602c0cb0b9db1621bafc7ed66e35ff9fe092"
|
|
286
|
+
|
|
287
|
+
[[package]]
|
|
288
|
+
name = "lock_api"
|
|
289
|
+
version = "0.4.14"
|
|
290
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
+
checksum = "224399e74b87b5f3557511d98dff8b14089b3dadafcab6bb93eab67d3aace965"
|
|
292
|
+
dependencies = [
|
|
293
|
+
"scopeguard",
|
|
294
|
+
]
|
|
295
|
+
|
|
296
|
+
[[package]]
|
|
297
|
+
name = "log"
|
|
298
|
+
version = "0.4.33"
|
|
299
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
300
|
+
checksum = "0ceec5bc11778974d1bcb055b18002eba7f4b3518b6a0081b3af5f21666da9ad"
|
|
301
|
+
|
|
302
|
+
[[package]]
|
|
303
|
+
name = "lru"
|
|
304
|
+
version = "0.12.5"
|
|
305
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
306
|
+
checksum = "234cf4f4a04dc1f57e24b96cc0cd600cf2af460d4161ac5ecdd0af8e1f3b2a38"
|
|
307
|
+
dependencies = [
|
|
308
|
+
"hashbrown",
|
|
309
|
+
]
|
|
310
|
+
|
|
311
|
+
[[package]]
|
|
312
|
+
name = "memchr"
|
|
313
|
+
version = "2.8.2"
|
|
314
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
315
|
+
checksum = "88904434abc2901f197fe8cc55f0445e7ded921dba5911dad2e2b39b48e663c4"
|
|
316
|
+
|
|
317
|
+
[[package]]
|
|
318
|
+
name = "mio"
|
|
319
|
+
version = "1.2.1"
|
|
320
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
321
|
+
checksum = "02bd0af71c67b473010cbbc60715ee815645a4dc942899111f494b4b737d6fda"
|
|
322
|
+
dependencies = [
|
|
323
|
+
"libc",
|
|
324
|
+
"log",
|
|
325
|
+
"wasi",
|
|
326
|
+
"windows-sys 0.61.2",
|
|
327
|
+
]
|
|
328
|
+
|
|
329
|
+
[[package]]
|
|
330
|
+
name = "parking_lot"
|
|
331
|
+
version = "0.12.5"
|
|
332
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
333
|
+
checksum = "93857453250e3077bd71ff98b6a65ea6621a19bb0f559a85248955ac12c45a1a"
|
|
334
|
+
dependencies = [
|
|
335
|
+
"lock_api",
|
|
336
|
+
"parking_lot_core",
|
|
337
|
+
]
|
|
338
|
+
|
|
339
|
+
[[package]]
|
|
340
|
+
name = "parking_lot_core"
|
|
341
|
+
version = "0.9.12"
|
|
342
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
343
|
+
checksum = "2621685985a2ebf1c516881c026032ac7deafcda1a2c9b7850dc81e3dfcb64c1"
|
|
344
|
+
dependencies = [
|
|
345
|
+
"cfg-if",
|
|
346
|
+
"libc",
|
|
347
|
+
"redox_syscall",
|
|
348
|
+
"smallvec",
|
|
349
|
+
"windows-link",
|
|
350
|
+
]
|
|
351
|
+
|
|
352
|
+
[[package]]
|
|
353
|
+
name = "paste"
|
|
354
|
+
version = "1.0.15"
|
|
355
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
356
|
+
checksum = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a"
|
|
357
|
+
|
|
358
|
+
[[package]]
|
|
359
|
+
name = "practicode"
|
|
360
|
+
version = "0.1.0"
|
|
361
|
+
dependencies = [
|
|
362
|
+
"anyhow",
|
|
363
|
+
"crossterm 0.29.0",
|
|
364
|
+
"ratatui",
|
|
365
|
+
"serde",
|
|
366
|
+
"serde_json",
|
|
367
|
+
"unicode-width 0.2.0",
|
|
368
|
+
"wait-timeout",
|
|
369
|
+
]
|
|
370
|
+
|
|
371
|
+
[[package]]
|
|
372
|
+
name = "proc-macro2"
|
|
373
|
+
version = "1.0.106"
|
|
374
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
375
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
376
|
+
dependencies = [
|
|
377
|
+
"unicode-ident",
|
|
378
|
+
]
|
|
379
|
+
|
|
380
|
+
[[package]]
|
|
381
|
+
name = "quote"
|
|
382
|
+
version = "1.0.46"
|
|
383
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
384
|
+
checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
|
|
385
|
+
dependencies = [
|
|
386
|
+
"proc-macro2",
|
|
387
|
+
]
|
|
388
|
+
|
|
389
|
+
[[package]]
|
|
390
|
+
name = "ratatui"
|
|
391
|
+
version = "0.29.0"
|
|
392
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
393
|
+
checksum = "eabd94c2f37801c20583fc49dd5cd6b0ba68c716787c2dd6ed18571e1e63117b"
|
|
394
|
+
dependencies = [
|
|
395
|
+
"bitflags",
|
|
396
|
+
"cassowary",
|
|
397
|
+
"compact_str",
|
|
398
|
+
"crossterm 0.28.1",
|
|
399
|
+
"indoc",
|
|
400
|
+
"instability",
|
|
401
|
+
"itertools",
|
|
402
|
+
"lru",
|
|
403
|
+
"paste",
|
|
404
|
+
"strum",
|
|
405
|
+
"unicode-segmentation",
|
|
406
|
+
"unicode-truncate",
|
|
407
|
+
"unicode-width 0.2.0",
|
|
408
|
+
]
|
|
409
|
+
|
|
410
|
+
[[package]]
|
|
411
|
+
name = "redox_syscall"
|
|
412
|
+
version = "0.5.18"
|
|
413
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
414
|
+
checksum = "ed2bf2547551a7053d6fdfafda3f938979645c44812fbfcda098faae3f1a362d"
|
|
415
|
+
dependencies = [
|
|
416
|
+
"bitflags",
|
|
417
|
+
]
|
|
418
|
+
|
|
419
|
+
[[package]]
|
|
420
|
+
name = "rustc_version"
|
|
421
|
+
version = "0.4.1"
|
|
422
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
423
|
+
checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
|
|
424
|
+
dependencies = [
|
|
425
|
+
"semver",
|
|
426
|
+
]
|
|
427
|
+
|
|
428
|
+
[[package]]
|
|
429
|
+
name = "rustix"
|
|
430
|
+
version = "0.38.44"
|
|
431
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
432
|
+
checksum = "fdb5bc1ae2baa591800df16c9ca78619bf65c0488b41b96ccec5d11220d8c154"
|
|
433
|
+
dependencies = [
|
|
434
|
+
"bitflags",
|
|
435
|
+
"errno",
|
|
436
|
+
"libc",
|
|
437
|
+
"linux-raw-sys 0.4.15",
|
|
438
|
+
"windows-sys 0.59.0",
|
|
439
|
+
]
|
|
440
|
+
|
|
441
|
+
[[package]]
|
|
442
|
+
name = "rustix"
|
|
443
|
+
version = "1.1.4"
|
|
444
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
445
|
+
checksum = "b6fe4565b9518b83ef4f91bb47ce29620ca828bd32cb7e408f0062e9930ba190"
|
|
446
|
+
dependencies = [
|
|
447
|
+
"bitflags",
|
|
448
|
+
"errno",
|
|
449
|
+
"libc",
|
|
450
|
+
"linux-raw-sys 0.12.1",
|
|
451
|
+
"windows-sys 0.61.2",
|
|
452
|
+
]
|
|
453
|
+
|
|
454
|
+
[[package]]
|
|
455
|
+
name = "rustversion"
|
|
456
|
+
version = "1.0.22"
|
|
457
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
458
|
+
checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
459
|
+
|
|
460
|
+
[[package]]
|
|
461
|
+
name = "ryu"
|
|
462
|
+
version = "1.0.23"
|
|
463
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
464
|
+
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
465
|
+
|
|
466
|
+
[[package]]
|
|
467
|
+
name = "scopeguard"
|
|
468
|
+
version = "1.2.0"
|
|
469
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
470
|
+
checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49"
|
|
471
|
+
|
|
472
|
+
[[package]]
|
|
473
|
+
name = "semver"
|
|
474
|
+
version = "1.0.28"
|
|
475
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
476
|
+
checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd"
|
|
477
|
+
|
|
478
|
+
[[package]]
|
|
479
|
+
name = "serde"
|
|
480
|
+
version = "1.0.228"
|
|
481
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
482
|
+
checksum = "9a8e94ea7f378bd32cbbd37198a4a91436180c5bb472411e48b5ec2e2124ae9e"
|
|
483
|
+
dependencies = [
|
|
484
|
+
"serde_core",
|
|
485
|
+
"serde_derive",
|
|
486
|
+
]
|
|
487
|
+
|
|
488
|
+
[[package]]
|
|
489
|
+
name = "serde_core"
|
|
490
|
+
version = "1.0.228"
|
|
491
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
492
|
+
checksum = "41d385c7d4ca58e59fc732af25c3983b67ac852c1a25000afe1175de458b67ad"
|
|
493
|
+
dependencies = [
|
|
494
|
+
"serde_derive",
|
|
495
|
+
]
|
|
496
|
+
|
|
497
|
+
[[package]]
|
|
498
|
+
name = "serde_derive"
|
|
499
|
+
version = "1.0.228"
|
|
500
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
501
|
+
checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
502
|
+
dependencies = [
|
|
503
|
+
"proc-macro2",
|
|
504
|
+
"quote",
|
|
505
|
+
"syn",
|
|
506
|
+
]
|
|
507
|
+
|
|
508
|
+
[[package]]
|
|
509
|
+
name = "serde_json"
|
|
510
|
+
version = "1.0.150"
|
|
511
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
512
|
+
checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
|
|
513
|
+
dependencies = [
|
|
514
|
+
"itoa",
|
|
515
|
+
"memchr",
|
|
516
|
+
"serde",
|
|
517
|
+
"serde_core",
|
|
518
|
+
"zmij",
|
|
519
|
+
]
|
|
520
|
+
|
|
521
|
+
[[package]]
|
|
522
|
+
name = "signal-hook"
|
|
523
|
+
version = "0.3.18"
|
|
524
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
525
|
+
checksum = "d881a16cf4426aa584979d30bd82cb33429027e42122b169753d6ef1085ed6e2"
|
|
526
|
+
dependencies = [
|
|
527
|
+
"libc",
|
|
528
|
+
"signal-hook-registry",
|
|
529
|
+
]
|
|
530
|
+
|
|
531
|
+
[[package]]
|
|
532
|
+
name = "signal-hook-mio"
|
|
533
|
+
version = "0.2.5"
|
|
534
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
535
|
+
checksum = "b75a19a7a740b25bc7944bdee6172368f988763b744e3d4dfe753f6b4ece40cc"
|
|
536
|
+
dependencies = [
|
|
537
|
+
"libc",
|
|
538
|
+
"mio",
|
|
539
|
+
"signal-hook",
|
|
540
|
+
]
|
|
541
|
+
|
|
542
|
+
[[package]]
|
|
543
|
+
name = "signal-hook-registry"
|
|
544
|
+
version = "1.4.8"
|
|
545
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
546
|
+
checksum = "c4db69cba1110affc0e9f7bcd48bbf87b3f4fc7c61fc9155afd4c469eb3d6c1b"
|
|
547
|
+
dependencies = [
|
|
548
|
+
"errno",
|
|
549
|
+
"libc",
|
|
550
|
+
]
|
|
551
|
+
|
|
552
|
+
[[package]]
|
|
553
|
+
name = "smallvec"
|
|
554
|
+
version = "1.15.2"
|
|
555
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
556
|
+
checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
|
|
557
|
+
|
|
558
|
+
[[package]]
|
|
559
|
+
name = "static_assertions"
|
|
560
|
+
version = "1.1.0"
|
|
561
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
562
|
+
checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
563
|
+
|
|
564
|
+
[[package]]
|
|
565
|
+
name = "strsim"
|
|
566
|
+
version = "0.11.1"
|
|
567
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
568
|
+
checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f"
|
|
569
|
+
|
|
570
|
+
[[package]]
|
|
571
|
+
name = "strum"
|
|
572
|
+
version = "0.26.3"
|
|
573
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
574
|
+
checksum = "8fec0f0aef304996cf250b31b5a10dee7980c85da9d759361292b8bca5a18f06"
|
|
575
|
+
dependencies = [
|
|
576
|
+
"strum_macros",
|
|
577
|
+
]
|
|
578
|
+
|
|
579
|
+
[[package]]
|
|
580
|
+
name = "strum_macros"
|
|
581
|
+
version = "0.26.4"
|
|
582
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
583
|
+
checksum = "4c6bee85a5a24955dc440386795aa378cd9cf82acd5f764469152d2270e581be"
|
|
584
|
+
dependencies = [
|
|
585
|
+
"heck",
|
|
586
|
+
"proc-macro2",
|
|
587
|
+
"quote",
|
|
588
|
+
"rustversion",
|
|
589
|
+
"syn",
|
|
590
|
+
]
|
|
591
|
+
|
|
592
|
+
[[package]]
|
|
593
|
+
name = "syn"
|
|
594
|
+
version = "2.0.118"
|
|
595
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
596
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
597
|
+
dependencies = [
|
|
598
|
+
"proc-macro2",
|
|
599
|
+
"quote",
|
|
600
|
+
"unicode-ident",
|
|
601
|
+
]
|
|
602
|
+
|
|
603
|
+
[[package]]
|
|
604
|
+
name = "unicode-ident"
|
|
605
|
+
version = "1.0.24"
|
|
606
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
607
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
608
|
+
|
|
609
|
+
[[package]]
|
|
610
|
+
name = "unicode-segmentation"
|
|
611
|
+
version = "1.13.3"
|
|
612
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
613
|
+
checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
|
|
614
|
+
|
|
615
|
+
[[package]]
|
|
616
|
+
name = "unicode-truncate"
|
|
617
|
+
version = "1.1.0"
|
|
618
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
619
|
+
checksum = "b3644627a5af5fa321c95b9b235a72fd24cd29c648c2c379431e6628655627bf"
|
|
620
|
+
dependencies = [
|
|
621
|
+
"itertools",
|
|
622
|
+
"unicode-segmentation",
|
|
623
|
+
"unicode-width 0.1.14",
|
|
624
|
+
]
|
|
625
|
+
|
|
626
|
+
[[package]]
|
|
627
|
+
name = "unicode-width"
|
|
628
|
+
version = "0.1.14"
|
|
629
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
630
|
+
checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
|
|
631
|
+
|
|
632
|
+
[[package]]
|
|
633
|
+
name = "unicode-width"
|
|
634
|
+
version = "0.2.0"
|
|
635
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
636
|
+
checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd"
|
|
637
|
+
|
|
638
|
+
[[package]]
|
|
639
|
+
name = "wait-timeout"
|
|
640
|
+
version = "0.2.1"
|
|
641
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
642
|
+
checksum = "09ac3b126d3914f9849036f826e054cbabdc8519970b8998ddaf3b5bd3c65f11"
|
|
643
|
+
dependencies = [
|
|
644
|
+
"libc",
|
|
645
|
+
]
|
|
646
|
+
|
|
647
|
+
[[package]]
|
|
648
|
+
name = "wasi"
|
|
649
|
+
version = "0.11.1+wasi-snapshot-preview1"
|
|
650
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
651
|
+
checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
652
|
+
|
|
653
|
+
[[package]]
|
|
654
|
+
name = "winapi"
|
|
655
|
+
version = "0.3.9"
|
|
656
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
657
|
+
checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
|
658
|
+
dependencies = [
|
|
659
|
+
"winapi-i686-pc-windows-gnu",
|
|
660
|
+
"winapi-x86_64-pc-windows-gnu",
|
|
661
|
+
]
|
|
662
|
+
|
|
663
|
+
[[package]]
|
|
664
|
+
name = "winapi-i686-pc-windows-gnu"
|
|
665
|
+
version = "0.4.0"
|
|
666
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
667
|
+
checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
668
|
+
|
|
669
|
+
[[package]]
|
|
670
|
+
name = "winapi-x86_64-pc-windows-gnu"
|
|
671
|
+
version = "0.4.0"
|
|
672
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
673
|
+
checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
|
674
|
+
|
|
675
|
+
[[package]]
|
|
676
|
+
name = "windows-link"
|
|
677
|
+
version = "0.2.1"
|
|
678
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
679
|
+
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
680
|
+
|
|
681
|
+
[[package]]
|
|
682
|
+
name = "windows-sys"
|
|
683
|
+
version = "0.59.0"
|
|
684
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
685
|
+
checksum = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b"
|
|
686
|
+
dependencies = [
|
|
687
|
+
"windows-targets",
|
|
688
|
+
]
|
|
689
|
+
|
|
690
|
+
[[package]]
|
|
691
|
+
name = "windows-sys"
|
|
692
|
+
version = "0.61.2"
|
|
693
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
694
|
+
checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc"
|
|
695
|
+
dependencies = [
|
|
696
|
+
"windows-link",
|
|
697
|
+
]
|
|
698
|
+
|
|
699
|
+
[[package]]
|
|
700
|
+
name = "windows-targets"
|
|
701
|
+
version = "0.52.6"
|
|
702
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
703
|
+
checksum = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973"
|
|
704
|
+
dependencies = [
|
|
705
|
+
"windows_aarch64_gnullvm",
|
|
706
|
+
"windows_aarch64_msvc",
|
|
707
|
+
"windows_i686_gnu",
|
|
708
|
+
"windows_i686_gnullvm",
|
|
709
|
+
"windows_i686_msvc",
|
|
710
|
+
"windows_x86_64_gnu",
|
|
711
|
+
"windows_x86_64_gnullvm",
|
|
712
|
+
"windows_x86_64_msvc",
|
|
713
|
+
]
|
|
714
|
+
|
|
715
|
+
[[package]]
|
|
716
|
+
name = "windows_aarch64_gnullvm"
|
|
717
|
+
version = "0.52.6"
|
|
718
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
719
|
+
checksum = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3"
|
|
720
|
+
|
|
721
|
+
[[package]]
|
|
722
|
+
name = "windows_aarch64_msvc"
|
|
723
|
+
version = "0.52.6"
|
|
724
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
725
|
+
checksum = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469"
|
|
726
|
+
|
|
727
|
+
[[package]]
|
|
728
|
+
name = "windows_i686_gnu"
|
|
729
|
+
version = "0.52.6"
|
|
730
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
731
|
+
checksum = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b"
|
|
732
|
+
|
|
733
|
+
[[package]]
|
|
734
|
+
name = "windows_i686_gnullvm"
|
|
735
|
+
version = "0.52.6"
|
|
736
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
737
|
+
checksum = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66"
|
|
738
|
+
|
|
739
|
+
[[package]]
|
|
740
|
+
name = "windows_i686_msvc"
|
|
741
|
+
version = "0.52.6"
|
|
742
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
743
|
+
checksum = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66"
|
|
744
|
+
|
|
745
|
+
[[package]]
|
|
746
|
+
name = "windows_x86_64_gnu"
|
|
747
|
+
version = "0.52.6"
|
|
748
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
749
|
+
checksum = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78"
|
|
750
|
+
|
|
751
|
+
[[package]]
|
|
752
|
+
name = "windows_x86_64_gnullvm"
|
|
753
|
+
version = "0.52.6"
|
|
754
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
755
|
+
checksum = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d"
|
|
756
|
+
|
|
757
|
+
[[package]]
|
|
758
|
+
name = "windows_x86_64_msvc"
|
|
759
|
+
version = "0.52.6"
|
|
760
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
761
|
+
checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec"
|
|
762
|
+
|
|
763
|
+
[[package]]
|
|
764
|
+
name = "zmij"
|
|
765
|
+
version = "1.0.21"
|
|
766
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
767
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|