commonmarker 2.8.2 → 2.9.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.
- checksums.yaml +4 -4
- data/Cargo.lock +91 -427
- data/README.md +2 -0
- data/ext/commonmarker/Cargo.toml +21 -2
- data/ext/commonmarker/src/node.rs +15 -3
- data/ext/commonmarker/src/options.rs +11 -0
- data/lib/commonmarker/config.rb +2 -0
- data/lib/commonmarker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 051a8f17a827d1329de0031ac4f933b3a78aee387707562979698f810bb64a87
|
|
4
|
+
data.tar.gz: e4f6e3c99d4c680db8d41f6d2bea08fb394db91cd628fed345a47c8b2f078e9f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dce8bf8e72268b9304ad04bc91d741be82f6e35de32a6914cacbce2be17b89ea1349c04dc45e83b06f91eeecb3eb36b697d099044b53926a1cafdb9bf7003894
|
|
7
|
+
data.tar.gz: 9dbcbfea2785a3e5567f605e0b96ff87e78cee59aa4219b524a55fd1d4241261acbc76fd5d3950565ca457795e0b957a3b19c5a27f6284eddce227de41653cff
|
data/Cargo.lock
CHANGED
|
@@ -17,56 +17,6 @@ dependencies = [
|
|
|
17
17
|
"memchr",
|
|
18
18
|
]
|
|
19
19
|
|
|
20
|
-
[[package]]
|
|
21
|
-
name = "anstream"
|
|
22
|
-
version = "0.6.21"
|
|
23
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
24
|
-
checksum = "43d5b281e737544384e969a5ccad3f1cdd24b48086a0fc1b2a5262a26b8f4f4a"
|
|
25
|
-
dependencies = [
|
|
26
|
-
"anstyle",
|
|
27
|
-
"anstyle-parse",
|
|
28
|
-
"anstyle-query",
|
|
29
|
-
"anstyle-wincon",
|
|
30
|
-
"colorchoice",
|
|
31
|
-
"is_terminal_polyfill",
|
|
32
|
-
"utf8parse",
|
|
33
|
-
]
|
|
34
|
-
|
|
35
|
-
[[package]]
|
|
36
|
-
name = "anstyle"
|
|
37
|
-
version = "1.0.13"
|
|
38
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
-
checksum = "5192cca8006f1fd4f7237516f40fa183bb07f8fbdfedaa0036de5ea9b0b45e78"
|
|
40
|
-
|
|
41
|
-
[[package]]
|
|
42
|
-
name = "anstyle-parse"
|
|
43
|
-
version = "0.2.7"
|
|
44
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
45
|
-
checksum = "4e7644824f0aa2c7b9384579234ef10eb7efb6a0deb83f9630a49594dd9c15c2"
|
|
46
|
-
dependencies = [
|
|
47
|
-
"utf8parse",
|
|
48
|
-
]
|
|
49
|
-
|
|
50
|
-
[[package]]
|
|
51
|
-
name = "anstyle-query"
|
|
52
|
-
version = "1.1.5"
|
|
53
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
54
|
-
checksum = "40c48f72fd53cd289104fc64099abca73db4166ad86ea0b4341abe65af83dadc"
|
|
55
|
-
dependencies = [
|
|
56
|
-
"windows-sys 0.61.2",
|
|
57
|
-
]
|
|
58
|
-
|
|
59
|
-
[[package]]
|
|
60
|
-
name = "anstyle-wincon"
|
|
61
|
-
version = "3.0.11"
|
|
62
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
63
|
-
checksum = "291e6a250ff86cd4a820112fb8898808a366d8f9f58ce16d1f538353ad55747d"
|
|
64
|
-
dependencies = [
|
|
65
|
-
"anstyle",
|
|
66
|
-
"once_cell_polyfill",
|
|
67
|
-
"windows-sys 0.61.2",
|
|
68
|
-
]
|
|
69
|
-
|
|
70
20
|
[[package]]
|
|
71
21
|
name = "base64"
|
|
72
22
|
version = "0.22.1"
|
|
@@ -96,7 +46,7 @@ dependencies = [
|
|
|
96
46
|
"quote",
|
|
97
47
|
"regex",
|
|
98
48
|
"rustc-hash",
|
|
99
|
-
"shlex",
|
|
49
|
+
"shlex 1.3.0",
|
|
100
50
|
"syn",
|
|
101
51
|
]
|
|
102
52
|
|
|
@@ -117,34 +67,9 @@ checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
|
|
|
117
67
|
|
|
118
68
|
[[package]]
|
|
119
69
|
name = "bitflags"
|
|
120
|
-
version = "2.
|
|
121
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
122
|
-
checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
|
|
123
|
-
|
|
124
|
-
[[package]]
|
|
125
|
-
name = "bon"
|
|
126
|
-
version = "3.8.2"
|
|
127
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
128
|
-
checksum = "234655ec178edd82b891e262ea7cf71f6584bcd09eff94db786be23f1821825c"
|
|
129
|
-
dependencies = [
|
|
130
|
-
"bon-macros",
|
|
131
|
-
"rustversion",
|
|
132
|
-
]
|
|
133
|
-
|
|
134
|
-
[[package]]
|
|
135
|
-
name = "bon-macros"
|
|
136
|
-
version = "3.8.2"
|
|
70
|
+
version = "2.13.0"
|
|
137
71
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
138
|
-
checksum = "
|
|
139
|
-
dependencies = [
|
|
140
|
-
"darling",
|
|
141
|
-
"ident_case",
|
|
142
|
-
"prettyplease",
|
|
143
|
-
"proc-macro2",
|
|
144
|
-
"quote",
|
|
145
|
-
"rustversion",
|
|
146
|
-
"syn",
|
|
147
|
-
]
|
|
72
|
+
checksum = "b4388bee8683e3d04af747c73422af53102d2bd24d9eadb6cbc100baef4b43f8"
|
|
148
73
|
|
|
149
74
|
[[package]]
|
|
150
75
|
name = "caseless"
|
|
@@ -157,12 +82,12 @@ dependencies = [
|
|
|
157
82
|
|
|
158
83
|
[[package]]
|
|
159
84
|
name = "cc"
|
|
160
|
-
version = "1.2.
|
|
85
|
+
version = "1.2.67"
|
|
161
86
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
162
|
-
checksum = "
|
|
87
|
+
checksum = "e17dd265a7d0f31ef544e1b20e03add05d3b45b491b633b10d67145d2acc1a38"
|
|
163
88
|
dependencies = [
|
|
164
89
|
"find-msvc-tools",
|
|
165
|
-
"shlex",
|
|
90
|
+
"shlex 2.0.1",
|
|
166
91
|
]
|
|
167
92
|
|
|
168
93
|
[[package]]
|
|
@@ -191,53 +116,6 @@ dependencies = [
|
|
|
191
116
|
"libloading",
|
|
192
117
|
]
|
|
193
118
|
|
|
194
|
-
[[package]]
|
|
195
|
-
name = "clap"
|
|
196
|
-
version = "4.5.54"
|
|
197
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
198
|
-
checksum = "c6e6ff9dcd79cff5cd969a17a545d79e84ab086e444102a591e288a8aa3ce394"
|
|
199
|
-
dependencies = [
|
|
200
|
-
"clap_builder",
|
|
201
|
-
"clap_derive",
|
|
202
|
-
]
|
|
203
|
-
|
|
204
|
-
[[package]]
|
|
205
|
-
name = "clap_builder"
|
|
206
|
-
version = "4.5.54"
|
|
207
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
208
|
-
checksum = "fa42cf4d2b7a41bc8f663a7cab4031ebafa1bf3875705bfaf8466dc60ab52c00"
|
|
209
|
-
dependencies = [
|
|
210
|
-
"anstream",
|
|
211
|
-
"anstyle",
|
|
212
|
-
"clap_lex",
|
|
213
|
-
"strsim",
|
|
214
|
-
"terminal_size",
|
|
215
|
-
]
|
|
216
|
-
|
|
217
|
-
[[package]]
|
|
218
|
-
name = "clap_derive"
|
|
219
|
-
version = "4.5.49"
|
|
220
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
221
|
-
checksum = "2a0b5487afeab2deb2ff4e03a807ad1a03ac532ff5a2cee5d86884440c7f7671"
|
|
222
|
-
dependencies = [
|
|
223
|
-
"heck",
|
|
224
|
-
"proc-macro2",
|
|
225
|
-
"quote",
|
|
226
|
-
"syn",
|
|
227
|
-
]
|
|
228
|
-
|
|
229
|
-
[[package]]
|
|
230
|
-
name = "clap_lex"
|
|
231
|
-
version = "0.7.7"
|
|
232
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
233
|
-
checksum = "c3e64b0cc0439b12df2fa678eae89a1c56a529fd067a9115f7827f1fffd22b32"
|
|
234
|
-
|
|
235
|
-
[[package]]
|
|
236
|
-
name = "colorchoice"
|
|
237
|
-
version = "1.0.4"
|
|
238
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
239
|
-
checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
|
|
240
|
-
|
|
241
119
|
[[package]]
|
|
242
120
|
name = "commonmarker"
|
|
243
121
|
version = "1.0.0"
|
|
@@ -253,26 +131,21 @@ dependencies = [
|
|
|
253
131
|
|
|
254
132
|
[[package]]
|
|
255
133
|
name = "comrak"
|
|
256
|
-
version = "0.
|
|
134
|
+
version = "0.54.0"
|
|
257
135
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
258
|
-
checksum = "
|
|
136
|
+
checksum = "0d5910408554659ed848ff469e67ec83b30f179e72cec286cfdae64d1616f466"
|
|
259
137
|
dependencies = [
|
|
260
|
-
"bon",
|
|
261
138
|
"caseless",
|
|
262
|
-
"clap",
|
|
263
139
|
"emojis",
|
|
264
140
|
"entities",
|
|
265
141
|
"finl_unicode",
|
|
266
|
-
"fmt2io",
|
|
267
142
|
"jetscii",
|
|
268
143
|
"phf",
|
|
269
144
|
"phf_codegen",
|
|
270
145
|
"rustc-hash",
|
|
271
|
-
"shell-words",
|
|
272
146
|
"smallvec",
|
|
273
147
|
"syntect",
|
|
274
148
|
"typed-arena",
|
|
275
|
-
"xdg",
|
|
276
149
|
]
|
|
277
150
|
|
|
278
151
|
[[package]]
|
|
@@ -284,60 +157,23 @@ dependencies = [
|
|
|
284
157
|
"cfg-if",
|
|
285
158
|
]
|
|
286
159
|
|
|
287
|
-
[[package]]
|
|
288
|
-
name = "darling"
|
|
289
|
-
version = "0.23.0"
|
|
290
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
291
|
-
checksum = "25ae13da2f202d56bd7f91c25fba009e7717a1e4a1cc98a76d844b65ae912e9d"
|
|
292
|
-
dependencies = [
|
|
293
|
-
"darling_core",
|
|
294
|
-
"darling_macro",
|
|
295
|
-
]
|
|
296
|
-
|
|
297
|
-
[[package]]
|
|
298
|
-
name = "darling_core"
|
|
299
|
-
version = "0.23.0"
|
|
300
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
301
|
-
checksum = "9865a50f7c335f53564bb694ef660825eb8610e0a53d3e11bf1b0d3df31e03b0"
|
|
302
|
-
dependencies = [
|
|
303
|
-
"ident_case",
|
|
304
|
-
"proc-macro2",
|
|
305
|
-
"quote",
|
|
306
|
-
"strsim",
|
|
307
|
-
"syn",
|
|
308
|
-
]
|
|
309
|
-
|
|
310
|
-
[[package]]
|
|
311
|
-
name = "darling_macro"
|
|
312
|
-
version = "0.23.0"
|
|
313
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
314
|
-
checksum = "ac3984ec7bd6cfa798e62b4a642426a5be0e68f9401cfc2a01e3fa9ea2fcdb8d"
|
|
315
|
-
dependencies = [
|
|
316
|
-
"darling_core",
|
|
317
|
-
"quote",
|
|
318
|
-
"syn",
|
|
319
|
-
]
|
|
320
|
-
|
|
321
160
|
[[package]]
|
|
322
161
|
name = "deranged"
|
|
323
|
-
version = "0.5.
|
|
162
|
+
version = "0.5.8"
|
|
324
163
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
325
|
-
checksum = "
|
|
326
|
-
dependencies = [
|
|
327
|
-
"powerfmt",
|
|
328
|
-
]
|
|
164
|
+
checksum = "7cd812cc2bc1d69d4764bd80df88b4317eaef9e773c75226407d9bc0876b211c"
|
|
329
165
|
|
|
330
166
|
[[package]]
|
|
331
167
|
name = "either"
|
|
332
|
-
version = "1.
|
|
168
|
+
version = "1.16.0"
|
|
333
169
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
-
checksum = "
|
|
170
|
+
checksum = "91622ff5e7162018101f2fea40d6ebf4a78bbe5a49736a2020649edf9693679e"
|
|
335
171
|
|
|
336
172
|
[[package]]
|
|
337
173
|
name = "emojis"
|
|
338
|
-
version = "0.8.
|
|
174
|
+
version = "0.8.2"
|
|
339
175
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
340
|
-
checksum = "
|
|
176
|
+
checksum = "0a4d5d50b0b58df5173d8ff1192b4d1422ceae5d981b30d4b6f8ed1d673a2bc4"
|
|
341
177
|
dependencies = [
|
|
342
178
|
"phf",
|
|
343
179
|
]
|
|
@@ -354,16 +190,6 @@ version = "1.0.2"
|
|
|
354
190
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
355
191
|
checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
|
|
356
192
|
|
|
357
|
-
[[package]]
|
|
358
|
-
name = "errno"
|
|
359
|
-
version = "0.3.14"
|
|
360
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
361
|
-
checksum = "39cab71617ae0d63f51a36d69f866391735b51691dbda63cf6f96d042b63efeb"
|
|
362
|
-
dependencies = [
|
|
363
|
-
"libc",
|
|
364
|
-
"windows-sys 0.61.2",
|
|
365
|
-
]
|
|
366
|
-
|
|
367
193
|
[[package]]
|
|
368
194
|
name = "fancy-regex"
|
|
369
195
|
version = "0.16.2"
|
|
@@ -377,15 +203,15 @@ dependencies = [
|
|
|
377
203
|
|
|
378
204
|
[[package]]
|
|
379
205
|
name = "fastrand"
|
|
380
|
-
version = "2.
|
|
206
|
+
version = "2.4.1"
|
|
381
207
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
382
|
-
checksum = "
|
|
208
|
+
checksum = "9f1f227452a390804cdb637b74a86990f2a7d7ba4b7d5693aac9b4dd6defd8d6"
|
|
383
209
|
|
|
384
210
|
[[package]]
|
|
385
211
|
name = "find-msvc-tools"
|
|
386
|
-
version = "0.1.
|
|
212
|
+
version = "0.1.9"
|
|
387
213
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
388
|
-
checksum = "
|
|
214
|
+
checksum = "5baebc0774151f905a1a2cc41989300b1e6fbb29aff0ceffa1064fdd3088d582"
|
|
389
215
|
|
|
390
216
|
[[package]]
|
|
391
217
|
name = "finl_unicode"
|
|
@@ -395,20 +221,14 @@ checksum = "9844ddc3a6e533d62bba727eb6c28b5d360921d5175e9ff0f1e621a5c590a4d5"
|
|
|
395
221
|
|
|
396
222
|
[[package]]
|
|
397
223
|
name = "flate2"
|
|
398
|
-
version = "1.1.
|
|
224
|
+
version = "1.1.9"
|
|
399
225
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
400
|
-
checksum = "
|
|
226
|
+
checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
|
|
401
227
|
dependencies = [
|
|
402
228
|
"crc32fast",
|
|
403
229
|
"miniz_oxide",
|
|
404
230
|
]
|
|
405
231
|
|
|
406
|
-
[[package]]
|
|
407
|
-
name = "fmt2io"
|
|
408
|
-
version = "1.0.0"
|
|
409
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
410
|
-
checksum = "6b6129284da9f7e5296cc22183a63f24300e945e297705dcc0672f7df01d62c8"
|
|
411
|
-
|
|
412
232
|
[[package]]
|
|
413
233
|
name = "fnv"
|
|
414
234
|
version = "1.0.7"
|
|
@@ -423,52 +243,34 @@ checksum = "0cc23270f6e1808e30a928bdc84dea0b9b4136a8bc82338574f23baf47bbd280"
|
|
|
423
243
|
|
|
424
244
|
[[package]]
|
|
425
245
|
name = "hashbrown"
|
|
426
|
-
version = "0.
|
|
427
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
428
|
-
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
|
|
429
|
-
|
|
430
|
-
[[package]]
|
|
431
|
-
name = "heck"
|
|
432
|
-
version = "0.5.0"
|
|
246
|
+
version = "0.17.1"
|
|
433
247
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
434
|
-
checksum = "
|
|
435
|
-
|
|
436
|
-
[[package]]
|
|
437
|
-
name = "ident_case"
|
|
438
|
-
version = "1.0.1"
|
|
439
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
440
|
-
checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"
|
|
248
|
+
checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a"
|
|
441
249
|
|
|
442
250
|
[[package]]
|
|
443
251
|
name = "indexmap"
|
|
444
|
-
version = "2.
|
|
252
|
+
version = "2.14.0"
|
|
445
253
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
446
|
-
checksum = "
|
|
254
|
+
checksum = "d466e9454f08e4a911e14806c24e16fba1b4c121d1ea474396f396069cf949d9"
|
|
447
255
|
dependencies = [
|
|
448
256
|
"equivalent",
|
|
449
257
|
"hashbrown",
|
|
450
258
|
]
|
|
451
259
|
|
|
452
|
-
[[package]]
|
|
453
|
-
name = "is_terminal_polyfill"
|
|
454
|
-
version = "1.70.2"
|
|
455
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
456
|
-
checksum = "a6cb138bb79a146c1bd460005623e142ef0181e3d0219cb493e02f7d08a35695"
|
|
457
|
-
|
|
458
260
|
[[package]]
|
|
459
261
|
name = "itertools"
|
|
460
|
-
version = "0.
|
|
262
|
+
version = "0.13.0"
|
|
461
263
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
462
|
-
checksum = "
|
|
264
|
+
checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186"
|
|
463
265
|
dependencies = [
|
|
464
266
|
"either",
|
|
465
267
|
]
|
|
466
268
|
|
|
467
269
|
[[package]]
|
|
468
270
|
name = "itoa"
|
|
469
|
-
version = "1.0.
|
|
271
|
+
version = "1.0.18"
|
|
470
272
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
471
|
-
checksum = "
|
|
273
|
+
checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682"
|
|
472
274
|
|
|
473
275
|
[[package]]
|
|
474
276
|
name = "jetscii"
|
|
@@ -484,9 +286,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
484
286
|
|
|
485
287
|
[[package]]
|
|
486
288
|
name = "libc"
|
|
487
|
-
version = "0.2.
|
|
289
|
+
version = "0.2.186"
|
|
488
290
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
489
|
-
checksum = "
|
|
291
|
+
checksum = "68ab91017fe16c622486840e4c83c9a37afeff978bd239b5293d61ece587de66"
|
|
490
292
|
|
|
491
293
|
[[package]]
|
|
492
294
|
name = "libloading"
|
|
@@ -504,12 +306,6 @@ version = "0.5.6"
|
|
|
504
306
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
505
307
|
checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
|
506
308
|
|
|
507
|
-
[[package]]
|
|
508
|
-
name = "linux-raw-sys"
|
|
509
|
-
version = "0.11.0"
|
|
510
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
511
|
-
checksum = "df1d3c3b53da64cf5760482273a98e575c651a67eec7f77df96b5b642de8f039"
|
|
512
|
-
|
|
513
309
|
[[package]]
|
|
514
310
|
name = "magnus"
|
|
515
311
|
version = "0.8.2"
|
|
@@ -535,9 +331,9 @@ dependencies = [
|
|
|
535
331
|
|
|
536
332
|
[[package]]
|
|
537
333
|
name = "memchr"
|
|
538
|
-
version = "2.
|
|
334
|
+
version = "2.8.3"
|
|
539
335
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
540
|
-
checksum = "
|
|
336
|
+
checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98"
|
|
541
337
|
|
|
542
338
|
[[package]]
|
|
543
339
|
name = "minimal-lexical"
|
|
@@ -567,27 +363,21 @@ dependencies = [
|
|
|
567
363
|
|
|
568
364
|
[[package]]
|
|
569
365
|
name = "num-conv"
|
|
570
|
-
version = "0.2.
|
|
366
|
+
version = "0.2.2"
|
|
571
367
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
572
|
-
checksum = "
|
|
368
|
+
checksum = "521739c6d2bac4aa25192232afe6841231376b2b26d4d9fae5ecf8ca5772e441"
|
|
573
369
|
|
|
574
370
|
[[package]]
|
|
575
371
|
name = "once_cell"
|
|
576
|
-
version = "1.21.
|
|
577
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
|
-
checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
|
|
579
|
-
|
|
580
|
-
[[package]]
|
|
581
|
-
name = "once_cell_polyfill"
|
|
582
|
-
version = "1.70.2"
|
|
372
|
+
version = "1.21.4"
|
|
583
373
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
584
|
-
checksum = "
|
|
374
|
+
checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50"
|
|
585
375
|
|
|
586
376
|
[[package]]
|
|
587
377
|
name = "onig"
|
|
588
|
-
version = "6.5.
|
|
378
|
+
version = "6.5.3"
|
|
589
379
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
590
|
-
checksum = "
|
|
380
|
+
checksum = "0cc3cbf698f9438986c11a880c90a6d04b9de27575afd28bbf45b154b6c709e2"
|
|
591
381
|
dependencies = [
|
|
592
382
|
"bitflags",
|
|
593
383
|
"libc",
|
|
@@ -597,9 +387,9 @@ dependencies = [
|
|
|
597
387
|
|
|
598
388
|
[[package]]
|
|
599
389
|
name = "onig_sys"
|
|
600
|
-
version = "69.9.
|
|
390
|
+
version = "69.9.3"
|
|
601
391
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
602
|
-
checksum = "
|
|
392
|
+
checksum = "1e68317604e77e53b85896388e1a803c1d21b74c899ec9e5e1112db90735edd7"
|
|
603
393
|
dependencies = [
|
|
604
394
|
"cc",
|
|
605
395
|
"pkg-config",
|
|
@@ -646,15 +436,15 @@ dependencies = [
|
|
|
646
436
|
|
|
647
437
|
[[package]]
|
|
648
438
|
name = "pkg-config"
|
|
649
|
-
version = "0.3.
|
|
439
|
+
version = "0.3.33"
|
|
650
440
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
651
|
-
checksum = "
|
|
441
|
+
checksum = "19f132c84eca552bf34cab8ec81f1c1dcc229b811638f9d283dceabe58c5569e"
|
|
652
442
|
|
|
653
443
|
[[package]]
|
|
654
444
|
name = "plist"
|
|
655
|
-
version = "1.
|
|
445
|
+
version = "1.10.0"
|
|
656
446
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
657
|
-
checksum = "
|
|
447
|
+
checksum = "7da1d65da6dd5d1e44199ac0f58712d241c0f439f80adea8924d832384087f85"
|
|
658
448
|
dependencies = [
|
|
659
449
|
"base64",
|
|
660
450
|
"indexmap",
|
|
@@ -669,39 +459,29 @@ version = "0.2.0"
|
|
|
669
459
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
670
460
|
checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
|
|
671
461
|
|
|
672
|
-
[[package]]
|
|
673
|
-
name = "prettyplease"
|
|
674
|
-
version = "0.2.37"
|
|
675
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
676
|
-
checksum = "479ca8adacdd7ce8f1fb39ce9ecccbfe93a3f1344b3d0d97f20bc0196208f62b"
|
|
677
|
-
dependencies = [
|
|
678
|
-
"proc-macro2",
|
|
679
|
-
"syn",
|
|
680
|
-
]
|
|
681
|
-
|
|
682
462
|
[[package]]
|
|
683
463
|
name = "proc-macro2"
|
|
684
|
-
version = "1.0.
|
|
464
|
+
version = "1.0.106"
|
|
685
465
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
686
|
-
checksum = "
|
|
466
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
687
467
|
dependencies = [
|
|
688
468
|
"unicode-ident",
|
|
689
469
|
]
|
|
690
470
|
|
|
691
471
|
[[package]]
|
|
692
472
|
name = "quick-xml"
|
|
693
|
-
version = "0.
|
|
473
|
+
version = "0.41.0"
|
|
694
474
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
695
|
-
checksum = "
|
|
475
|
+
checksum = "e660451e55124f798a69a5af3f49ccfbefbd41910eefd25caf2393e1f3473ec1"
|
|
696
476
|
dependencies = [
|
|
697
477
|
"memchr",
|
|
698
478
|
]
|
|
699
479
|
|
|
700
480
|
[[package]]
|
|
701
481
|
name = "quote"
|
|
702
|
-
version = "1.0.
|
|
482
|
+
version = "1.0.46"
|
|
703
483
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
704
|
-
checksum = "
|
|
484
|
+
checksum = "dfbc457d0c7a0759a614551b11a6409e5951f6c7537be1f1b7682b9ae9230368"
|
|
705
485
|
dependencies = [
|
|
706
486
|
"proc-macro2",
|
|
707
487
|
]
|
|
@@ -717,18 +497,18 @@ dependencies = [
|
|
|
717
497
|
|
|
718
498
|
[[package]]
|
|
719
499
|
name = "rb-sys"
|
|
720
|
-
version = "0.9.
|
|
500
|
+
version = "0.9.128"
|
|
721
501
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
722
|
-
checksum = "
|
|
502
|
+
checksum = "45ca28513560e56cfb79a62b1fce363c73af170a182024ce880c77ee9429920a"
|
|
723
503
|
dependencies = [
|
|
724
504
|
"rb-sys-build",
|
|
725
505
|
]
|
|
726
506
|
|
|
727
507
|
[[package]]
|
|
728
508
|
name = "rb-sys-build"
|
|
729
|
-
version = "0.9.
|
|
509
|
+
version = "0.9.128"
|
|
730
510
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
731
|
-
checksum = "
|
|
511
|
+
checksum = "ce04b2c55eff3a21aaa623fcc655d94373238e72cac6b3e1a3641ff31649f99a"
|
|
732
512
|
dependencies = [
|
|
733
513
|
"bindgen",
|
|
734
514
|
"lazy_static",
|
|
@@ -753,9 +533,9 @@ checksum = "e03e7866abec1101869ffa8e2c8355c4c2419d0214ece0cc3e428e5b94dea6e9"
|
|
|
753
533
|
|
|
754
534
|
[[package]]
|
|
755
535
|
name = "regex"
|
|
756
|
-
version = "1.
|
|
536
|
+
version = "1.13.0"
|
|
757
537
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
758
|
-
checksum = "
|
|
538
|
+
checksum = "2a0e75113e14dc5acb068cd0786884f214f1312650a3d36d269f5c4f3cdee8a2"
|
|
759
539
|
dependencies = [
|
|
760
540
|
"aho-corasick",
|
|
761
541
|
"memchr",
|
|
@@ -765,9 +545,9 @@ dependencies = [
|
|
|
765
545
|
|
|
766
546
|
[[package]]
|
|
767
547
|
name = "regex-automata"
|
|
768
|
-
version = "0.4.
|
|
548
|
+
version = "0.4.15"
|
|
769
549
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
770
|
-
checksum = "
|
|
550
|
+
checksum = "1f388202e4b80542a0921078cc23b6333bcf1409c1e3f86404cae4766a6131db"
|
|
771
551
|
dependencies = [
|
|
772
552
|
"aho-corasick",
|
|
773
553
|
"memchr",
|
|
@@ -776,34 +556,15 @@ dependencies = [
|
|
|
776
556
|
|
|
777
557
|
[[package]]
|
|
778
558
|
name = "regex-syntax"
|
|
779
|
-
version = "0.8.
|
|
559
|
+
version = "0.8.11"
|
|
780
560
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
781
|
-
checksum = "
|
|
561
|
+
checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4"
|
|
782
562
|
|
|
783
563
|
[[package]]
|
|
784
564
|
name = "rustc-hash"
|
|
785
|
-
version = "2.1.
|
|
786
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
787
|
-
checksum = "357703d41365b4b27c590e3ed91eabb1b663f07c4c084095e60cbed4362dff0d"
|
|
788
|
-
|
|
789
|
-
[[package]]
|
|
790
|
-
name = "rustix"
|
|
791
|
-
version = "1.1.3"
|
|
792
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
793
|
-
checksum = "146c9e247ccc180c1f61615433868c99f3de3ae256a30a43b49f67c2d9171f34"
|
|
794
|
-
dependencies = [
|
|
795
|
-
"bitflags",
|
|
796
|
-
"errno",
|
|
797
|
-
"libc",
|
|
798
|
-
"linux-raw-sys",
|
|
799
|
-
"windows-sys 0.61.2",
|
|
800
|
-
]
|
|
801
|
-
|
|
802
|
-
[[package]]
|
|
803
|
-
name = "rustversion"
|
|
804
|
-
version = "1.0.22"
|
|
565
|
+
version = "2.1.3"
|
|
805
566
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
806
|
-
checksum = "
|
|
567
|
+
checksum = "6b1e7f9a428571be2dc5bc0505c13fb6bf936822b894ec87abf8a08a4e51742d"
|
|
807
568
|
|
|
808
569
|
[[package]]
|
|
809
570
|
name = "same-file"
|
|
@@ -851,9 +612,9 @@ dependencies = [
|
|
|
851
612
|
|
|
852
613
|
[[package]]
|
|
853
614
|
name = "serde_json"
|
|
854
|
-
version = "1.0.
|
|
615
|
+
version = "1.0.150"
|
|
855
616
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
856
|
-
checksum = "
|
|
617
|
+
checksum = "e8014e44b4736ed0538adeecded0fce2a272f22dc9578a7eb6b2d9993c74cfb9"
|
|
857
618
|
dependencies = [
|
|
858
619
|
"itoa",
|
|
859
620
|
"memchr",
|
|
@@ -875,34 +636,34 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
875
636
|
checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
876
637
|
|
|
877
638
|
[[package]]
|
|
878
|
-
name = "
|
|
879
|
-
version = "0.
|
|
639
|
+
name = "shlex"
|
|
640
|
+
version = "2.0.1"
|
|
880
641
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
881
|
-
checksum = "
|
|
642
|
+
checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba"
|
|
882
643
|
|
|
883
644
|
[[package]]
|
|
884
|
-
name = "
|
|
885
|
-
version = "
|
|
645
|
+
name = "simd-adler32"
|
|
646
|
+
version = "0.3.9"
|
|
886
647
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
887
|
-
checksum = "
|
|
648
|
+
checksum = "703d5c7ef118737c72f1af64ad2f6f8c5e1921f818cdcb97b8fe6fc69bf66214"
|
|
888
649
|
|
|
889
650
|
[[package]]
|
|
890
|
-
name = "
|
|
891
|
-
version = "1.
|
|
651
|
+
name = "siphasher"
|
|
652
|
+
version = "1.0.3"
|
|
892
653
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
893
|
-
checksum = "
|
|
654
|
+
checksum = "8ee5873ec9cce0195efcb7a4e9507a04cd49aec9c83d0389df45b1ef7ba2e649"
|
|
894
655
|
|
|
895
656
|
[[package]]
|
|
896
|
-
name = "
|
|
897
|
-
version = "
|
|
657
|
+
name = "smallvec"
|
|
658
|
+
version = "1.15.2"
|
|
898
659
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
899
|
-
checksum = "
|
|
660
|
+
checksum = "8ed6a63f02c8539c91a8685a86f4099661ba3da017932f6ebbea6de3f0fa7c90"
|
|
900
661
|
|
|
901
662
|
[[package]]
|
|
902
663
|
name = "syn"
|
|
903
|
-
version = "2.0.
|
|
664
|
+
version = "2.0.118"
|
|
904
665
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
905
|
-
checksum = "
|
|
666
|
+
checksum = "1b9ae57f904213ebb649ce6895b8a66c66f0203b9319718f69a5612a065b1422"
|
|
906
667
|
dependencies = [
|
|
907
668
|
"proc-macro2",
|
|
908
669
|
"quote",
|
|
@@ -931,16 +692,6 @@ dependencies = [
|
|
|
931
692
|
"yaml-rust",
|
|
932
693
|
]
|
|
933
694
|
|
|
934
|
-
[[package]]
|
|
935
|
-
name = "terminal_size"
|
|
936
|
-
version = "0.4.3"
|
|
937
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
938
|
-
checksum = "60b8cb979cb11c32ce1603f8137b22262a9d131aaa5c37b5678025f22b8becd0"
|
|
939
|
-
dependencies = [
|
|
940
|
-
"rustix",
|
|
941
|
-
"windows-sys 0.60.2",
|
|
942
|
-
]
|
|
943
|
-
|
|
944
695
|
[[package]]
|
|
945
696
|
name = "thiserror"
|
|
946
697
|
version = "2.0.18"
|
|
@@ -963,12 +714,11 @@ dependencies = [
|
|
|
963
714
|
|
|
964
715
|
[[package]]
|
|
965
716
|
name = "time"
|
|
966
|
-
version = "0.3.
|
|
717
|
+
version = "0.3.53"
|
|
967
718
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
968
|
-
checksum = "
|
|
719
|
+
checksum = "18dfaaeddcb932337b5e7866ee7d0ce9b76d2fd092997146f187ec09b4558a50"
|
|
969
720
|
dependencies = [
|
|
970
721
|
"deranged",
|
|
971
|
-
"itoa",
|
|
972
722
|
"num-conv",
|
|
973
723
|
"powerfmt",
|
|
974
724
|
"serde_core",
|
|
@@ -978,15 +728,15 @@ dependencies = [
|
|
|
978
728
|
|
|
979
729
|
[[package]]
|
|
980
730
|
name = "time-core"
|
|
981
|
-
version = "0.1.
|
|
731
|
+
version = "0.1.9"
|
|
982
732
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
983
|
-
checksum = "
|
|
733
|
+
checksum = "9e1c906769ad99c88eaa54e728060edef082f8e358ff32030cb7c7d315e81109"
|
|
984
734
|
|
|
985
735
|
[[package]]
|
|
986
736
|
name = "time-macros"
|
|
987
|
-
version = "0.2.
|
|
737
|
+
version = "0.2.31"
|
|
988
738
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
989
|
-
checksum = "
|
|
739
|
+
checksum = "c431b87111666e491a90baa837f914fb45cd5dc3c268591b0220ff5057f2085f"
|
|
990
740
|
dependencies = [
|
|
991
741
|
"num-conv",
|
|
992
742
|
"time-core",
|
|
@@ -994,9 +744,9 @@ dependencies = [
|
|
|
994
744
|
|
|
995
745
|
[[package]]
|
|
996
746
|
name = "tinyvec"
|
|
997
|
-
version = "1.
|
|
747
|
+
version = "1.12.0"
|
|
998
748
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
999
|
-
checksum = "
|
|
749
|
+
checksum = "bb4ebadaa0af04fab11ae01eb5f9fdb5f9c5b875506e210e71c07873528baa7f"
|
|
1000
750
|
dependencies = [
|
|
1001
751
|
"tinyvec_macros",
|
|
1002
752
|
]
|
|
@@ -1015,9 +765,9 @@ checksum = "6af6ae20167a9ece4bcb41af5b80f8a1f1df981f6391189ce00fd257af04126a"
|
|
|
1015
765
|
|
|
1016
766
|
[[package]]
|
|
1017
767
|
name = "unicode-ident"
|
|
1018
|
-
version = "1.0.
|
|
768
|
+
version = "1.0.24"
|
|
1019
769
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1020
|
-
checksum = "
|
|
770
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
1021
771
|
|
|
1022
772
|
[[package]]
|
|
1023
773
|
name = "unicode-normalization"
|
|
@@ -1028,12 +778,6 @@ dependencies = [
|
|
|
1028
778
|
"tinyvec",
|
|
1029
779
|
]
|
|
1030
780
|
|
|
1031
|
-
[[package]]
|
|
1032
|
-
name = "utf8parse"
|
|
1033
|
-
version = "0.2.2"
|
|
1034
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1035
|
-
checksum = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821"
|
|
1036
|
-
|
|
1037
781
|
[[package]]
|
|
1038
782
|
name = "walkdir"
|
|
1039
783
|
version = "2.5.0"
|
|
@@ -1050,7 +794,7 @@ version = "0.1.11"
|
|
|
1050
794
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1051
795
|
checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22"
|
|
1052
796
|
dependencies = [
|
|
1053
|
-
"windows-sys
|
|
797
|
+
"windows-sys",
|
|
1054
798
|
]
|
|
1055
799
|
|
|
1056
800
|
[[package]]
|
|
@@ -1059,15 +803,6 @@ version = "0.2.1"
|
|
|
1059
803
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1060
804
|
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
1061
805
|
|
|
1062
|
-
[[package]]
|
|
1063
|
-
name = "windows-sys"
|
|
1064
|
-
version = "0.60.2"
|
|
1065
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1066
|
-
checksum = "f2f500e4d28234f72040990ec9d39e3a6b950f9f22d3dba18416c35882612bcb"
|
|
1067
|
-
dependencies = [
|
|
1068
|
-
"windows-targets",
|
|
1069
|
-
]
|
|
1070
|
-
|
|
1071
806
|
[[package]]
|
|
1072
807
|
name = "windows-sys"
|
|
1073
808
|
version = "0.61.2"
|
|
@@ -1077,77 +812,6 @@ dependencies = [
|
|
|
1077
812
|
"windows-link",
|
|
1078
813
|
]
|
|
1079
814
|
|
|
1080
|
-
[[package]]
|
|
1081
|
-
name = "windows-targets"
|
|
1082
|
-
version = "0.53.5"
|
|
1083
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1084
|
-
checksum = "4945f9f551b88e0d65f3db0bc25c33b8acea4d9e41163edf90dcd0b19f9069f3"
|
|
1085
|
-
dependencies = [
|
|
1086
|
-
"windows-link",
|
|
1087
|
-
"windows_aarch64_gnullvm",
|
|
1088
|
-
"windows_aarch64_msvc",
|
|
1089
|
-
"windows_i686_gnu",
|
|
1090
|
-
"windows_i686_gnullvm",
|
|
1091
|
-
"windows_i686_msvc",
|
|
1092
|
-
"windows_x86_64_gnu",
|
|
1093
|
-
"windows_x86_64_gnullvm",
|
|
1094
|
-
"windows_x86_64_msvc",
|
|
1095
|
-
]
|
|
1096
|
-
|
|
1097
|
-
[[package]]
|
|
1098
|
-
name = "windows_aarch64_gnullvm"
|
|
1099
|
-
version = "0.53.1"
|
|
1100
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1101
|
-
checksum = "a9d8416fa8b42f5c947f8482c43e7d89e73a173cead56d044f6a56104a6d1b53"
|
|
1102
|
-
|
|
1103
|
-
[[package]]
|
|
1104
|
-
name = "windows_aarch64_msvc"
|
|
1105
|
-
version = "0.53.1"
|
|
1106
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1107
|
-
checksum = "b9d782e804c2f632e395708e99a94275910eb9100b2114651e04744e9b125006"
|
|
1108
|
-
|
|
1109
|
-
[[package]]
|
|
1110
|
-
name = "windows_i686_gnu"
|
|
1111
|
-
version = "0.53.1"
|
|
1112
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1113
|
-
checksum = "960e6da069d81e09becb0ca57a65220ddff016ff2d6af6a223cf372a506593a3"
|
|
1114
|
-
|
|
1115
|
-
[[package]]
|
|
1116
|
-
name = "windows_i686_gnullvm"
|
|
1117
|
-
version = "0.53.1"
|
|
1118
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1119
|
-
checksum = "fa7359d10048f68ab8b09fa71c3daccfb0e9b559aed648a8f95469c27057180c"
|
|
1120
|
-
|
|
1121
|
-
[[package]]
|
|
1122
|
-
name = "windows_i686_msvc"
|
|
1123
|
-
version = "0.53.1"
|
|
1124
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1125
|
-
checksum = "1e7ac75179f18232fe9c285163565a57ef8d3c89254a30685b57d83a38d326c2"
|
|
1126
|
-
|
|
1127
|
-
[[package]]
|
|
1128
|
-
name = "windows_x86_64_gnu"
|
|
1129
|
-
version = "0.53.1"
|
|
1130
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1131
|
-
checksum = "9c3842cdd74a865a8066ab39c8a7a473c0778a3f29370b5fd6b4b9aa7df4a499"
|
|
1132
|
-
|
|
1133
|
-
[[package]]
|
|
1134
|
-
name = "windows_x86_64_gnullvm"
|
|
1135
|
-
version = "0.53.1"
|
|
1136
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1137
|
-
checksum = "0ffa179e2d07eee8ad8f57493436566c7cc30ac536a3379fdf008f47f6bb7ae1"
|
|
1138
|
-
|
|
1139
|
-
[[package]]
|
|
1140
|
-
name = "windows_x86_64_msvc"
|
|
1141
|
-
version = "0.53.1"
|
|
1142
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1143
|
-
checksum = "d6bbff5f0aada427a1e5a6da5f1f98158182f26556f345ac9e04d36d0ebed650"
|
|
1144
|
-
|
|
1145
|
-
[[package]]
|
|
1146
|
-
name = "xdg"
|
|
1147
|
-
version = "3.0.0"
|
|
1148
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1149
|
-
checksum = "2fb433233f2df9344722454bc7e96465c9d03bff9d77c248f9e7523fe79585b5"
|
|
1150
|
-
|
|
1151
815
|
[[package]]
|
|
1152
816
|
name = "yaml-rust"
|
|
1153
817
|
version = "0.4.5"
|
|
@@ -1159,6 +823,6 @@ dependencies = [
|
|
|
1159
823
|
|
|
1160
824
|
[[package]]
|
|
1161
825
|
name = "zmij"
|
|
1162
|
-
version = "1.0.
|
|
826
|
+
version = "1.0.21"
|
|
1163
827
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1164
|
-
checksum = "
|
|
828
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
data/README.md
CHANGED
|
@@ -184,6 +184,7 @@ Note that there is a distinction in comrak for "parse" options and "render" opti
|
|
|
184
184
|
| `prefer_fenced` | Always output fenced code blocks, even where an indented one could be used. | `false` |
|
|
185
185
|
| `tasklist_classes` | Add CSS classes to the HTML output of the tasklist extension | `false` |
|
|
186
186
|
| `compact_html` | Suppress newlines in pretty-printed HTML output. | `false` |
|
|
187
|
+
| `alert_style` | The style of alert output: `"specific"` (`<div class="markdown-alert">`) or `"semantic"` (`<aside class="admonition">`). | `"specific"` |
|
|
187
188
|
|
|
188
189
|
As well, there are several extensions which you can toggle in the same manner:
|
|
189
190
|
|
|
@@ -212,6 +213,7 @@ Commonmarker.to_html('"Hi *there*"', options: {
|
|
|
212
213
|
| `front_matter_delimiter` | Enables the front matter extension. | `""` |
|
|
213
214
|
| `multiline_block_quotes` | Enables the multiline block quotes extension. | `false` |
|
|
214
215
|
| `math_dollars`, `math_code` | Enables the math extension. | `false` |
|
|
216
|
+
| `math_latex` | Enables the math extension with LaTeX-style delimiters (`\(inline\)`, `\[display\]`). | `false` |
|
|
215
217
|
| `shortcodes` | Enables the shortcodes extension. | `true` |
|
|
216
218
|
| `wikilinks_title_before_pipe` | Enables the wikilinks extension, placing the title before the dividing pipe. | `false` |
|
|
217
219
|
| `wikilinks_title_after_pipe` | Enables the wikilinks extension, placing the title after the dividing pipe. | `false` |
|
data/ext/commonmarker/Cargo.toml
CHANGED
|
@@ -10,12 +10,31 @@ magnus = { version = "0.8", features = ["rb-sys"] }
|
|
|
10
10
|
rb-sys = { version = "*", default-features = false, features = [
|
|
11
11
|
"stable-api-compiled-fallback",
|
|
12
12
|
] }
|
|
13
|
-
comrak = { version = "0.52", features = ["shortcodes"] }
|
|
14
|
-
syntect = { version = "5.3", features = ["plist-load"] }
|
|
15
13
|
typed-arena = "2.0"
|
|
16
14
|
rctree = "0.6"
|
|
17
15
|
rb-allocator = "0.9"
|
|
18
16
|
|
|
17
|
+
syntect = { version = "5.3", default-features = false, features = [
|
|
18
|
+
"default-themes",
|
|
19
|
+
"plist-load",
|
|
20
|
+
] }
|
|
21
|
+
|
|
22
|
+
# Everywhere except Windows: Oniguruma, the faster engine.
|
|
23
|
+
[target.'cfg(not(windows))'.dependencies]
|
|
24
|
+
comrak = { version = "0.54", default-features = false, features = [
|
|
25
|
+
"shortcodes",
|
|
26
|
+
"syntect-onig",
|
|
27
|
+
] }
|
|
28
|
+
|
|
29
|
+
# Windows: Ruby's runtime DLL already exports Oniguruma symbols, so statically
|
|
30
|
+
# linking a second copy (onig_sys) collides at link time and segfaults (xref #467).
|
|
31
|
+
# syntect-fancy swaps in the pure-Rust fancy-regex backend instead.
|
|
32
|
+
[target.'cfg(windows)'.dependencies]
|
|
33
|
+
comrak = { version = "0.54", default-features = false, features = [
|
|
34
|
+
"shortcodes",
|
|
35
|
+
"syntect-fancy",
|
|
36
|
+
] }
|
|
37
|
+
|
|
19
38
|
[lib]
|
|
20
39
|
name = "commonmarker"
|
|
21
40
|
crate-type = ["cdylib"]
|
|
@@ -40,19 +40,31 @@ impl CommonmarkerNode {
|
|
|
40
40
|
"document" => ComrakNodeValue::Document,
|
|
41
41
|
"block_quote" => ComrakNodeValue::BlockQuote,
|
|
42
42
|
"footnote_definition" => {
|
|
43
|
-
|
|
43
|
+
// HACK: For whatever reason, on i686, Ruby's `1` won't scan as
|
|
44
|
+
// Option<u32>, failing with "RangeError: fixnum too big to convert into `u32`".
|
|
45
|
+
// (Fixnum should be 31-bit on i686? Is this not fine?)
|
|
46
|
+
// Scanning as usize (or u64) works, so shrug and move on.
|
|
47
|
+
let kwargs = scan_args::get_kwargs::<_, (String,), (Option<usize>,), ()>(
|
|
44
48
|
args.keywords,
|
|
45
49
|
&["name"],
|
|
46
50
|
&["total_references"],
|
|
47
51
|
)?;
|
|
48
52
|
let (name,) = kwargs.required;
|
|
49
|
-
let (
|
|
53
|
+
let (total_references,) = kwargs.optional;
|
|
54
|
+
|
|
55
|
+
// HACK: Totally a u32 tho.
|
|
56
|
+
let Ok(total_references) = u32::try_from(total_references.unwrap_or(1)) else {
|
|
57
|
+
return Err(magnus::Error::new(
|
|
58
|
+
ruby.exception_range_error(),
|
|
59
|
+
"total_references too big to convert into `u32`",
|
|
60
|
+
));
|
|
61
|
+
};
|
|
50
62
|
|
|
51
63
|
ComrakNodeValue::FootnoteDefinition(NodeFootnoteDefinition {
|
|
52
64
|
// The name of the footnote.
|
|
53
65
|
name,
|
|
54
66
|
// Total number of references to this footnote
|
|
55
|
-
total_references
|
|
67
|
+
total_references,
|
|
56
68
|
})
|
|
57
69
|
}
|
|
58
70
|
"list" => {
|
|
@@ -58,6 +58,7 @@ const RENDER_GFM_QUIRKS: &str = "gfm_quirks";
|
|
|
58
58
|
const RENDER_PREFER_FENCED: &str = "prefer_fenced";
|
|
59
59
|
const RENDER_TASKLIST_CLASSES: &str = "tasklist_classes";
|
|
60
60
|
const RENDER_COMPACT_HTML: &str = "compact_html";
|
|
61
|
+
const RENDER_ALERT_STYLE: &str = "alert_style";
|
|
61
62
|
|
|
62
63
|
pub fn iterate_render_options(comrak_options: &mut comrak::options::Render, options_hash: RHash) {
|
|
63
64
|
options_hash
|
|
@@ -102,6 +103,12 @@ pub fn iterate_render_options(comrak_options: &mut comrak::options::Render, opti
|
|
|
102
103
|
Cow::Borrowed(RENDER_COMPACT_HTML) => {
|
|
103
104
|
comrak_options.compact_html = TryConvert::try_convert(value)?;
|
|
104
105
|
}
|
|
106
|
+
Cow::Borrowed(RENDER_ALERT_STYLE) => {
|
|
107
|
+
comrak_options.alert_style = match try_convert_string(value).as_deref() {
|
|
108
|
+
Some("semantic") => comrak::options::AlertStyleType::Semantic,
|
|
109
|
+
_ => comrak::options::AlertStyleType::Specific,
|
|
110
|
+
};
|
|
111
|
+
}
|
|
105
112
|
_ => {}
|
|
106
113
|
}
|
|
107
114
|
Ok(ForEach::Continue)
|
|
@@ -124,6 +131,7 @@ const EXTENSION_FRONT_MATTER_DELIMITER: &str = "front_matter_delimiter";
|
|
|
124
131
|
const EXTENSION_MULTILINE_BLOCK_QUOTES: &str = "multiline_block_quotes";
|
|
125
132
|
const EXTENSION_MATH_DOLLARS: &str = "math_dollars";
|
|
126
133
|
const EXTENSION_MATH_CODE: &str = "math_code";
|
|
134
|
+
const EXTENSION_MATH_LATEX: &str = "math_latex";
|
|
127
135
|
const EXTENSION_SHORTCODES: &str = "shortcodes";
|
|
128
136
|
const EXTENSION_WIKILINKS_TITLE_AFTER_PIPE: &str = "wikilinks_title_after_pipe";
|
|
129
137
|
const EXTENSION_WIKILINKS_TITLE_BEFORE_PIPE: &str = "wikilinks_title_before_pipe";
|
|
@@ -194,6 +202,9 @@ pub fn iterate_extension_options(
|
|
|
194
202
|
Cow::Borrowed(EXTENSION_MATH_CODE) => {
|
|
195
203
|
comrak_options.math_code = TryConvert::try_convert(value)?;
|
|
196
204
|
}
|
|
205
|
+
Cow::Borrowed(EXTENSION_MATH_LATEX) => {
|
|
206
|
+
comrak_options.math_latex = TryConvert::try_convert(value)?;
|
|
207
|
+
}
|
|
197
208
|
Cow::Borrowed(EXTENSION_SHORTCODES) => {
|
|
198
209
|
comrak_options.shortcodes = TryConvert::try_convert(value)?;
|
|
199
210
|
}
|
data/lib/commonmarker/config.rb
CHANGED
|
@@ -28,6 +28,7 @@ module Commonmarker
|
|
|
28
28
|
prefer_fenced: false,
|
|
29
29
|
tasklist_classes: false,
|
|
30
30
|
compact_html: false,
|
|
31
|
+
alert_style: "specific",
|
|
31
32
|
}.freeze,
|
|
32
33
|
extension: {
|
|
33
34
|
strikethrough: true,
|
|
@@ -45,6 +46,7 @@ module Commonmarker
|
|
|
45
46
|
multiline_block_quotes: false,
|
|
46
47
|
math_dollars: false,
|
|
47
48
|
math_code: false,
|
|
49
|
+
math_latex: false,
|
|
48
50
|
shortcodes: true,
|
|
49
51
|
wikilinks_title_before_pipe: false,
|
|
50
52
|
wikilinks_title_after_pipe: false,
|
data/lib/commonmarker/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: commonmarker
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.
|
|
4
|
+
version: 2.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Garen Torikian
|
|
@@ -107,7 +107,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
107
107
|
- !ruby/object:Gem::Version
|
|
108
108
|
version: '3.4'
|
|
109
109
|
requirements: []
|
|
110
|
-
rubygems_version: 4.0.
|
|
110
|
+
rubygems_version: 4.0.10
|
|
111
111
|
specification_version: 4
|
|
112
112
|
summary: CommonMark parser and renderer. Written in Rust, wrapped in Ruby.
|
|
113
113
|
test_files: []
|