gitlab-glfm-markdown 0.0.4 → 0.0.7
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.
- checksums.yaml +4 -4
- data/Cargo.lock +191 -173
- data/LICENSE +9 -2
- data/README.md +23 -0
- data/ext/glfm_markdown/Cargo.toml +4 -2
- data/ext/glfm_markdown/extconf.rb +1 -1
- data/ext/glfm_markdown/src/lib.rs +2 -2
- data/lib/glfm_markdown/loader.rb +8 -0
- data/lib/glfm_markdown/version.rb +1 -1
- data/lib/glfm_markdown.rb +10 -7
- metadata +11 -9
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 48b56c14101ea15b4ba672e5861431d05e696f0046aec6d8cc89a64c65d85824
|
|
4
|
+
data.tar.gz: 40d8b4301bb2770b9569216a8895781eb58f84042a517c7162d59a2a266bff58
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6885207542d9292dbd77498298ed0328e074a09c391086aff93f6836c330d6a049209870dee9bbc0e53c32415045bcf9408d20f6bcd2e523386891fa63654718
|
|
7
|
+
data.tar.gz: bce40be207e9a3d2909c95b52c11824af32088f2b571a36468783b04f904ca88adfe5bf73f93f084c8cf1346468ae7a599354529c54eceb6114b83d8825a2129
|
data/Cargo.lock
CHANGED
|
@@ -10,39 +10,53 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
|
|
10
10
|
|
|
11
11
|
[[package]]
|
|
12
12
|
name = "aho-corasick"
|
|
13
|
-
version = "1.
|
|
13
|
+
version = "1.1.2"
|
|
14
14
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
|
-
checksum = "
|
|
15
|
+
checksum = "b2969dcb958b36655471fc61f7e416fa76033bdd4bfed0678d8fee1e2d07a1f0"
|
|
16
16
|
dependencies = [
|
|
17
17
|
"memchr",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
20
|
[[package]]
|
|
21
21
|
name = "anstream"
|
|
22
|
-
version = "0.
|
|
22
|
+
version = "0.4.0"
|
|
23
23
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
-
checksum = "
|
|
24
|
+
checksum = "735917dc4838cee6a072ea1fd4b6e4e6ff00cbe95c7875967482961c36a0b68f"
|
|
25
25
|
dependencies = [
|
|
26
26
|
"anstyle",
|
|
27
27
|
"anstyle-parse",
|
|
28
28
|
"anstyle-query",
|
|
29
|
-
"anstyle-wincon",
|
|
29
|
+
"anstyle-wincon 2.1.0",
|
|
30
30
|
"colorchoice",
|
|
31
31
|
"is-terminal",
|
|
32
32
|
"utf8parse",
|
|
33
33
|
]
|
|
34
34
|
|
|
35
|
+
[[package]]
|
|
36
|
+
name = "anstream"
|
|
37
|
+
version = "0.6.4"
|
|
38
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
+
checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44"
|
|
40
|
+
dependencies = [
|
|
41
|
+
"anstyle",
|
|
42
|
+
"anstyle-parse",
|
|
43
|
+
"anstyle-query",
|
|
44
|
+
"anstyle-wincon 3.0.1",
|
|
45
|
+
"colorchoice",
|
|
46
|
+
"utf8parse",
|
|
47
|
+
]
|
|
48
|
+
|
|
35
49
|
[[package]]
|
|
36
50
|
name = "anstyle"
|
|
37
|
-
version = "1.0.
|
|
51
|
+
version = "1.0.4"
|
|
38
52
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
-
checksum = "
|
|
53
|
+
checksum = "7079075b41f533b8c61d2a4d073c4676e1f8b249ff94a393b0595db304e0dd87"
|
|
40
54
|
|
|
41
55
|
[[package]]
|
|
42
56
|
name = "anstyle-parse"
|
|
43
|
-
version = "0.2.
|
|
57
|
+
version = "0.2.2"
|
|
44
58
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
-
checksum = "
|
|
59
|
+
checksum = "317b9a89c1868f5ea6ff1d9539a69f45dffc21ce321ac1fd1160dfa48c8e2140"
|
|
46
60
|
dependencies = [
|
|
47
61
|
"utf8parse",
|
|
48
62
|
]
|
|
@@ -58,9 +72,19 @@ dependencies = [
|
|
|
58
72
|
|
|
59
73
|
[[package]]
|
|
60
74
|
name = "anstyle-wincon"
|
|
61
|
-
version = "1.0
|
|
75
|
+
version = "2.1.0"
|
|
62
76
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
63
|
-
checksum = "
|
|
77
|
+
checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd"
|
|
78
|
+
dependencies = [
|
|
79
|
+
"anstyle",
|
|
80
|
+
"windows-sys",
|
|
81
|
+
]
|
|
82
|
+
|
|
83
|
+
[[package]]
|
|
84
|
+
name = "anstyle-wincon"
|
|
85
|
+
version = "3.0.1"
|
|
86
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
87
|
+
checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628"
|
|
64
88
|
dependencies = [
|
|
65
89
|
"anstyle",
|
|
66
90
|
"windows-sys",
|
|
@@ -80,9 +104,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
|
|
80
104
|
|
|
81
105
|
[[package]]
|
|
82
106
|
name = "base64"
|
|
83
|
-
version = "0.21.
|
|
107
|
+
version = "0.21.4"
|
|
84
108
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
85
|
-
checksum = "
|
|
109
|
+
checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2"
|
|
86
110
|
|
|
87
111
|
[[package]]
|
|
88
112
|
name = "bincode"
|
|
@@ -95,11 +119,11 @@ dependencies = [
|
|
|
95
119
|
|
|
96
120
|
[[package]]
|
|
97
121
|
name = "bindgen"
|
|
98
|
-
version = "0.
|
|
122
|
+
version = "0.66.1"
|
|
99
123
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
100
|
-
checksum = "
|
|
124
|
+
checksum = "f2b84e06fc203107bfbad243f4aba2af864eb7db3b1cf46ea0a023b0b433d2a7"
|
|
101
125
|
dependencies = [
|
|
102
|
-
"bitflags",
|
|
126
|
+
"bitflags 2.4.0",
|
|
103
127
|
"cexpr",
|
|
104
128
|
"clang-sys",
|
|
105
129
|
"lazy_static",
|
|
@@ -110,7 +134,7 @@ dependencies = [
|
|
|
110
134
|
"regex",
|
|
111
135
|
"rustc-hash",
|
|
112
136
|
"shlex",
|
|
113
|
-
"syn
|
|
137
|
+
"syn 2.0.38",
|
|
114
138
|
]
|
|
115
139
|
|
|
116
140
|
[[package]]
|
|
@@ -134,11 +158,20 @@ version = "1.3.2"
|
|
|
134
158
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
135
159
|
checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
|
136
160
|
|
|
161
|
+
[[package]]
|
|
162
|
+
name = "bitflags"
|
|
163
|
+
version = "2.4.0"
|
|
164
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
165
|
+
checksum = "b4682ae6287fcf752ecaabbfcc7b6f9b72aa33933dc23a554d853aea8eea8635"
|
|
166
|
+
|
|
137
167
|
[[package]]
|
|
138
168
|
name = "cc"
|
|
139
|
-
version = "1.0.
|
|
169
|
+
version = "1.0.83"
|
|
140
170
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
141
|
-
checksum = "
|
|
171
|
+
checksum = "f1174fb0b6ec23863f8b971027804a42614e347eafb0a95bf0b12cdae21fc4d0"
|
|
172
|
+
dependencies = [
|
|
173
|
+
"libc",
|
|
174
|
+
]
|
|
142
175
|
|
|
143
176
|
[[package]]
|
|
144
177
|
name = "cexpr"
|
|
@@ -168,24 +201,22 @@ dependencies = [
|
|
|
168
201
|
|
|
169
202
|
[[package]]
|
|
170
203
|
name = "clap"
|
|
171
|
-
version = "4.
|
|
204
|
+
version = "4.4.6"
|
|
172
205
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
173
|
-
checksum = "
|
|
206
|
+
checksum = "d04704f56c2cde07f43e8e2c154b43f216dc5c92fc98ada720177362f953b956"
|
|
174
207
|
dependencies = [
|
|
175
208
|
"clap_builder",
|
|
176
209
|
"clap_derive",
|
|
177
|
-
"once_cell",
|
|
178
210
|
]
|
|
179
211
|
|
|
180
212
|
[[package]]
|
|
181
213
|
name = "clap_builder"
|
|
182
|
-
version = "4.
|
|
214
|
+
version = "4.4.6"
|
|
183
215
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
184
|
-
checksum = "
|
|
216
|
+
checksum = "0e231faeaca65ebd1ea3c737966bf858971cd38c3849107aa3ea7de90a804e45"
|
|
185
217
|
dependencies = [
|
|
186
|
-
"anstream",
|
|
218
|
+
"anstream 0.6.4",
|
|
187
219
|
"anstyle",
|
|
188
|
-
"bitflags",
|
|
189
220
|
"clap_lex",
|
|
190
221
|
"strsim",
|
|
191
222
|
"terminal_size",
|
|
@@ -193,21 +224,21 @@ dependencies = [
|
|
|
193
224
|
|
|
194
225
|
[[package]]
|
|
195
226
|
name = "clap_derive"
|
|
196
|
-
version = "4.
|
|
227
|
+
version = "4.4.2"
|
|
197
228
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
-
checksum = "
|
|
229
|
+
checksum = "0862016ff20d69b84ef8247369fabf5c008a7417002411897d40ee1f4532b873"
|
|
199
230
|
dependencies = [
|
|
200
231
|
"heck",
|
|
201
232
|
"proc-macro2",
|
|
202
233
|
"quote",
|
|
203
|
-
"syn 2.0.
|
|
234
|
+
"syn 2.0.38",
|
|
204
235
|
]
|
|
205
236
|
|
|
206
237
|
[[package]]
|
|
207
238
|
name = "clap_lex"
|
|
208
|
-
version = "0.5.
|
|
239
|
+
version = "0.5.1"
|
|
209
240
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
210
|
-
checksum = "
|
|
241
|
+
checksum = "cd7cc57abe963c6d3b9d8be5b06ba7c8957a930305ca90304f24ef040aa6f961"
|
|
211
242
|
|
|
212
243
|
[[package]]
|
|
213
244
|
name = "colorchoice"
|
|
@@ -217,8 +248,9 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
|
|
|
217
248
|
|
|
218
249
|
[[package]]
|
|
219
250
|
name = "comrak"
|
|
220
|
-
version = "0.
|
|
221
|
-
source = "
|
|
251
|
+
version = "0.19.0"
|
|
252
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
253
|
+
checksum = "82c995deda3bfdebd07d0e2af79e9da13e4b1be652b21a746f3f5b24bf0a49ef"
|
|
222
254
|
dependencies = [
|
|
223
255
|
"clap",
|
|
224
256
|
"derive_builder",
|
|
@@ -278,6 +310,12 @@ dependencies = [
|
|
|
278
310
|
"syn 1.0.109",
|
|
279
311
|
]
|
|
280
312
|
|
|
313
|
+
[[package]]
|
|
314
|
+
name = "deranged"
|
|
315
|
+
version = "0.3.8"
|
|
316
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
317
|
+
checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946"
|
|
318
|
+
|
|
281
319
|
[[package]]
|
|
282
320
|
name = "derive_builder"
|
|
283
321
|
version = "0.12.0"
|
|
@@ -311,9 +349,9 @@ dependencies = [
|
|
|
311
349
|
|
|
312
350
|
[[package]]
|
|
313
351
|
name = "deunicode"
|
|
314
|
-
version = "0.4.
|
|
352
|
+
version = "0.4.4"
|
|
315
353
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
316
|
-
checksum = "
|
|
354
|
+
checksum = "d95203a6a50906215a502507c0f879a0ce7ff205a6111e2db2a5ef8e4bb92e43"
|
|
317
355
|
|
|
318
356
|
[[package]]
|
|
319
357
|
name = "entities"
|
|
@@ -323,30 +361,19 @@ checksum = "b5320ae4c3782150d900b79807611a59a99fc9a1d61d686faafc24b93fc8d7ca"
|
|
|
323
361
|
|
|
324
362
|
[[package]]
|
|
325
363
|
name = "errno"
|
|
326
|
-
version = "0.3.
|
|
364
|
+
version = "0.3.5"
|
|
327
365
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
-
checksum = "
|
|
366
|
+
checksum = "ac3e13f66a2f95e32a39eaa81f6b95d42878ca0e1db0c7543723dfe12557e860"
|
|
329
367
|
dependencies = [
|
|
330
|
-
"errno-dragonfly",
|
|
331
368
|
"libc",
|
|
332
369
|
"windows-sys",
|
|
333
370
|
]
|
|
334
371
|
|
|
335
|
-
[[package]]
|
|
336
|
-
name = "errno-dragonfly"
|
|
337
|
-
version = "0.1.2"
|
|
338
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
339
|
-
checksum = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
|
|
340
|
-
dependencies = [
|
|
341
|
-
"cc",
|
|
342
|
-
"libc",
|
|
343
|
-
]
|
|
344
|
-
|
|
345
372
|
[[package]]
|
|
346
373
|
name = "fancy-regex"
|
|
347
|
-
version = "0.
|
|
374
|
+
version = "0.11.0"
|
|
348
375
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
349
|
-
checksum = "
|
|
376
|
+
checksum = "b95f7c0680e4142284cf8b22c14a476e87d61b004a3a0861872b32ef7ead40a2"
|
|
350
377
|
dependencies = [
|
|
351
378
|
"bit-set",
|
|
352
379
|
"regex",
|
|
@@ -354,9 +381,9 @@ dependencies = [
|
|
|
354
381
|
|
|
355
382
|
[[package]]
|
|
356
383
|
name = "flate2"
|
|
357
|
-
version = "1.0.
|
|
384
|
+
version = "1.0.27"
|
|
358
385
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
359
|
-
checksum = "
|
|
386
|
+
checksum = "c6c98ee8095e9d1dcbf2fcc6d95acccb90d1c81db1e44725c6a984b1dbdfb010"
|
|
360
387
|
dependencies = [
|
|
361
388
|
"crc32fast",
|
|
362
389
|
"miniz_oxide",
|
|
@@ -372,9 +399,11 @@ checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
|
|
372
399
|
name = "glfm_markdown"
|
|
373
400
|
version = "0.0.3"
|
|
374
401
|
dependencies = [
|
|
402
|
+
"anstream 0.4.0",
|
|
375
403
|
"argparse",
|
|
376
404
|
"comrak",
|
|
377
405
|
"magnus",
|
|
406
|
+
"rb-sys",
|
|
378
407
|
]
|
|
379
408
|
|
|
380
409
|
[[package]]
|
|
@@ -397,18 +426,9 @@ checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
|
397
426
|
|
|
398
427
|
[[package]]
|
|
399
428
|
name = "hermit-abi"
|
|
400
|
-
version = "0.3.
|
|
429
|
+
version = "0.3.3"
|
|
401
430
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
402
|
-
checksum = "
|
|
403
|
-
|
|
404
|
-
[[package]]
|
|
405
|
-
name = "home"
|
|
406
|
-
version = "0.5.5"
|
|
407
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
408
|
-
checksum = "5444c27eef6923071f7ebcc33e3444508466a76f7a2b93da00ed6e19f30c1ddb"
|
|
409
|
-
dependencies = [
|
|
410
|
-
"windows-sys",
|
|
411
|
-
]
|
|
431
|
+
checksum = "d77f7ec81a6d05a3abb01ab6eb7590f6083d08449fe5a1c8b1e620283546ccb7"
|
|
412
432
|
|
|
413
433
|
[[package]]
|
|
414
434
|
name = "ident_case"
|
|
@@ -426,34 +446,22 @@ dependencies = [
|
|
|
426
446
|
"hashbrown",
|
|
427
447
|
]
|
|
428
448
|
|
|
429
|
-
[[package]]
|
|
430
|
-
name = "io-lifetimes"
|
|
431
|
-
version = "1.0.11"
|
|
432
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
433
|
-
checksum = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
|
|
434
|
-
dependencies = [
|
|
435
|
-
"hermit-abi",
|
|
436
|
-
"libc",
|
|
437
|
-
"windows-sys",
|
|
438
|
-
]
|
|
439
|
-
|
|
440
449
|
[[package]]
|
|
441
450
|
name = "is-terminal"
|
|
442
|
-
version = "0.4.
|
|
451
|
+
version = "0.4.9"
|
|
443
452
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
444
|
-
checksum = "
|
|
453
|
+
checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
|
|
445
454
|
dependencies = [
|
|
446
455
|
"hermit-abi",
|
|
447
|
-
"io-lifetimes",
|
|
448
456
|
"rustix",
|
|
449
457
|
"windows-sys",
|
|
450
458
|
]
|
|
451
459
|
|
|
452
460
|
[[package]]
|
|
453
461
|
name = "itoa"
|
|
454
|
-
version = "1.0.
|
|
462
|
+
version = "1.0.9"
|
|
455
463
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
456
|
-
checksum = "
|
|
464
|
+
checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38"
|
|
457
465
|
|
|
458
466
|
[[package]]
|
|
459
467
|
name = "lazy_static"
|
|
@@ -469,9 +477,9 @@ checksum = "830d08ce1d1d941e6b30645f1a0eb5643013d835ce3779a5fc208261dbe10f55"
|
|
|
469
477
|
|
|
470
478
|
[[package]]
|
|
471
479
|
name = "libc"
|
|
472
|
-
version = "0.2.
|
|
480
|
+
version = "0.2.149"
|
|
473
481
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
474
|
-
checksum = "
|
|
482
|
+
checksum = "a08173bc88b7955d1b3145aa561539096c421ac8debde8cbc3612ec635fee29b"
|
|
475
483
|
|
|
476
484
|
[[package]]
|
|
477
485
|
name = "libloading"
|
|
@@ -500,15 +508,15 @@ checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
|
|
500
508
|
|
|
501
509
|
[[package]]
|
|
502
510
|
name = "linux-raw-sys"
|
|
503
|
-
version = "0.
|
|
511
|
+
version = "0.4.10"
|
|
504
512
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
505
|
-
checksum = "
|
|
513
|
+
checksum = "da2479e8c062e40bf0066ffa0bc823de0a9368974af99c9f6df941d2c231e03f"
|
|
506
514
|
|
|
507
515
|
[[package]]
|
|
508
516
|
name = "magnus"
|
|
509
|
-
version = "0.
|
|
517
|
+
version = "0.5.5"
|
|
510
518
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
-
checksum = "
|
|
519
|
+
checksum = "5b7a37670bc433d081ef5846d5589381fabd8d3410ad3b59faa6b1b4c9c3cbce"
|
|
512
520
|
dependencies = [
|
|
513
521
|
"magnus-macros",
|
|
514
522
|
"rb-sys",
|
|
@@ -517,9 +525,9 @@ dependencies = [
|
|
|
517
525
|
|
|
518
526
|
[[package]]
|
|
519
527
|
name = "magnus-macros"
|
|
520
|
-
version = "0.
|
|
528
|
+
version = "0.4.1"
|
|
521
529
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
522
|
-
checksum = "
|
|
530
|
+
checksum = "6cc17af1d45442c011aa579d727ec6cff8a69aea8a6bbad26736e7112d749bfb"
|
|
523
531
|
dependencies = [
|
|
524
532
|
"proc-macro2",
|
|
525
533
|
"quote",
|
|
@@ -528,9 +536,9 @@ dependencies = [
|
|
|
528
536
|
|
|
529
537
|
[[package]]
|
|
530
538
|
name = "memchr"
|
|
531
|
-
version = "2.
|
|
539
|
+
version = "2.6.4"
|
|
532
540
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
533
|
-
checksum = "
|
|
541
|
+
checksum = "f665ee40bc4a3c5590afb1e9677db74a508659dfd71e126420da8274909a0167"
|
|
534
542
|
|
|
535
543
|
[[package]]
|
|
536
544
|
name = "minimal-lexical"
|
|
@@ -569,7 +577,7 @@ version = "6.4.0"
|
|
|
569
577
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
570
578
|
checksum = "8c4b31c8722ad9171c6d77d3557db078cab2bd50afcc9d09c8b315c59df8ca4f"
|
|
571
579
|
dependencies = [
|
|
572
|
-
"bitflags",
|
|
580
|
+
"bitflags 1.3.2",
|
|
573
581
|
"libc",
|
|
574
582
|
"once_cell",
|
|
575
583
|
"onig_sys",
|
|
@@ -599,9 +607,9 @@ checksum = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
|
|
|
599
607
|
|
|
600
608
|
[[package]]
|
|
601
609
|
name = "plist"
|
|
602
|
-
version = "1.
|
|
610
|
+
version = "1.5.0"
|
|
603
611
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
604
|
-
checksum = "
|
|
612
|
+
checksum = "bdc0001cfea3db57a2e24bc0d818e9e20e554b5f97fabb9bc231dc240269ae06"
|
|
605
613
|
dependencies = [
|
|
606
614
|
"base64",
|
|
607
615
|
"indexmap",
|
|
@@ -613,45 +621,45 @@ dependencies = [
|
|
|
613
621
|
|
|
614
622
|
[[package]]
|
|
615
623
|
name = "proc-macro2"
|
|
616
|
-
version = "1.0.
|
|
624
|
+
version = "1.0.69"
|
|
617
625
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
618
|
-
checksum = "
|
|
626
|
+
checksum = "134c189feb4956b20f6f547d2cf727d4c0fe06722b20a0eec87ed445a97f92da"
|
|
619
627
|
dependencies = [
|
|
620
628
|
"unicode-ident",
|
|
621
629
|
]
|
|
622
630
|
|
|
623
631
|
[[package]]
|
|
624
632
|
name = "quick-xml"
|
|
625
|
-
version = "0.
|
|
633
|
+
version = "0.29.0"
|
|
626
634
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
627
|
-
checksum = "
|
|
635
|
+
checksum = "81b9228215d82c7b61490fec1de287136b5de6f5700f6e58ea9ad61a7964ca51"
|
|
628
636
|
dependencies = [
|
|
629
637
|
"memchr",
|
|
630
638
|
]
|
|
631
639
|
|
|
632
640
|
[[package]]
|
|
633
641
|
name = "quote"
|
|
634
|
-
version = "1.0.
|
|
642
|
+
version = "1.0.33"
|
|
635
643
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
636
|
-
checksum = "
|
|
644
|
+
checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae"
|
|
637
645
|
dependencies = [
|
|
638
646
|
"proc-macro2",
|
|
639
647
|
]
|
|
640
648
|
|
|
641
649
|
[[package]]
|
|
642
650
|
name = "rb-sys"
|
|
643
|
-
version = "0.9.
|
|
651
|
+
version = "0.9.82"
|
|
644
652
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
645
|
-
checksum = "
|
|
653
|
+
checksum = "a3e6bf79bf4c711917cacfaf46dfab4314dbfdd89a8ee3ec4b98336cd23f1ebf"
|
|
646
654
|
dependencies = [
|
|
647
655
|
"rb-sys-build",
|
|
648
656
|
]
|
|
649
657
|
|
|
650
658
|
[[package]]
|
|
651
659
|
name = "rb-sys-build"
|
|
652
|
-
version = "0.9.
|
|
660
|
+
version = "0.9.82"
|
|
653
661
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
654
|
-
checksum = "
|
|
662
|
+
checksum = "5482a1ed4cde58dddaf162b6aebcb5c25645822547832b8be101f2acd40bcdd6"
|
|
655
663
|
dependencies = [
|
|
656
664
|
"bindgen",
|
|
657
665
|
"lazy_static",
|
|
@@ -659,7 +667,7 @@ dependencies = [
|
|
|
659
667
|
"quote",
|
|
660
668
|
"regex",
|
|
661
669
|
"shell-words",
|
|
662
|
-
"syn
|
|
670
|
+
"syn 2.0.38",
|
|
663
671
|
]
|
|
664
672
|
|
|
665
673
|
[[package]]
|
|
@@ -670,26 +678,38 @@ checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
|
|
|
670
678
|
|
|
671
679
|
[[package]]
|
|
672
680
|
name = "regex"
|
|
673
|
-
version = "1.
|
|
681
|
+
version = "1.10.0"
|
|
682
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
683
|
+
checksum = "d119d7c7ca818f8a53c300863d4f87566aac09943aef5b355bb83969dae75d87"
|
|
684
|
+
dependencies = [
|
|
685
|
+
"aho-corasick",
|
|
686
|
+
"memchr",
|
|
687
|
+
"regex-automata",
|
|
688
|
+
"regex-syntax 0.8.1",
|
|
689
|
+
]
|
|
690
|
+
|
|
691
|
+
[[package]]
|
|
692
|
+
name = "regex-automata"
|
|
693
|
+
version = "0.4.1"
|
|
674
694
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
675
|
-
checksum = "
|
|
695
|
+
checksum = "465c6fc0621e4abc4187a2bda0937bfd4f722c2730b29562e19689ea796c9a4b"
|
|
676
696
|
dependencies = [
|
|
677
697
|
"aho-corasick",
|
|
678
698
|
"memchr",
|
|
679
|
-
"regex-syntax 0.
|
|
699
|
+
"regex-syntax 0.8.1",
|
|
680
700
|
]
|
|
681
701
|
|
|
682
702
|
[[package]]
|
|
683
703
|
name = "regex-syntax"
|
|
684
|
-
version = "0.
|
|
704
|
+
version = "0.7.5"
|
|
685
705
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
686
|
-
checksum = "
|
|
706
|
+
checksum = "dbb5fb1acd8a1a18b3dd5be62d25485eb770e05afb408a9627d14d451bae12da"
|
|
687
707
|
|
|
688
708
|
[[package]]
|
|
689
709
|
name = "regex-syntax"
|
|
690
|
-
version = "0.
|
|
710
|
+
version = "0.8.1"
|
|
691
711
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
692
|
-
checksum = "
|
|
712
|
+
checksum = "56d84fdd47036b038fc80dd333d10b6aab10d5d31f4a366e20014def75328d33"
|
|
693
713
|
|
|
694
714
|
[[package]]
|
|
695
715
|
name = "rustc-hash"
|
|
@@ -699,13 +719,12 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
|
|
|
699
719
|
|
|
700
720
|
[[package]]
|
|
701
721
|
name = "rustix"
|
|
702
|
-
version = "0.
|
|
722
|
+
version = "0.38.18"
|
|
703
723
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
704
|
-
checksum = "
|
|
724
|
+
checksum = "5a74ee2d7c2581cd139b42447d7d9389b889bdaad3a73f1ebb16f2a3237bb19c"
|
|
705
725
|
dependencies = [
|
|
706
|
-
"bitflags",
|
|
726
|
+
"bitflags 2.4.0",
|
|
707
727
|
"errno",
|
|
708
|
-
"io-lifetimes",
|
|
709
728
|
"libc",
|
|
710
729
|
"linux-raw-sys",
|
|
711
730
|
"windows-sys",
|
|
@@ -713,9 +732,9 @@ dependencies = [
|
|
|
713
732
|
|
|
714
733
|
[[package]]
|
|
715
734
|
name = "ryu"
|
|
716
|
-
version = "1.0.
|
|
735
|
+
version = "1.0.15"
|
|
717
736
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
718
|
-
checksum = "
|
|
737
|
+
checksum = "1ad4cc8da4ef723ed60bced201181d83791ad433213d8c24efffda1eec85d741"
|
|
719
738
|
|
|
720
739
|
[[package]]
|
|
721
740
|
name = "safemem"
|
|
@@ -734,26 +753,29 @@ dependencies = [
|
|
|
734
753
|
|
|
735
754
|
[[package]]
|
|
736
755
|
name = "serde"
|
|
737
|
-
version = "1.0.
|
|
756
|
+
version = "1.0.188"
|
|
738
757
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
739
|
-
checksum = "
|
|
758
|
+
checksum = "cf9e0fcba69a370eed61bcf2b728575f726b50b55cba78064753d708ddc7549e"
|
|
759
|
+
dependencies = [
|
|
760
|
+
"serde_derive",
|
|
761
|
+
]
|
|
740
762
|
|
|
741
763
|
[[package]]
|
|
742
764
|
name = "serde_derive"
|
|
743
|
-
version = "1.0.
|
|
765
|
+
version = "1.0.188"
|
|
744
766
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
745
|
-
checksum = "
|
|
767
|
+
checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2"
|
|
746
768
|
dependencies = [
|
|
747
769
|
"proc-macro2",
|
|
748
770
|
"quote",
|
|
749
|
-
"syn 2.0.
|
|
771
|
+
"syn 2.0.38",
|
|
750
772
|
]
|
|
751
773
|
|
|
752
774
|
[[package]]
|
|
753
775
|
name = "serde_json"
|
|
754
|
-
version = "1.0.
|
|
776
|
+
version = "1.0.107"
|
|
755
777
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
756
|
-
checksum = "
|
|
778
|
+
checksum = "6b420ce6e3d8bd882e9b243c6eed35dbc9a6110c9769e74b584e0d68d1f20c65"
|
|
757
779
|
dependencies = [
|
|
758
780
|
"itoa",
|
|
759
781
|
"ryu",
|
|
@@ -768,9 +790,9 @@ checksum = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde"
|
|
|
768
790
|
|
|
769
791
|
[[package]]
|
|
770
792
|
name = "shlex"
|
|
771
|
-
version = "1.
|
|
793
|
+
version = "1.2.0"
|
|
772
794
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
773
|
-
checksum = "
|
|
795
|
+
checksum = "a7cee0529a6d40f580e7a5e6c495c8fbfe21b7b52795ed4bb5e62cdf92bc6380"
|
|
774
796
|
|
|
775
797
|
[[package]]
|
|
776
798
|
name = "slug"
|
|
@@ -800,9 +822,9 @@ dependencies = [
|
|
|
800
822
|
|
|
801
823
|
[[package]]
|
|
802
824
|
name = "syn"
|
|
803
|
-
version = "2.0.
|
|
825
|
+
version = "2.0.38"
|
|
804
826
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
805
|
-
checksum = "
|
|
827
|
+
checksum = "e96b79aaa137db8f61e26363a0c9b47d8b4ec75da28b7d1d614c2303e232408b"
|
|
806
828
|
dependencies = [
|
|
807
829
|
"proc-macro2",
|
|
808
830
|
"quote",
|
|
@@ -811,22 +833,20 @@ dependencies = [
|
|
|
811
833
|
|
|
812
834
|
[[package]]
|
|
813
835
|
name = "syntect"
|
|
814
|
-
version = "5.
|
|
836
|
+
version = "5.1.0"
|
|
815
837
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
816
|
-
checksum = "
|
|
838
|
+
checksum = "e02b4b303bf8d08bfeb0445cba5068a3d306b6baece1d5582171a9bf49188f91"
|
|
817
839
|
dependencies = [
|
|
818
840
|
"bincode",
|
|
819
|
-
"bitflags",
|
|
841
|
+
"bitflags 1.3.2",
|
|
820
842
|
"fancy-regex",
|
|
821
843
|
"flate2",
|
|
822
844
|
"fnv",
|
|
823
|
-
"lazy_static",
|
|
824
845
|
"once_cell",
|
|
825
846
|
"onig",
|
|
826
847
|
"plist",
|
|
827
|
-
"regex-syntax 0.
|
|
848
|
+
"regex-syntax 0.7.5",
|
|
828
849
|
"serde",
|
|
829
|
-
"serde_derive",
|
|
830
850
|
"serde_json",
|
|
831
851
|
"thiserror",
|
|
832
852
|
"walkdir",
|
|
@@ -835,9 +855,9 @@ dependencies = [
|
|
|
835
855
|
|
|
836
856
|
[[package]]
|
|
837
857
|
name = "terminal_size"
|
|
838
|
-
version = "0.
|
|
858
|
+
version = "0.3.0"
|
|
839
859
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
840
|
-
checksum = "
|
|
860
|
+
checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7"
|
|
841
861
|
dependencies = [
|
|
842
862
|
"rustix",
|
|
843
863
|
"windows-sys",
|
|
@@ -845,30 +865,31 @@ dependencies = [
|
|
|
845
865
|
|
|
846
866
|
[[package]]
|
|
847
867
|
name = "thiserror"
|
|
848
|
-
version = "1.0.
|
|
868
|
+
version = "1.0.49"
|
|
849
869
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
850
|
-
checksum = "
|
|
870
|
+
checksum = "1177e8c6d7ede7afde3585fd2513e611227efd6481bd78d2e82ba1ce16557ed4"
|
|
851
871
|
dependencies = [
|
|
852
872
|
"thiserror-impl",
|
|
853
873
|
]
|
|
854
874
|
|
|
855
875
|
[[package]]
|
|
856
876
|
name = "thiserror-impl"
|
|
857
|
-
version = "1.0.
|
|
877
|
+
version = "1.0.49"
|
|
858
878
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
859
|
-
checksum = "
|
|
879
|
+
checksum = "10712f02019e9288794769fba95cd6847df9874d49d871d062172f9dd41bc4cc"
|
|
860
880
|
dependencies = [
|
|
861
881
|
"proc-macro2",
|
|
862
882
|
"quote",
|
|
863
|
-
"syn 2.0.
|
|
883
|
+
"syn 2.0.38",
|
|
864
884
|
]
|
|
865
885
|
|
|
866
886
|
[[package]]
|
|
867
887
|
name = "time"
|
|
868
|
-
version = "0.3.
|
|
888
|
+
version = "0.3.29"
|
|
869
889
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
870
|
-
checksum = "
|
|
890
|
+
checksum = "426f806f4089c493dcac0d24c29c01e2c38baf8e30f1b716ee37e83d200b18fe"
|
|
871
891
|
dependencies = [
|
|
892
|
+
"deranged",
|
|
872
893
|
"itoa",
|
|
873
894
|
"serde",
|
|
874
895
|
"time-core",
|
|
@@ -877,15 +898,15 @@ dependencies = [
|
|
|
877
898
|
|
|
878
899
|
[[package]]
|
|
879
900
|
name = "time-core"
|
|
880
|
-
version = "0.1.
|
|
901
|
+
version = "0.1.2"
|
|
881
902
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
882
|
-
checksum = "
|
|
903
|
+
checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
|
|
883
904
|
|
|
884
905
|
[[package]]
|
|
885
906
|
name = "time-macros"
|
|
886
|
-
version = "0.2.
|
|
907
|
+
version = "0.2.15"
|
|
887
908
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
888
|
-
checksum = "
|
|
909
|
+
checksum = "4ad70d68dba9e1f8aceda7aa6711965dfec1cac869f311a51bd08b3a2ccbce20"
|
|
889
910
|
dependencies = [
|
|
890
911
|
"time-core",
|
|
891
912
|
]
|
|
@@ -898,9 +919,9 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
|
|
|
898
919
|
|
|
899
920
|
[[package]]
|
|
900
921
|
name = "unicode-ident"
|
|
901
|
-
version = "1.0.
|
|
922
|
+
version = "1.0.12"
|
|
902
923
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
903
|
-
checksum = "
|
|
924
|
+
checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b"
|
|
904
925
|
|
|
905
926
|
[[package]]
|
|
906
927
|
name = "unicode_categories"
|
|
@@ -916,9 +937,9 @@ checksum = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
|
|
|
916
937
|
|
|
917
938
|
[[package]]
|
|
918
939
|
name = "walkdir"
|
|
919
|
-
version = "2.
|
|
940
|
+
version = "2.4.0"
|
|
920
941
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
921
|
-
checksum = "
|
|
942
|
+
checksum = "d71d857dc86794ca4c280d616f7da00d2dbfd8cd788846559a6813e6aa4b54ee"
|
|
922
943
|
dependencies = [
|
|
923
944
|
"same-file",
|
|
924
945
|
"winapi-util",
|
|
@@ -942,9 +963,9 @@ checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
|
|
942
963
|
|
|
943
964
|
[[package]]
|
|
944
965
|
name = "winapi-util"
|
|
945
|
-
version = "0.1.
|
|
966
|
+
version = "0.1.6"
|
|
946
967
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
947
|
-
checksum = "
|
|
968
|
+
checksum = "f29e6f9198ba0d26b4c9f07dbe6f9ed633e1f3d5b8b414090084349e46a52596"
|
|
948
969
|
dependencies = [
|
|
949
970
|
"winapi",
|
|
950
971
|
]
|
|
@@ -966,9 +987,9 @@ dependencies = [
|
|
|
966
987
|
|
|
967
988
|
[[package]]
|
|
968
989
|
name = "windows-targets"
|
|
969
|
-
version = "0.48.
|
|
990
|
+
version = "0.48.5"
|
|
970
991
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
971
|
-
checksum = "
|
|
992
|
+
checksum = "9a2fa6e2155d7247be68c096456083145c183cbbbc2764150dda45a87197940c"
|
|
972
993
|
dependencies = [
|
|
973
994
|
"windows_aarch64_gnullvm",
|
|
974
995
|
"windows_aarch64_msvc",
|
|
@@ -981,54 +1002,51 @@ dependencies = [
|
|
|
981
1002
|
|
|
982
1003
|
[[package]]
|
|
983
1004
|
name = "windows_aarch64_gnullvm"
|
|
984
|
-
version = "0.48.
|
|
1005
|
+
version = "0.48.5"
|
|
985
1006
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
986
|
-
checksum = "
|
|
1007
|
+
checksum = "2b38e32f0abccf9987a4e3079dfb67dcd799fb61361e53e2882c3cbaf0d905d8"
|
|
987
1008
|
|
|
988
1009
|
[[package]]
|
|
989
1010
|
name = "windows_aarch64_msvc"
|
|
990
|
-
version = "0.48.
|
|
1011
|
+
version = "0.48.5"
|
|
991
1012
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
992
|
-
checksum = "
|
|
1013
|
+
checksum = "dc35310971f3b2dbbf3f0690a219f40e2d9afcf64f9ab7cc1be722937c26b4bc"
|
|
993
1014
|
|
|
994
1015
|
[[package]]
|
|
995
1016
|
name = "windows_i686_gnu"
|
|
996
|
-
version = "0.48.
|
|
1017
|
+
version = "0.48.5"
|
|
997
1018
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
998
|
-
checksum = "
|
|
1019
|
+
checksum = "a75915e7def60c94dcef72200b9a8e58e5091744960da64ec734a6c6e9b3743e"
|
|
999
1020
|
|
|
1000
1021
|
[[package]]
|
|
1001
1022
|
name = "windows_i686_msvc"
|
|
1002
|
-
version = "0.48.
|
|
1023
|
+
version = "0.48.5"
|
|
1003
1024
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1004
|
-
checksum = "
|
|
1025
|
+
checksum = "8f55c233f70c4b27f66c523580f78f1004e8b5a8b659e05a4eb49d4166cca406"
|
|
1005
1026
|
|
|
1006
1027
|
[[package]]
|
|
1007
1028
|
name = "windows_x86_64_gnu"
|
|
1008
|
-
version = "0.48.
|
|
1029
|
+
version = "0.48.5"
|
|
1009
1030
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1010
|
-
checksum = "
|
|
1031
|
+
checksum = "53d40abd2583d23e4718fddf1ebec84dbff8381c07cae67ff7768bbf19c6718e"
|
|
1011
1032
|
|
|
1012
1033
|
[[package]]
|
|
1013
1034
|
name = "windows_x86_64_gnullvm"
|
|
1014
|
-
version = "0.48.
|
|
1035
|
+
version = "0.48.5"
|
|
1015
1036
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1016
|
-
checksum = "
|
|
1037
|
+
checksum = "0b7b52767868a23d5bab768e390dc5f5c55825b6d30b86c844ff2dc7414044cc"
|
|
1017
1038
|
|
|
1018
1039
|
[[package]]
|
|
1019
1040
|
name = "windows_x86_64_msvc"
|
|
1020
|
-
version = "0.48.
|
|
1041
|
+
version = "0.48.5"
|
|
1021
1042
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1022
|
-
checksum = "
|
|
1043
|
+
checksum = "ed94fce61571a4006852b7389a063ab983c02eb1bb37b47f8272ce92d06d9538"
|
|
1023
1044
|
|
|
1024
1045
|
[[package]]
|
|
1025
1046
|
name = "xdg"
|
|
1026
|
-
version = "2.5.
|
|
1047
|
+
version = "2.5.2"
|
|
1027
1048
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1028
|
-
checksum = "
|
|
1029
|
-
dependencies = [
|
|
1030
|
-
"home",
|
|
1031
|
-
]
|
|
1049
|
+
checksum = "213b7324336b53d2414b2db8537e56544d981803139155afa84f76eeebb7a546"
|
|
1032
1050
|
|
|
1033
1051
|
[[package]]
|
|
1034
1052
|
name = "yaml-rust"
|
data/LICENSE
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright (c) 2011-present GitLab B.V.
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Portions of this software are licensed as follows:
|
|
4
|
+
|
|
5
|
+
* All content residing under the "doc/" directory of this repository is licensed under "Creative Commons: CC BY-SA 4.0 license".
|
|
6
|
+
* All content that resides under the "ee/" directory of this repository, if that directory exists, is licensed under the license defined in "ee/LICENSE".
|
|
7
|
+
* All content that resides under the "jh/" directory of this repository, if that directory exists, is licensed under the license defined in "jh/LICENSE".
|
|
8
|
+
* All client-side JavaScript (when served directly or after being compiled, arranged, augmented, or combined), is licensed under the "MIT Expat" license.
|
|
9
|
+
* All third party components incorporated into the GitLab Software are licensed under the original license provided by the owner of the applicable component.
|
|
10
|
+
* Content outside of the above mentioned directories or restrictions above is available under the "MIT Expat" license as defined below.
|
|
4
11
|
|
|
5
12
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
13
|
of this software and associated documentation files (the "Software"), to deal
|
data/README.md
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
# GitLab Flavored Markdown
|
|
2
2
|
|
|
3
|
+
[](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/commits/main)
|
|
4
|
+
[](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/releases)
|
|
5
|
+
|
|
3
6
|
Implements GLFM (as used by GitLab) using a Rust-based markdown parser.
|
|
4
7
|
|
|
5
8
|
This project is currently EXPLORATORY, so anything and everything will change.
|
|
@@ -36,6 +39,26 @@ cargo run --bin glfm_markdown -- --sourcepos
|
|
|
36
39
|
|
|
37
40
|
There is a VSCode workspace that allows you to `Debug executable`
|
|
38
41
|
|
|
42
|
+
When developing another project locally and using `gitlab-glfm-markdown` by linking
|
|
43
|
+
directly to the gem's source directory, make sure that you're using the same version
|
|
44
|
+
of Ruby for the project and the gem. Otherwise you can see unexplained errors when
|
|
45
|
+
calling into the gem.
|
|
46
|
+
|
|
47
|
+
### Releasing a new version
|
|
48
|
+
|
|
49
|
+
To release a new version:
|
|
50
|
+
|
|
51
|
+
1. Update `lib/glfm_markdown/version.rb` with the version number.
|
|
52
|
+
1. Update `CHANGELOG.md` with the changes in the release.
|
|
53
|
+
1. Create a merge request and merge it to `master`.
|
|
54
|
+
1. Push a new tag to the repository.
|
|
55
|
+
|
|
56
|
+
The new version with precompiled, native gems will automatically be
|
|
57
|
+
published to [RubyGems](https://rubygems.org/gems/gitlab-glfm-markdown) when the
|
|
58
|
+
pipeline for the tag completes.
|
|
59
|
+
|
|
39
60
|
## Contributing
|
|
40
61
|
|
|
41
62
|
Bug reports and merge requests are welcome on GitLab at https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown.
|
|
63
|
+
|
|
64
|
+
Please refer to [CONTRIBUTING](CONTRIBUTING.md) for more details.
|
|
@@ -12,6 +12,8 @@ crate-type = ["cdylib"]
|
|
|
12
12
|
name = "glfm_markdown"
|
|
13
13
|
|
|
14
14
|
[dependencies]
|
|
15
|
-
magnus = { version = "0.
|
|
15
|
+
magnus = { version = "0.5" }
|
|
16
|
+
rb-sys = { version = "0.9.82", default-features = false, features = ["stable-api-compiled-fallback"] }
|
|
16
17
|
argparse = { version = ">= 0.2.1" }
|
|
17
|
-
comrak = {
|
|
18
|
+
comrak = { version = "0.19.0" }
|
|
19
|
+
anstream = { version = "0.4" } # TODO keep until we upgrade to rustc 1.70.0 or newer
|
|
@@ -3,7 +3,7 @@ use magnus::{define_module, function, prelude::*, Error, RHash, Symbol};
|
|
|
3
3
|
mod glfm;
|
|
4
4
|
use glfm::{render, RenderOptions};
|
|
5
5
|
|
|
6
|
-
pub fn
|
|
6
|
+
pub fn render_to_html_rs(text: String, options: RHash) -> String {
|
|
7
7
|
let sourcepos: bool = options.lookup::<_, bool>(Symbol::new("sourcepos")).unwrap();
|
|
8
8
|
let debug: bool = options.lookup::<_, bool>(Symbol::new("debug")).unwrap();
|
|
9
9
|
let render_options = RenderOptions { sourcepos, debug };
|
|
@@ -15,7 +15,7 @@ pub fn render_to_html(text: String, options: RHash) -> String {
|
|
|
15
15
|
fn init() -> Result<(), Error> {
|
|
16
16
|
let module = define_module("GLFMMarkdown")?;
|
|
17
17
|
|
|
18
|
-
module.define_singleton_method("
|
|
18
|
+
module.define_singleton_method("render_to_html_rs", function!(render_to_html_rs, 2))?;
|
|
19
19
|
|
|
20
20
|
Ok(())
|
|
21
21
|
}
|
data/lib/glfm_markdown.rb
CHANGED
|
@@ -1,17 +1,20 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
3
|
require_relative 'glfm_markdown/version'
|
|
4
|
-
require_relative 'glfm_markdown/
|
|
4
|
+
require_relative 'glfm_markdown/loader'
|
|
5
5
|
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}.freeze
|
|
6
|
+
load_rust_extension
|
|
7
|
+
|
|
8
|
+
DEFAULT_OPTIONS = { sourcepos: true, debug: false }.freeze
|
|
10
9
|
|
|
11
10
|
module GLFMMarkdown
|
|
12
11
|
class << self
|
|
13
|
-
def to_html(
|
|
14
|
-
|
|
12
|
+
def to_html(markdown, options: {})
|
|
13
|
+
raise TypeError, 'markdown must be a String' unless markdown.is_a?(String)
|
|
14
|
+
raise TypeError, 'markdown must be UTF-8 encoded' unless markdown.encoding.name == "UTF-8"
|
|
15
|
+
raise TypeError, 'options must be a Hash' unless options.is_a?(Hash)
|
|
16
|
+
|
|
17
|
+
render_to_html_rs(markdown, DEFAULT_OPTIONS.merge(options))
|
|
15
18
|
end
|
|
16
19
|
end
|
|
17
20
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: gitlab-glfm-markdown
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Brett Walker
|
|
8
8
|
autorequire:
|
|
9
|
-
bindir:
|
|
9
|
+
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2023-
|
|
11
|
+
date: 2023-10-19 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rb_sys
|
|
@@ -80,7 +80,7 @@ dependencies:
|
|
|
80
80
|
- - "~>"
|
|
81
81
|
- !ruby/object:Gem::Version
|
|
82
82
|
version: '1.3'
|
|
83
|
-
description:
|
|
83
|
+
description: Markdown processing for GitLab Flavored Markdown
|
|
84
84
|
email:
|
|
85
85
|
- bwalker@gitlab.com
|
|
86
86
|
executables: []
|
|
@@ -97,13 +97,15 @@ files:
|
|
|
97
97
|
- ext/glfm_markdown/src/lib.rs
|
|
98
98
|
- ext/glfm_markdown/src/main.rs
|
|
99
99
|
- lib/glfm_markdown.rb
|
|
100
|
+
- lib/glfm_markdown/loader.rb
|
|
100
101
|
- lib/glfm_markdown/version.rb
|
|
101
102
|
homepage: https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown
|
|
102
|
-
licenses:
|
|
103
|
+
licenses:
|
|
104
|
+
- MIT
|
|
103
105
|
metadata:
|
|
104
106
|
homepage_uri: https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown
|
|
105
107
|
source_code_uri: https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown
|
|
106
|
-
changelog_uri: https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/
|
|
108
|
+
changelog_uri: https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/releases
|
|
107
109
|
post_install_message:
|
|
108
110
|
rdoc_options: []
|
|
109
111
|
require_paths:
|
|
@@ -112,14 +114,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
112
114
|
requirements:
|
|
113
115
|
- - ">="
|
|
114
116
|
- !ruby/object:Gem::Version
|
|
115
|
-
version:
|
|
117
|
+
version: '2.7'
|
|
116
118
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
117
119
|
requirements:
|
|
118
120
|
- - ">="
|
|
119
121
|
- !ruby/object:Gem::Version
|
|
120
|
-
version:
|
|
122
|
+
version: '0'
|
|
121
123
|
requirements: []
|
|
122
|
-
rubygems_version: 3.
|
|
124
|
+
rubygems_version: 3.3.26
|
|
123
125
|
signing_key:
|
|
124
126
|
specification_version: 4
|
|
125
127
|
summary: GLFM Markdown
|