mkdocs-minify-html-plugin 0.3.8__tar.gz → 0.3.10__tar.gz
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.
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/Cargo.lock +154 -239
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/Cargo.toml +7 -7
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/PKG-INFO +3 -4
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/pyproject.toml +12 -10
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/python/mkdocs_minify_html_plugin/plugin.py +2 -3
- mkdocs_minify_html_plugin-0.3.10/src/lib.rs +119 -0
- mkdocs_minify_html_plugin-0.3.8/src/lib.rs +0 -121
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/LICENSE +0 -0
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/README.md +0 -0
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/python/mkdocs_minify_html_plugin/__init__.py +0 -0
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/python/mkdocs_minify_html_plugin/_minify_html.pyi +0 -0
- {mkdocs_minify_html_plugin-0.3.8 → mkdocs_minify_html_plugin-0.3.10}/python/mkdocs_minify_html_plugin/py.typed +0 -0
|
@@ -14,7 +14,7 @@ version = "0.7.8"
|
|
|
14
14
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
15
15
|
checksum = "891477e0c6a8957309ee5c45a6368af3ae14bb510732d2684ffa19af310920f9"
|
|
16
16
|
dependencies = [
|
|
17
|
-
"getrandom 0.2.
|
|
17
|
+
"getrandom 0.2.17",
|
|
18
18
|
"once_cell",
|
|
19
19
|
"version_check",
|
|
20
20
|
]
|
|
@@ -34,9 +34,9 @@ dependencies = [
|
|
|
34
34
|
|
|
35
35
|
[[package]]
|
|
36
36
|
name = "aho-corasick"
|
|
37
|
-
version = "1.1.
|
|
37
|
+
version = "1.1.4"
|
|
38
38
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
39
|
-
checksum = "
|
|
39
|
+
checksum = "ddd31a130427c27518df266943a5308ed92d4b226cc639f5a8f1002816174301"
|
|
40
40
|
dependencies = [
|
|
41
41
|
"memchr",
|
|
42
42
|
]
|
|
@@ -72,31 +72,11 @@ dependencies = [
|
|
|
72
72
|
"vsimd",
|
|
73
73
|
]
|
|
74
74
|
|
|
75
|
-
[[package]]
|
|
76
|
-
name = "bincode"
|
|
77
|
-
version = "2.0.1"
|
|
78
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
79
|
-
checksum = "36eaf5d7b090263e8150820482d5d93cd964a81e4019913c972f4edcc6edb740"
|
|
80
|
-
dependencies = [
|
|
81
|
-
"bincode_derive",
|
|
82
|
-
"serde",
|
|
83
|
-
"unty",
|
|
84
|
-
]
|
|
85
|
-
|
|
86
|
-
[[package]]
|
|
87
|
-
name = "bincode_derive"
|
|
88
|
-
version = "2.0.1"
|
|
89
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
90
|
-
checksum = "bf95709a440f45e986983918d0e8a1f30a9b1df04918fc828670606804ac3c09"
|
|
91
|
-
dependencies = [
|
|
92
|
-
"virtue",
|
|
93
|
-
]
|
|
94
|
-
|
|
95
75
|
[[package]]
|
|
96
76
|
name = "bitflags"
|
|
97
|
-
version = "2.
|
|
77
|
+
version = "2.11.0"
|
|
98
78
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
99
|
-
checksum = "
|
|
79
|
+
checksum = "843867be96c8daad0d758b57df9392b6d8d271134fce549de6ce169ff98a92af"
|
|
100
80
|
|
|
101
81
|
[[package]]
|
|
102
82
|
name = "bitvec"
|
|
@@ -143,9 +123,9 @@ dependencies = [
|
|
|
143
123
|
|
|
144
124
|
[[package]]
|
|
145
125
|
name = "bytes"
|
|
146
|
-
version = "1.
|
|
126
|
+
version = "1.11.1"
|
|
147
127
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
148
|
-
checksum = "
|
|
128
|
+
checksum = "1e748733b7cbc798e1434b6ac524f0c1ff2ab456fe201501e6497c8417a4fc33"
|
|
149
129
|
|
|
150
130
|
[[package]]
|
|
151
131
|
name = "castaway"
|
|
@@ -162,6 +142,15 @@ version = "1.0.4"
|
|
|
162
142
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
163
143
|
checksum = "9330f8b2ff13f34540b44e946ef35111825727b38d33286ef986142615121801"
|
|
164
144
|
|
|
145
|
+
[[package]]
|
|
146
|
+
name = "cobs"
|
|
147
|
+
version = "0.3.0"
|
|
148
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
149
|
+
checksum = "0fa961b519f0b462e3a3b4a34b64d119eeaca1d59af726fe450bbba07a9fc0a1"
|
|
150
|
+
dependencies = [
|
|
151
|
+
"thiserror",
|
|
152
|
+
]
|
|
153
|
+
|
|
165
154
|
[[package]]
|
|
166
155
|
name = "compact_str"
|
|
167
156
|
version = "0.9.0"
|
|
@@ -274,7 +263,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
|
274
263
|
checksum = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331"
|
|
275
264
|
dependencies = [
|
|
276
265
|
"quote",
|
|
277
|
-
"syn 2.0.
|
|
266
|
+
"syn 2.0.117",
|
|
278
267
|
]
|
|
279
268
|
|
|
280
269
|
[[package]]
|
|
@@ -292,9 +281,9 @@ dependencies = [
|
|
|
292
281
|
|
|
293
282
|
[[package]]
|
|
294
283
|
name = "data-encoding"
|
|
295
|
-
version = "2.
|
|
284
|
+
version = "2.10.0"
|
|
296
285
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
297
|
-
checksum = "
|
|
286
|
+
checksum = "d7a1e2f27636f116493b8b860f5546edb47c8d8f8ea73e1d2a20be88e28d1fea"
|
|
298
287
|
|
|
299
288
|
[[package]]
|
|
300
289
|
name = "data-url"
|
|
@@ -305,15 +294,6 @@ dependencies = [
|
|
|
305
294
|
"matches",
|
|
306
295
|
]
|
|
307
296
|
|
|
308
|
-
[[package]]
|
|
309
|
-
name = "deranged"
|
|
310
|
-
version = "0.5.4"
|
|
311
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
312
|
-
checksum = "a41953f86f8a05768a6cda24def994fd2f424b04ec5c719cf89989779f199071"
|
|
313
|
-
dependencies = [
|
|
314
|
-
"powerfmt",
|
|
315
|
-
]
|
|
316
|
-
|
|
317
297
|
[[package]]
|
|
318
298
|
name = "dragonbox_ecma"
|
|
319
299
|
version = "0.0.5"
|
|
@@ -322,9 +302,9 @@ checksum = "d742b56656e8b14d63e7ea9806597b1849ae25412584c8adf78c0f67bd985e66"
|
|
|
322
302
|
|
|
323
303
|
[[package]]
|
|
324
304
|
name = "dtoa"
|
|
325
|
-
version = "1.0.
|
|
305
|
+
version = "1.0.11"
|
|
326
306
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
327
|
-
checksum = "
|
|
307
|
+
checksum = "4c3cf4824e2d5f025c7b531afcb2325364084a16806f6d47fbc1f5fbd9960590"
|
|
328
308
|
|
|
329
309
|
[[package]]
|
|
330
310
|
name = "dtoa-short"
|
|
@@ -341,6 +321,18 @@ version = "1.15.0"
|
|
|
341
321
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
342
322
|
checksum = "48c757948c5ede0e46177b7add2e67155f70e33c07fea8284df6576da70b3719"
|
|
343
323
|
|
|
324
|
+
[[package]]
|
|
325
|
+
name = "embedded-io"
|
|
326
|
+
version = "0.4.0"
|
|
327
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
328
|
+
checksum = "ef1a6892d9eef45c8fa6b9e0086428a2cca8491aca8f787c534a3d6d0bcb3ced"
|
|
329
|
+
|
|
330
|
+
[[package]]
|
|
331
|
+
name = "embedded-io"
|
|
332
|
+
version = "0.6.1"
|
|
333
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
334
|
+
checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d"
|
|
335
|
+
|
|
344
336
|
[[package]]
|
|
345
337
|
name = "equivalent"
|
|
346
338
|
version = "1.0.2"
|
|
@@ -355,9 +347,9 @@ checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be"
|
|
|
355
347
|
|
|
356
348
|
[[package]]
|
|
357
349
|
name = "flate2"
|
|
358
|
-
version = "1.1.
|
|
350
|
+
version = "1.1.9"
|
|
359
351
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
360
|
-
checksum = "
|
|
352
|
+
checksum = "843fba2746e448b37e26a819579957415c8cef339bf08564fe8b7ddbd959573c"
|
|
361
353
|
dependencies = [
|
|
362
354
|
"crc32fast",
|
|
363
355
|
"miniz_oxide",
|
|
@@ -371,9 +363,9 @@ checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c"
|
|
|
371
363
|
|
|
372
364
|
[[package]]
|
|
373
365
|
name = "getrandom"
|
|
374
|
-
version = "0.2.
|
|
366
|
+
version = "0.2.17"
|
|
375
367
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
376
|
-
checksum = "
|
|
368
|
+
checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
|
|
377
369
|
dependencies = [
|
|
378
370
|
"cfg-if",
|
|
379
371
|
"libc",
|
|
@@ -409,9 +401,9 @@ checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"
|
|
|
409
401
|
|
|
410
402
|
[[package]]
|
|
411
403
|
name = "hashbrown"
|
|
412
|
-
version = "0.16.
|
|
404
|
+
version = "0.16.1"
|
|
413
405
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
414
|
-
checksum = "
|
|
406
|
+
checksum = "841d1cc9bed7f9236f321df977030373f4a4163ae1a7dbfe1a51a2c1a51d9100"
|
|
415
407
|
dependencies = [
|
|
416
408
|
"allocator-api2",
|
|
417
409
|
]
|
|
@@ -424,25 +416,16 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
|
|
|
424
416
|
|
|
425
417
|
[[package]]
|
|
426
418
|
name = "indexmap"
|
|
427
|
-
version = "2.
|
|
419
|
+
version = "2.13.0"
|
|
428
420
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
429
|
-
checksum = "
|
|
421
|
+
checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
|
|
430
422
|
dependencies = [
|
|
431
423
|
"equivalent",
|
|
432
|
-
"hashbrown 0.16.
|
|
424
|
+
"hashbrown 0.16.1",
|
|
433
425
|
"serde",
|
|
434
426
|
"serde_core",
|
|
435
427
|
]
|
|
436
428
|
|
|
437
|
-
[[package]]
|
|
438
|
-
name = "indoc"
|
|
439
|
-
version = "2.0.7"
|
|
440
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
441
|
-
checksum = "79cf5c93f93228cf8efb3ba362535fb11199ac548a09ce117c9b1adc3030d706"
|
|
442
|
-
dependencies = [
|
|
443
|
-
"rustversion",
|
|
444
|
-
]
|
|
445
|
-
|
|
446
429
|
[[package]]
|
|
447
430
|
name = "itertools"
|
|
448
431
|
version = "0.10.5"
|
|
@@ -463,15 +446,15 @@ dependencies = [
|
|
|
463
446
|
|
|
464
447
|
[[package]]
|
|
465
448
|
name = "itoa"
|
|
466
|
-
version = "1.0.
|
|
449
|
+
version = "1.0.17"
|
|
467
450
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
468
|
-
checksum = "
|
|
451
|
+
checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
|
|
469
452
|
|
|
470
453
|
[[package]]
|
|
471
454
|
name = "js-sys"
|
|
472
|
-
version = "0.3.
|
|
455
|
+
version = "0.3.91"
|
|
473
456
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
474
|
-
checksum = "
|
|
457
|
+
checksum = "b49715b7073f385ba4bc528e5747d02e66cb39c6146efb66b781f131f0fb399c"
|
|
475
458
|
dependencies = [
|
|
476
459
|
"once_cell",
|
|
477
460
|
"wasm-bindgen",
|
|
@@ -491,15 +474,15 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
491
474
|
|
|
492
475
|
[[package]]
|
|
493
476
|
name = "libc"
|
|
494
|
-
version = "0.2.
|
|
477
|
+
version = "0.2.183"
|
|
495
478
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
496
|
-
checksum = "
|
|
479
|
+
checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d"
|
|
497
480
|
|
|
498
481
|
[[package]]
|
|
499
482
|
name = "lightningcss"
|
|
500
|
-
version = "1.0.0-alpha.
|
|
483
|
+
version = "1.0.0-alpha.71"
|
|
501
484
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
502
|
-
checksum = "
|
|
485
|
+
checksum = "cb6314c2f0590ac93c86099b98bb7ba8abcf759bfd89604ffca906472bb54937"
|
|
503
486
|
dependencies = [
|
|
504
487
|
"ahash 0.8.12",
|
|
505
488
|
"bitflags",
|
|
@@ -546,9 +529,9 @@ dependencies = [
|
|
|
546
529
|
|
|
547
530
|
[[package]]
|
|
548
531
|
name = "log"
|
|
549
|
-
version = "0.4.
|
|
532
|
+
version = "0.4.29"
|
|
550
533
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
551
|
-
checksum = "
|
|
534
|
+
checksum = "5e5032e24019045c762d3c0f28f5b6b8bbf38563a65908389bf7978758920897"
|
|
552
535
|
|
|
553
536
|
[[package]]
|
|
554
537
|
name = "matches"
|
|
@@ -558,24 +541,15 @@ checksum = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
|
|
|
558
541
|
|
|
559
542
|
[[package]]
|
|
560
543
|
name = "memchr"
|
|
561
|
-
version = "2.
|
|
562
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
563
|
-
checksum = "f52b00d39961fc5b2736ea853c9cc86238e165017a493d1d5c8eac6bdc4cc273"
|
|
564
|
-
|
|
565
|
-
[[package]]
|
|
566
|
-
name = "memoffset"
|
|
567
|
-
version = "0.9.1"
|
|
544
|
+
version = "2.8.0"
|
|
568
545
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
569
|
-
checksum = "
|
|
570
|
-
dependencies = [
|
|
571
|
-
"autocfg",
|
|
572
|
-
]
|
|
546
|
+
checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
|
|
573
547
|
|
|
574
548
|
[[package]]
|
|
575
549
|
name = "minify-html"
|
|
576
|
-
version = "0.
|
|
550
|
+
version = "0.18.1"
|
|
577
551
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
578
|
-
checksum = "
|
|
552
|
+
checksum = "644c1511457e5f70dcbc03c932d4bd26351eceb8657b119c919dde2e65b6d120"
|
|
579
553
|
dependencies = [
|
|
580
554
|
"ahash 0.8.12",
|
|
581
555
|
"aho-corasick",
|
|
@@ -617,21 +591,12 @@ dependencies = [
|
|
|
617
591
|
|
|
618
592
|
[[package]]
|
|
619
593
|
name = "mkdocs-minify-html-plugin"
|
|
620
|
-
version = "0.3.
|
|
594
|
+
version = "0.3.10"
|
|
621
595
|
dependencies = [
|
|
622
596
|
"minify-html",
|
|
623
597
|
"pyo3",
|
|
624
598
|
]
|
|
625
599
|
|
|
626
|
-
[[package]]
|
|
627
|
-
name = "nom"
|
|
628
|
-
version = "8.0.0"
|
|
629
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
630
|
-
checksum = "df9761775871bdef83bee530e60050f7e54b1105350d6884eb0fb4f46c2f9405"
|
|
631
|
-
dependencies = [
|
|
632
|
-
"memchr",
|
|
633
|
-
]
|
|
634
|
-
|
|
635
600
|
[[package]]
|
|
636
601
|
name = "nonmax"
|
|
637
602
|
version = "0.5.5"
|
|
@@ -648,12 +613,6 @@ dependencies = [
|
|
|
648
613
|
"num-traits",
|
|
649
614
|
]
|
|
650
615
|
|
|
651
|
-
[[package]]
|
|
652
|
-
name = "num-conv"
|
|
653
|
-
version = "0.1.0"
|
|
654
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
655
|
-
checksum = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9"
|
|
656
|
-
|
|
657
616
|
[[package]]
|
|
658
617
|
name = "num-integer"
|
|
659
618
|
version = "0.1.46"
|
|
@@ -692,31 +651,29 @@ checksum = "1a80800c0488c3a21695ea981a54918fbb37abf04f4d0720c453632255e2ff0e"
|
|
|
692
651
|
|
|
693
652
|
[[package]]
|
|
694
653
|
name = "owo-colors"
|
|
695
|
-
version = "4.
|
|
654
|
+
version = "4.3.0"
|
|
696
655
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
697
|
-
checksum = "
|
|
656
|
+
checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d"
|
|
698
657
|
|
|
699
658
|
[[package]]
|
|
700
659
|
name = "oxc-browserslist"
|
|
701
|
-
version = "2.1
|
|
660
|
+
version = "2.3.1"
|
|
702
661
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
703
|
-
checksum = "
|
|
662
|
+
checksum = "abb7a1163a5501f935f8722d839b576491b749c695e7a066aa0b8df988b806df"
|
|
704
663
|
dependencies = [
|
|
705
|
-
"bincode",
|
|
706
664
|
"flate2",
|
|
707
|
-
"
|
|
665
|
+
"postcard",
|
|
708
666
|
"rustc-hash",
|
|
709
667
|
"serde",
|
|
710
668
|
"serde_json",
|
|
711
669
|
"thiserror",
|
|
712
|
-
"time",
|
|
713
670
|
]
|
|
714
671
|
|
|
715
672
|
[[package]]
|
|
716
673
|
name = "oxc-miette"
|
|
717
|
-
version = "2.
|
|
674
|
+
version = "2.7.0"
|
|
718
675
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
719
|
-
checksum = "
|
|
676
|
+
checksum = "60a7ba54c704edefead1f44e9ef09c43e5cfae666bdc33516b066011f0e6ebf7"
|
|
720
677
|
dependencies = [
|
|
721
678
|
"cfg-if",
|
|
722
679
|
"owo-colors",
|
|
@@ -729,13 +686,13 @@ dependencies = [
|
|
|
729
686
|
|
|
730
687
|
[[package]]
|
|
731
688
|
name = "oxc-miette-derive"
|
|
732
|
-
version = "2.
|
|
689
|
+
version = "2.7.0"
|
|
733
690
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
734
|
-
checksum = "
|
|
691
|
+
checksum = "d4faecb54d0971f948fbc1918df69b26007e6f279a204793669542e1e8b75eb3"
|
|
735
692
|
dependencies = [
|
|
736
693
|
"proc-macro2",
|
|
737
694
|
"quote",
|
|
738
|
-
"syn 2.0.
|
|
695
|
+
"syn 2.0.117",
|
|
739
696
|
]
|
|
740
697
|
|
|
741
698
|
[[package]]
|
|
@@ -746,7 +703,7 @@ checksum = "433214c659b860685d987ca25a523a544d35ebf87ee3658a942fd1c664cfa49b"
|
|
|
746
703
|
dependencies = [
|
|
747
704
|
"allocator-api2",
|
|
748
705
|
"bumpalo",
|
|
749
|
-
"hashbrown 0.16.
|
|
706
|
+
"hashbrown 0.16.1",
|
|
750
707
|
"oxc_data_structures",
|
|
751
708
|
"rustc-hash",
|
|
752
709
|
]
|
|
@@ -777,7 +734,7 @@ dependencies = [
|
|
|
777
734
|
"phf 0.13.1",
|
|
778
735
|
"proc-macro2",
|
|
779
736
|
"quote",
|
|
780
|
-
"syn 2.0.
|
|
737
|
+
"syn 2.0.117",
|
|
781
738
|
]
|
|
782
739
|
|
|
783
740
|
[[package]]
|
|
@@ -978,9 +935,9 @@ dependencies = [
|
|
|
978
935
|
|
|
979
936
|
[[package]]
|
|
980
937
|
name = "oxc_sourcemap"
|
|
981
|
-
version = "6.0.
|
|
938
|
+
version = "6.0.2"
|
|
982
939
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
983
|
-
checksum = "
|
|
940
|
+
checksum = "c7f89482522f3cd820817d48ee4ade5b10822060d6e5e4d419f05f6d8bd29d70"
|
|
984
941
|
dependencies = [
|
|
985
942
|
"base64-simd 0.8.0",
|
|
986
943
|
"json-escape-simd",
|
|
@@ -1162,7 +1119,7 @@ dependencies = [
|
|
|
1162
1119
|
"phf_shared 0.11.3",
|
|
1163
1120
|
"proc-macro2",
|
|
1164
1121
|
"quote",
|
|
1165
|
-
"syn 2.0.
|
|
1122
|
+
"syn 2.0.117",
|
|
1166
1123
|
]
|
|
1167
1124
|
|
|
1168
1125
|
[[package]]
|
|
@@ -1175,7 +1132,7 @@ dependencies = [
|
|
|
1175
1132
|
"phf_shared 0.13.1",
|
|
1176
1133
|
"proc-macro2",
|
|
1177
1134
|
"quote",
|
|
1178
|
-
"syn 2.0.
|
|
1135
|
+
"syn 2.0.117",
|
|
1179
1136
|
]
|
|
1180
1137
|
|
|
1181
1138
|
[[package]]
|
|
@@ -1198,15 +1155,21 @@ dependencies = [
|
|
|
1198
1155
|
|
|
1199
1156
|
[[package]]
|
|
1200
1157
|
name = "portable-atomic"
|
|
1201
|
-
version = "1.
|
|
1158
|
+
version = "1.13.1"
|
|
1202
1159
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1203
|
-
checksum = "
|
|
1160
|
+
checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
|
|
1204
1161
|
|
|
1205
1162
|
[[package]]
|
|
1206
|
-
name = "
|
|
1207
|
-
version = "
|
|
1163
|
+
name = "postcard"
|
|
1164
|
+
version = "1.1.3"
|
|
1208
1165
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1209
|
-
checksum = "
|
|
1166
|
+
checksum = "6764c3b5dd454e283a30e6dfe78e9b31096d9e32036b5d1eaac7a6119ccb9a24"
|
|
1167
|
+
dependencies = [
|
|
1168
|
+
"cobs",
|
|
1169
|
+
"embedded-io 0.4.0",
|
|
1170
|
+
"embedded-io 0.6.1",
|
|
1171
|
+
"serde",
|
|
1172
|
+
]
|
|
1210
1173
|
|
|
1211
1174
|
[[package]]
|
|
1212
1175
|
name = "precomputed-hash"
|
|
@@ -1216,9 +1179,9 @@ checksum = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
|
|
1216
1179
|
|
|
1217
1180
|
[[package]]
|
|
1218
1181
|
name = "proc-macro2"
|
|
1219
|
-
version = "1.0.
|
|
1182
|
+
version = "1.0.106"
|
|
1220
1183
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1221
|
-
checksum = "
|
|
1184
|
+
checksum = "8fd00f0bb2e90d81d1044c2b32617f68fcb9fa3bb7640c23e9c748e53fb30934"
|
|
1222
1185
|
dependencies = [
|
|
1223
1186
|
"unicode-ident",
|
|
1224
1187
|
]
|
|
@@ -1245,35 +1208,32 @@ dependencies = [
|
|
|
1245
1208
|
|
|
1246
1209
|
[[package]]
|
|
1247
1210
|
name = "pyo3"
|
|
1248
|
-
version = "0.
|
|
1211
|
+
version = "0.28.2"
|
|
1249
1212
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1250
|
-
checksum = "
|
|
1213
|
+
checksum = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1"
|
|
1251
1214
|
dependencies = [
|
|
1252
|
-
"indoc",
|
|
1253
1215
|
"libc",
|
|
1254
|
-
"memoffset",
|
|
1255
1216
|
"once_cell",
|
|
1256
1217
|
"portable-atomic",
|
|
1257
1218
|
"pyo3-build-config",
|
|
1258
1219
|
"pyo3-ffi",
|
|
1259
1220
|
"pyo3-macros",
|
|
1260
|
-
"unindent",
|
|
1261
1221
|
]
|
|
1262
1222
|
|
|
1263
1223
|
[[package]]
|
|
1264
1224
|
name = "pyo3-build-config"
|
|
1265
|
-
version = "0.
|
|
1225
|
+
version = "0.28.2"
|
|
1266
1226
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1267
|
-
checksum = "
|
|
1227
|
+
checksum = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7"
|
|
1268
1228
|
dependencies = [
|
|
1269
1229
|
"target-lexicon",
|
|
1270
1230
|
]
|
|
1271
1231
|
|
|
1272
1232
|
[[package]]
|
|
1273
1233
|
name = "pyo3-ffi"
|
|
1274
|
-
version = "0.
|
|
1234
|
+
version = "0.28.2"
|
|
1275
1235
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1276
|
-
checksum = "
|
|
1236
|
+
checksum = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc"
|
|
1277
1237
|
dependencies = [
|
|
1278
1238
|
"libc",
|
|
1279
1239
|
"pyo3-build-config",
|
|
@@ -1281,34 +1241,34 @@ dependencies = [
|
|
|
1281
1241
|
|
|
1282
1242
|
[[package]]
|
|
1283
1243
|
name = "pyo3-macros"
|
|
1284
|
-
version = "0.
|
|
1244
|
+
version = "0.28.2"
|
|
1285
1245
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1286
|
-
checksum = "
|
|
1246
|
+
checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
|
|
1287
1247
|
dependencies = [
|
|
1288
1248
|
"proc-macro2",
|
|
1289
1249
|
"pyo3-macros-backend",
|
|
1290
1250
|
"quote",
|
|
1291
|
-
"syn 2.0.
|
|
1251
|
+
"syn 2.0.117",
|
|
1292
1252
|
]
|
|
1293
1253
|
|
|
1294
1254
|
[[package]]
|
|
1295
1255
|
name = "pyo3-macros-backend"
|
|
1296
|
-
version = "0.
|
|
1256
|
+
version = "0.28.2"
|
|
1297
1257
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1298
|
-
checksum = "
|
|
1258
|
+
checksum = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a"
|
|
1299
1259
|
dependencies = [
|
|
1300
1260
|
"heck",
|
|
1301
1261
|
"proc-macro2",
|
|
1302
1262
|
"pyo3-build-config",
|
|
1303
1263
|
"quote",
|
|
1304
|
-
"syn 2.0.
|
|
1264
|
+
"syn 2.0.117",
|
|
1305
1265
|
]
|
|
1306
1266
|
|
|
1307
1267
|
[[package]]
|
|
1308
1268
|
name = "quote"
|
|
1309
|
-
version = "1.0.
|
|
1269
|
+
version = "1.0.45"
|
|
1310
1270
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1311
|
-
checksum = "
|
|
1271
|
+
checksum = "41f2619966050689382d2b44f664f4bc593e129785a36d6ee376ddf37259b924"
|
|
1312
1272
|
dependencies = [
|
|
1313
1273
|
"proc-macro2",
|
|
1314
1274
|
]
|
|
@@ -1380,9 +1340,9 @@ dependencies = [
|
|
|
1380
1340
|
|
|
1381
1341
|
[[package]]
|
|
1382
1342
|
name = "rkyv"
|
|
1383
|
-
version = "0.7.
|
|
1343
|
+
version = "0.7.46"
|
|
1384
1344
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1385
|
-
checksum = "
|
|
1345
|
+
checksum = "2297bf9c81a3f0dc96bc9521370b88f054168c29826a75e89c55ff196e7ed6a1"
|
|
1386
1346
|
dependencies = [
|
|
1387
1347
|
"bitvec",
|
|
1388
1348
|
"bytecheck",
|
|
@@ -1398,9 +1358,9 @@ dependencies = [
|
|
|
1398
1358
|
|
|
1399
1359
|
[[package]]
|
|
1400
1360
|
name = "rkyv_derive"
|
|
1401
|
-
version = "0.7.
|
|
1361
|
+
version = "0.7.46"
|
|
1402
1362
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1403
|
-
checksum = "
|
|
1363
|
+
checksum = "84d7b42d4b8d06048d3ac8db0eb31bcb942cbeb709f0b5f2b2ebde398d3038f5"
|
|
1404
1364
|
dependencies = [
|
|
1405
1365
|
"proc-macro2",
|
|
1406
1366
|
"quote",
|
|
@@ -1421,9 +1381,9 @@ checksum = "b39cdef0fa800fc44525c84ccb54a029961a8215f9619753635a9c0d2538d46d"
|
|
|
1421
1381
|
|
|
1422
1382
|
[[package]]
|
|
1423
1383
|
name = "ryu"
|
|
1424
|
-
version = "1.0.
|
|
1384
|
+
version = "1.0.23"
|
|
1425
1385
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1426
|
-
checksum = "
|
|
1386
|
+
checksum = "9774ba4a74de5f7b1c1451ed6cd5285a32eddb5cccb8cc655a4e50009e06477f"
|
|
1427
1387
|
|
|
1428
1388
|
[[package]]
|
|
1429
1389
|
name = "scopeguard"
|
|
@@ -1439,9 +1399,9 @@ checksum = "1c107b6f4780854c8b126e228ea8869f4d7b71260f962fefb57b996b8959ba6b"
|
|
|
1439
1399
|
|
|
1440
1400
|
[[package]]
|
|
1441
1401
|
name = "self_cell"
|
|
1442
|
-
version = "1.2.
|
|
1402
|
+
version = "1.2.2"
|
|
1443
1403
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1444
|
-
checksum = "
|
|
1404
|
+
checksum = "b12e76d157a900eb52e81bc6e9f3069344290341720e9178cde2407113ac8d89"
|
|
1445
1405
|
|
|
1446
1406
|
[[package]]
|
|
1447
1407
|
name = "seq-macro"
|
|
@@ -1485,20 +1445,20 @@ checksum = "d540f220d3187173da220f885ab66608367b6574e925011a9353e4badda91d79"
|
|
|
1485
1445
|
dependencies = [
|
|
1486
1446
|
"proc-macro2",
|
|
1487
1447
|
"quote",
|
|
1488
|
-
"syn 2.0.
|
|
1448
|
+
"syn 2.0.117",
|
|
1489
1449
|
]
|
|
1490
1450
|
|
|
1491
1451
|
[[package]]
|
|
1492
1452
|
name = "serde_json"
|
|
1493
|
-
version = "1.0.
|
|
1453
|
+
version = "1.0.149"
|
|
1494
1454
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1495
|
-
checksum = "
|
|
1455
|
+
checksum = "83fc039473c5595ace860d8c4fafa220ff474b3fc6bfdb4293327f1a37e94d86"
|
|
1496
1456
|
dependencies = [
|
|
1497
1457
|
"itoa",
|
|
1498
1458
|
"memchr",
|
|
1499
|
-
"ryu",
|
|
1500
1459
|
"serde",
|
|
1501
1460
|
"serde_core",
|
|
1461
|
+
"zmij",
|
|
1502
1462
|
]
|
|
1503
1463
|
|
|
1504
1464
|
[[package]]
|
|
@@ -1512,9 +1472,9 @@ dependencies = [
|
|
|
1512
1472
|
|
|
1513
1473
|
[[package]]
|
|
1514
1474
|
name = "simd-adler32"
|
|
1515
|
-
version = "0.3.
|
|
1475
|
+
version = "0.3.8"
|
|
1516
1476
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1517
|
-
checksum = "
|
|
1477
|
+
checksum = "e320a6c5ad31d271ad523dcf3ad13e2767ad8b1cb8f047f75a8aeaf8da139da2"
|
|
1518
1478
|
|
|
1519
1479
|
[[package]]
|
|
1520
1480
|
name = "simdutf8"
|
|
@@ -1524,9 +1484,9 @@ checksum = "e3a9fe34e3e7a50316060351f37187a3f546bce95496156754b601a5fa71b76e"
|
|
|
1524
1484
|
|
|
1525
1485
|
[[package]]
|
|
1526
1486
|
name = "siphasher"
|
|
1527
|
-
version = "1.0.
|
|
1487
|
+
version = "1.0.2"
|
|
1528
1488
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1529
|
-
checksum = "
|
|
1489
|
+
checksum = "b2aa850e253778c88a04c3d7323b043aeda9d3e30d5971937c1855769763678e"
|
|
1530
1490
|
|
|
1531
1491
|
[[package]]
|
|
1532
1492
|
name = "smallvec"
|
|
@@ -1559,9 +1519,9 @@ dependencies = [
|
|
|
1559
1519
|
|
|
1560
1520
|
[[package]]
|
|
1561
1521
|
name = "syn"
|
|
1562
|
-
version = "2.0.
|
|
1522
|
+
version = "2.0.117"
|
|
1563
1523
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1564
|
-
checksum = "
|
|
1524
|
+
checksum = "e665b8803e7b1d2a727f4023456bbbbe74da67099c585258af0ad9c5013b9b99"
|
|
1565
1525
|
dependencies = [
|
|
1566
1526
|
"proc-macro2",
|
|
1567
1527
|
"quote",
|
|
@@ -1576,9 +1536,9 @@ checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369"
|
|
|
1576
1536
|
|
|
1577
1537
|
[[package]]
|
|
1578
1538
|
name = "target-lexicon"
|
|
1579
|
-
version = "0.13.
|
|
1539
|
+
version = "0.13.5"
|
|
1580
1540
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1581
|
-
checksum = "
|
|
1541
|
+
checksum = "adb6935a6f5c20170eeceb1a3835a49e12e19d792f6dd344ccc76a985ca5a6ca"
|
|
1582
1542
|
|
|
1583
1543
|
[[package]]
|
|
1584
1544
|
name = "textwrap"
|
|
@@ -1593,43 +1553,24 @@ dependencies = [
|
|
|
1593
1553
|
|
|
1594
1554
|
[[package]]
|
|
1595
1555
|
name = "thiserror"
|
|
1596
|
-
version = "2.0.
|
|
1556
|
+
version = "2.0.18"
|
|
1597
1557
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1598
|
-
checksum = "
|
|
1558
|
+
checksum = "4288b5bcbc7920c07a1149a35cf9590a2aa808e0bc1eafaade0b80947865fbc4"
|
|
1599
1559
|
dependencies = [
|
|
1600
1560
|
"thiserror-impl",
|
|
1601
1561
|
]
|
|
1602
1562
|
|
|
1603
1563
|
[[package]]
|
|
1604
1564
|
name = "thiserror-impl"
|
|
1605
|
-
version = "2.0.
|
|
1565
|
+
version = "2.0.18"
|
|
1606
1566
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1607
|
-
checksum = "
|
|
1567
|
+
checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
|
|
1608
1568
|
dependencies = [
|
|
1609
1569
|
"proc-macro2",
|
|
1610
1570
|
"quote",
|
|
1611
|
-
"syn 2.0.
|
|
1571
|
+
"syn 2.0.117",
|
|
1612
1572
|
]
|
|
1613
1573
|
|
|
1614
|
-
[[package]]
|
|
1615
|
-
name = "time"
|
|
1616
|
-
version = "0.3.44"
|
|
1617
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1618
|
-
checksum = "91e7d9e3bb61134e77bde20dd4825b97c010155709965fedf0f49bb138e52a9d"
|
|
1619
|
-
dependencies = [
|
|
1620
|
-
"deranged",
|
|
1621
|
-
"num-conv",
|
|
1622
|
-
"powerfmt",
|
|
1623
|
-
"serde",
|
|
1624
|
-
"time-core",
|
|
1625
|
-
]
|
|
1626
|
-
|
|
1627
|
-
[[package]]
|
|
1628
|
-
name = "time-core"
|
|
1629
|
-
version = "0.1.6"
|
|
1630
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1631
|
-
checksum = "40868e7c1d2f0b8d73e4a8c7f0ff63af4f6d19be117e90bd73eb1d62cf831c6b"
|
|
1632
|
-
|
|
1633
1574
|
[[package]]
|
|
1634
1575
|
name = "tinyvec"
|
|
1635
1576
|
version = "1.10.0"
|
|
@@ -1653,9 +1594,9 @@ checksum = "81b79ad29b5e19de4260020f8919b443b2ef0277d242ce532ec7b7a2cc8b6007"
|
|
|
1653
1594
|
|
|
1654
1595
|
[[package]]
|
|
1655
1596
|
name = "unicode-ident"
|
|
1656
|
-
version = "1.0.
|
|
1597
|
+
version = "1.0.24"
|
|
1657
1598
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1658
|
-
checksum = "
|
|
1599
|
+
checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75"
|
|
1659
1600
|
|
|
1660
1601
|
[[package]]
|
|
1661
1602
|
name = "unicode-linebreak"
|
|
@@ -1675,23 +1616,11 @@ version = "0.2.2"
|
|
|
1675
1616
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1676
1617
|
checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254"
|
|
1677
1618
|
|
|
1678
|
-
[[package]]
|
|
1679
|
-
name = "unindent"
|
|
1680
|
-
version = "0.2.4"
|
|
1681
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1682
|
-
checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
|
|
1683
|
-
|
|
1684
|
-
[[package]]
|
|
1685
|
-
name = "unty"
|
|
1686
|
-
version = "0.0.4"
|
|
1687
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1688
|
-
checksum = "6d49784317cd0d1ee7ec5c716dd598ec5b4483ea832a2dced265471cc0f690ae"
|
|
1689
|
-
|
|
1690
1619
|
[[package]]
|
|
1691
1620
|
name = "uuid"
|
|
1692
|
-
version = "1.
|
|
1621
|
+
version = "1.22.0"
|
|
1693
1622
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1694
|
-
checksum = "
|
|
1623
|
+
checksum = "a68d3c8f01c0cfa54a75291d83601161799e4a89a39e0929f4b0354d88757a37"
|
|
1695
1624
|
dependencies = [
|
|
1696
1625
|
"js-sys",
|
|
1697
1626
|
"wasm-bindgen",
|
|
@@ -1703,12 +1632,6 @@ version = "0.9.5"
|
|
|
1703
1632
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1704
1633
|
checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a"
|
|
1705
1634
|
|
|
1706
|
-
[[package]]
|
|
1707
|
-
name = "virtue"
|
|
1708
|
-
version = "0.0.18"
|
|
1709
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1710
|
-
checksum = "051eb1abcf10076295e815102942cc58f9d5e3b4560e46e53c21e8ff6f3af7b1"
|
|
1711
|
-
|
|
1712
1635
|
[[package]]
|
|
1713
1636
|
name = "vlq"
|
|
1714
1637
|
version = "0.5.1"
|
|
@@ -1729,18 +1652,18 @@ checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b"
|
|
|
1729
1652
|
|
|
1730
1653
|
[[package]]
|
|
1731
1654
|
name = "wasip2"
|
|
1732
|
-
version = "1.0.
|
|
1655
|
+
version = "1.0.2+wasi-0.2.9"
|
|
1733
1656
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1734
|
-
checksum = "
|
|
1657
|
+
checksum = "9517f9239f02c069db75e65f174b3da828fe5f5b945c4dd26bd25d89c03ebcf5"
|
|
1735
1658
|
dependencies = [
|
|
1736
1659
|
"wit-bindgen",
|
|
1737
1660
|
]
|
|
1738
1661
|
|
|
1739
1662
|
[[package]]
|
|
1740
1663
|
name = "wasm-bindgen"
|
|
1741
|
-
version = "0.2.
|
|
1664
|
+
version = "0.2.114"
|
|
1742
1665
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1743
|
-
checksum = "
|
|
1666
|
+
checksum = "6532f9a5c1ece3798cb1c2cfdba640b9b3ba884f5db45973a6f442510a87d38e"
|
|
1744
1667
|
dependencies = [
|
|
1745
1668
|
"cfg-if",
|
|
1746
1669
|
"once_cell",
|
|
@@ -1749,25 +1672,11 @@ dependencies = [
|
|
|
1749
1672
|
"wasm-bindgen-shared",
|
|
1750
1673
|
]
|
|
1751
1674
|
|
|
1752
|
-
[[package]]
|
|
1753
|
-
name = "wasm-bindgen-backend"
|
|
1754
|
-
version = "0.2.104"
|
|
1755
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1756
|
-
checksum = "671c9a5a66f49d8a47345ab942e2cb93c7d1d0339065d4f8139c486121b43b19"
|
|
1757
|
-
dependencies = [
|
|
1758
|
-
"bumpalo",
|
|
1759
|
-
"log",
|
|
1760
|
-
"proc-macro2",
|
|
1761
|
-
"quote",
|
|
1762
|
-
"syn 2.0.108",
|
|
1763
|
-
"wasm-bindgen-shared",
|
|
1764
|
-
]
|
|
1765
|
-
|
|
1766
1675
|
[[package]]
|
|
1767
1676
|
name = "wasm-bindgen-macro"
|
|
1768
|
-
version = "0.2.
|
|
1677
|
+
version = "0.2.114"
|
|
1769
1678
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1770
|
-
checksum = "
|
|
1679
|
+
checksum = "18a2d50fcf105fb33bb15f00e7a77b772945a2ee45dcf454961fd843e74c18e6"
|
|
1771
1680
|
dependencies = [
|
|
1772
1681
|
"quote",
|
|
1773
1682
|
"wasm-bindgen-macro-support",
|
|
@@ -1775,22 +1684,22 @@ dependencies = [
|
|
|
1775
1684
|
|
|
1776
1685
|
[[package]]
|
|
1777
1686
|
name = "wasm-bindgen-macro-support"
|
|
1778
|
-
version = "0.2.
|
|
1687
|
+
version = "0.2.114"
|
|
1779
1688
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1780
|
-
checksum = "
|
|
1689
|
+
checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3"
|
|
1781
1690
|
dependencies = [
|
|
1691
|
+
"bumpalo",
|
|
1782
1692
|
"proc-macro2",
|
|
1783
1693
|
"quote",
|
|
1784
|
-
"syn 2.0.
|
|
1785
|
-
"wasm-bindgen-backend",
|
|
1694
|
+
"syn 2.0.117",
|
|
1786
1695
|
"wasm-bindgen-shared",
|
|
1787
1696
|
]
|
|
1788
1697
|
|
|
1789
1698
|
[[package]]
|
|
1790
1699
|
name = "wasm-bindgen-shared"
|
|
1791
|
-
version = "0.2.
|
|
1700
|
+
version = "0.2.114"
|
|
1792
1701
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1793
|
-
checksum = "
|
|
1702
|
+
checksum = "75a326b8c223ee17883a4251907455a2431acc2791c98c26279376490c378c16"
|
|
1794
1703
|
dependencies = [
|
|
1795
1704
|
"unicode-ident",
|
|
1796
1705
|
]
|
|
@@ -1803,9 +1712,9 @@ checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
|
|
|
1803
1712
|
|
|
1804
1713
|
[[package]]
|
|
1805
1714
|
name = "wit-bindgen"
|
|
1806
|
-
version = "0.
|
|
1715
|
+
version = "0.51.0"
|
|
1807
1716
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1808
|
-
checksum = "
|
|
1717
|
+
checksum = "d7249219f66ced02969388cf2bb044a09756a083d0fab1e566056b04d9fbcaa5"
|
|
1809
1718
|
|
|
1810
1719
|
[[package]]
|
|
1811
1720
|
name = "wyz"
|
|
@@ -1818,20 +1727,26 @@ dependencies = [
|
|
|
1818
1727
|
|
|
1819
1728
|
[[package]]
|
|
1820
1729
|
name = "zerocopy"
|
|
1821
|
-
version = "0.8.
|
|
1730
|
+
version = "0.8.42"
|
|
1822
1731
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1823
|
-
checksum = "
|
|
1732
|
+
checksum = "f2578b716f8a7a858b7f02d5bd870c14bf4ddbbcf3a4c05414ba6503640505e3"
|
|
1824
1733
|
dependencies = [
|
|
1825
1734
|
"zerocopy-derive",
|
|
1826
1735
|
]
|
|
1827
1736
|
|
|
1828
1737
|
[[package]]
|
|
1829
1738
|
name = "zerocopy-derive"
|
|
1830
|
-
version = "0.8.
|
|
1739
|
+
version = "0.8.42"
|
|
1831
1740
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1832
|
-
checksum = "
|
|
1741
|
+
checksum = "7e6cc098ea4d3bd6246687de65af3f920c430e236bee1e3bf2e441463f08a02f"
|
|
1833
1742
|
dependencies = [
|
|
1834
1743
|
"proc-macro2",
|
|
1835
1744
|
"quote",
|
|
1836
|
-
"syn 2.0.
|
|
1745
|
+
"syn 2.0.117",
|
|
1837
1746
|
]
|
|
1747
|
+
|
|
1748
|
+
[[package]]
|
|
1749
|
+
name = "zmij"
|
|
1750
|
+
version = "1.0.21"
|
|
1751
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1752
|
+
checksum = "b8848ee67ecc8aedbaf3e4122217aff892639231befc6a1b58d29fff4c2cabaa"
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
[package]
|
|
2
2
|
name = "mkdocs-minify-html-plugin"
|
|
3
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.10"
|
|
4
4
|
edition = "2024"
|
|
5
5
|
license = "MIT"
|
|
6
6
|
include = [
|
|
7
|
-
"/python",
|
|
8
|
-
"/src",
|
|
9
7
|
"/Cargo.lock",
|
|
10
8
|
"/Cargo.toml",
|
|
11
9
|
"/LICENSE",
|
|
12
|
-
"/pyproject.toml",
|
|
13
10
|
"/README.md",
|
|
11
|
+
"/pyproject.toml",
|
|
12
|
+
"/python",
|
|
13
|
+
"/src",
|
|
14
14
|
]
|
|
15
15
|
publish = false
|
|
16
16
|
readme = "README.md"
|
|
17
17
|
|
|
18
18
|
[lib]
|
|
19
|
-
name = "_minify_html"
|
|
20
19
|
crate-type = ["cdylib"]
|
|
20
|
+
name = "_minify_html"
|
|
21
21
|
|
|
22
22
|
[dependencies]
|
|
23
|
-
minify-html = "=0.
|
|
24
|
-
pyo3 =
|
|
23
|
+
minify-html = "=0.18.1"
|
|
24
|
+
pyo3 = "=0.28.2"
|
|
25
25
|
|
|
26
26
|
[profile.release]
|
|
27
27
|
strip = true
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: mkdocs-minify-html-plugin
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.10
|
|
4
4
|
Classifier: Framework :: MkDocs
|
|
5
5
|
Classifier: Natural Language :: English
|
|
6
6
|
Classifier: Operating System :: MacOS
|
|
@@ -8,7 +8,6 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
8
8
|
Classifier: Operating System :: POSIX :: Linux
|
|
9
9
|
Classifier: Programming Language :: Python
|
|
10
10
|
Classifier: Programming Language :: Python :: 3 :: Only
|
|
11
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
12
11
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
12
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
13
|
Classifier: Programming Language :: Python :: 3.12
|
|
@@ -18,12 +17,12 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
18
17
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
|
19
18
|
Classifier: Programming Language :: Rust
|
|
20
19
|
Classifier: Typing :: Typed
|
|
21
|
-
Requires-Dist: mkdocs>=1.4
|
|
20
|
+
Requires-Dist: mkdocs>=1.4,<2
|
|
22
21
|
Requires-Dist: typing-extensions>=4.4 ; python_full_version < '3.12'
|
|
23
22
|
License-File: LICENSE
|
|
24
23
|
Summary: MkDocs plugin for minification using minify-html, an extremely fast and smart HTML + JS + CSS minifier
|
|
25
24
|
Author-email: monosans <hsyqixco@protonmail.com>
|
|
26
|
-
Requires-Python: >=3.
|
|
25
|
+
Requires-Python: >=3.10
|
|
27
26
|
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
|
|
28
27
|
Project-URL: repository, https://github.com/monosans/mkdocs-minify-html-plugin
|
|
29
28
|
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
[build-system]
|
|
2
|
-
build-backend = "maturin"
|
|
3
|
-
requires = ["maturin>=1,<2"]
|
|
4
|
-
|
|
5
1
|
[project]
|
|
6
2
|
name = "mkdocs-minify-html-plugin"
|
|
7
|
-
version = "0.3.
|
|
3
|
+
version = "0.3.10"
|
|
8
4
|
description = "MkDocs plugin for minification using minify-html, an extremely fast and smart HTML + JS + CSS minifier"
|
|
9
5
|
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.10"
|
|
10
7
|
authors = [{ name = "monosans", email = "hsyqixco@protonmail.com" }]
|
|
11
|
-
requires-python = ">=3.9"
|
|
12
8
|
classifiers = [
|
|
13
9
|
"Framework :: MkDocs",
|
|
14
10
|
"Natural Language :: English",
|
|
@@ -17,7 +13,6 @@ classifiers = [
|
|
|
17
13
|
"Operating System :: POSIX :: Linux",
|
|
18
14
|
"Programming Language :: Python",
|
|
19
15
|
"Programming Language :: Python :: 3 :: Only",
|
|
20
|
-
"Programming Language :: Python :: 3.9",
|
|
21
16
|
"Programming Language :: Python :: 3.10",
|
|
22
17
|
"Programming Language :: Python :: 3.11",
|
|
23
18
|
"Programming Language :: Python :: 3.12",
|
|
@@ -28,16 +23,23 @@ classifiers = [
|
|
|
28
23
|
"Programming Language :: Rust",
|
|
29
24
|
"Typing :: Typed",
|
|
30
25
|
]
|
|
31
|
-
dependencies = ["mkdocs>=1.4", "typing-extensions>=4.4; python_version<'3.12'"]
|
|
32
26
|
urls.repository = "https://github.com/monosans/mkdocs-minify-html-plugin"
|
|
33
27
|
entry-points."mkdocs.plugins".minify_html = "mkdocs_minify_html_plugin.plugin:MinifyHtmlPlugin"
|
|
28
|
+
dependencies = [
|
|
29
|
+
"mkdocs>=1.4,<2",
|
|
30
|
+
"typing-extensions>=4.4; python_version<'3.12'"
|
|
31
|
+
]
|
|
34
32
|
|
|
35
33
|
[dependency-groups]
|
|
36
|
-
dev = ["mypy[faster-cache]==1.
|
|
34
|
+
dev = ["mypy[faster-cache]==1.19.1", "ruff==0.15.5"]
|
|
35
|
+
|
|
36
|
+
[build-system]
|
|
37
|
+
requires = ["maturin>=1,<2"]
|
|
38
|
+
build-backend = "maturin"
|
|
37
39
|
|
|
38
40
|
[tool.maturin]
|
|
39
|
-
python-source = "python"
|
|
40
41
|
module-name = "mkdocs_minify_html_plugin._minify_html"
|
|
42
|
+
python-source = "python"
|
|
41
43
|
|
|
42
44
|
[tool.uv]
|
|
43
45
|
cache-keys = [
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import sys
|
|
4
|
-
from typing import Optional
|
|
5
4
|
|
|
6
5
|
from mkdocs.config import config_options as c
|
|
7
6
|
from mkdocs.config.base import Config
|
|
@@ -39,13 +38,13 @@ class MinifyHtmlPlugin(BasePlugin[MinifyHtmlConfig]):
|
|
|
39
38
|
@override
|
|
40
39
|
def on_post_page(
|
|
41
40
|
self, output: str, *, page: Page, config: MkDocsConfig
|
|
42
|
-
) ->
|
|
41
|
+
) -> str | None:
|
|
43
42
|
return minify(output, **self.config)
|
|
44
43
|
|
|
45
44
|
@override
|
|
46
45
|
def on_post_template(
|
|
47
46
|
self, output_content: str, *, template_name: str, config: MkDocsConfig
|
|
48
|
-
) ->
|
|
47
|
+
) -> str | None:
|
|
49
48
|
if template_name.endswith(".html"):
|
|
50
49
|
return minify(output_content, **self.config)
|
|
51
50
|
return output_content
|
|
@@ -0,0 +1,119 @@
|
|
|
1
|
+
#![deny(
|
|
2
|
+
warnings,
|
|
3
|
+
deprecated_safe,
|
|
4
|
+
future_incompatible,
|
|
5
|
+
keyword_idents,
|
|
6
|
+
let_underscore,
|
|
7
|
+
nonstandard_style,
|
|
8
|
+
refining_impl_trait,
|
|
9
|
+
rust_2018_compatibility,
|
|
10
|
+
rust_2018_idioms,
|
|
11
|
+
rust_2021_compatibility,
|
|
12
|
+
rust_2024_compatibility,
|
|
13
|
+
unused,
|
|
14
|
+
clippy::all,
|
|
15
|
+
clippy::pedantic,
|
|
16
|
+
clippy::restriction,
|
|
17
|
+
clippy::nursery,
|
|
18
|
+
clippy::cargo
|
|
19
|
+
)]
|
|
20
|
+
#![allow(
|
|
21
|
+
clippy::absolute_paths,
|
|
22
|
+
clippy::allow_attributes_without_reason,
|
|
23
|
+
clippy::arbitrary_source_item_ordering,
|
|
24
|
+
clippy::as_conversions,
|
|
25
|
+
clippy::blanket_clippy_restriction_lints,
|
|
26
|
+
clippy::cast_precision_loss,
|
|
27
|
+
clippy::cognitive_complexity,
|
|
28
|
+
clippy::else_if_without_else,
|
|
29
|
+
clippy::float_arithmetic,
|
|
30
|
+
clippy::implicit_return,
|
|
31
|
+
clippy::integer_division_remainder_used,
|
|
32
|
+
clippy::iter_over_hash_type,
|
|
33
|
+
clippy::min_ident_chars,
|
|
34
|
+
clippy::missing_docs_in_private_items,
|
|
35
|
+
clippy::mod_module_files,
|
|
36
|
+
clippy::multiple_crate_versions,
|
|
37
|
+
clippy::pattern_type_mismatch,
|
|
38
|
+
clippy::question_mark_used,
|
|
39
|
+
clippy::separated_literal_suffix,
|
|
40
|
+
clippy::shadow_reuse,
|
|
41
|
+
clippy::shadow_unrelated,
|
|
42
|
+
clippy::single_call_fn,
|
|
43
|
+
clippy::single_char_lifetime_names,
|
|
44
|
+
clippy::std_instead_of_alloc,
|
|
45
|
+
clippy::std_instead_of_core,
|
|
46
|
+
clippy::too_many_lines,
|
|
47
|
+
clippy::unwrap_used
|
|
48
|
+
)]
|
|
49
|
+
|
|
50
|
+
use pyo3::prelude::*;
|
|
51
|
+
|
|
52
|
+
#[pymodule]
|
|
53
|
+
mod _minify_html {
|
|
54
|
+
use pyo3::prelude::*;
|
|
55
|
+
|
|
56
|
+
#[pyfunction]
|
|
57
|
+
#[pyo3(signature = (
|
|
58
|
+
code,
|
|
59
|
+
/,
|
|
60
|
+
*,
|
|
61
|
+
allow_noncompliant_unquoted_attribute_values,
|
|
62
|
+
allow_optimal_entities,
|
|
63
|
+
allow_removing_spaces_between_attributes,
|
|
64
|
+
keep_closing_tags,
|
|
65
|
+
keep_comments,
|
|
66
|
+
keep_html_and_head_opening_tags,
|
|
67
|
+
keep_input_type_text_attr,
|
|
68
|
+
keep_ssi_comments,
|
|
69
|
+
minify_css,
|
|
70
|
+
minify_doctype,
|
|
71
|
+
minify_js,
|
|
72
|
+
preserve_brace_template_syntax,
|
|
73
|
+
preserve_chevron_percent_template_syntax,
|
|
74
|
+
remove_bangs,
|
|
75
|
+
remove_processing_instructions,
|
|
76
|
+
))]
|
|
77
|
+
#[expect(clippy::fn_params_excessive_bools, clippy::too_many_arguments)]
|
|
78
|
+
fn minify<'py>(
|
|
79
|
+
py: Python<'py>,
|
|
80
|
+
code: &str,
|
|
81
|
+
allow_noncompliant_unquoted_attribute_values: bool,
|
|
82
|
+
allow_optimal_entities: bool,
|
|
83
|
+
allow_removing_spaces_between_attributes: bool,
|
|
84
|
+
keep_closing_tags: bool,
|
|
85
|
+
keep_comments: bool,
|
|
86
|
+
keep_html_and_head_opening_tags: bool,
|
|
87
|
+
keep_input_type_text_attr: bool,
|
|
88
|
+
keep_ssi_comments: bool,
|
|
89
|
+
minify_css: bool,
|
|
90
|
+
minify_doctype: bool,
|
|
91
|
+
minify_js: bool,
|
|
92
|
+
preserve_brace_template_syntax: bool,
|
|
93
|
+
preserve_chevron_percent_template_syntax: bool,
|
|
94
|
+
remove_bangs: bool,
|
|
95
|
+
remove_processing_instructions: bool,
|
|
96
|
+
) -> PyResult<Bound<'py, pyo3::types::PyString>> {
|
|
97
|
+
let minified = py.detach(move || {
|
|
98
|
+
let cfg = ::minify_html::Cfg {
|
|
99
|
+
allow_noncompliant_unquoted_attribute_values,
|
|
100
|
+
allow_optimal_entities,
|
|
101
|
+
allow_removing_spaces_between_attributes,
|
|
102
|
+
keep_closing_tags,
|
|
103
|
+
keep_comments,
|
|
104
|
+
keep_html_and_head_opening_tags,
|
|
105
|
+
keep_input_type_text_attr,
|
|
106
|
+
keep_ssi_comments,
|
|
107
|
+
minify_css,
|
|
108
|
+
minify_doctype,
|
|
109
|
+
minify_js,
|
|
110
|
+
preserve_brace_template_syntax,
|
|
111
|
+
preserve_chevron_percent_template_syntax,
|
|
112
|
+
remove_bangs,
|
|
113
|
+
remove_processing_instructions,
|
|
114
|
+
};
|
|
115
|
+
::minify_html::minify(code.as_bytes(), &cfg)
|
|
116
|
+
});
|
|
117
|
+
pyo3::types::PyString::from_bytes(py, &minified)
|
|
118
|
+
}
|
|
119
|
+
}
|
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
#![deny(
|
|
2
|
-
warnings,
|
|
3
|
-
deprecated_safe,
|
|
4
|
-
future_incompatible,
|
|
5
|
-
keyword_idents,
|
|
6
|
-
let_underscore,
|
|
7
|
-
nonstandard_style,
|
|
8
|
-
refining_impl_trait,
|
|
9
|
-
rust_2018_compatibility,
|
|
10
|
-
rust_2018_idioms,
|
|
11
|
-
rust_2021_compatibility,
|
|
12
|
-
rust_2024_compatibility,
|
|
13
|
-
unused,
|
|
14
|
-
clippy::all,
|
|
15
|
-
clippy::pedantic,
|
|
16
|
-
clippy::restriction,
|
|
17
|
-
clippy::nursery,
|
|
18
|
-
clippy::cargo
|
|
19
|
-
)]
|
|
20
|
-
#![allow(
|
|
21
|
-
clippy::absolute_paths,
|
|
22
|
-
clippy::allow_attributes_without_reason,
|
|
23
|
-
clippy::arbitrary_source_item_ordering,
|
|
24
|
-
clippy::as_conversions,
|
|
25
|
-
clippy::blanket_clippy_restriction_lints,
|
|
26
|
-
clippy::cast_precision_loss,
|
|
27
|
-
clippy::cognitive_complexity,
|
|
28
|
-
clippy::else_if_without_else,
|
|
29
|
-
clippy::float_arithmetic,
|
|
30
|
-
clippy::implicit_return,
|
|
31
|
-
clippy::integer_division_remainder_used,
|
|
32
|
-
clippy::iter_over_hash_type,
|
|
33
|
-
clippy::min_ident_chars,
|
|
34
|
-
clippy::missing_docs_in_private_items,
|
|
35
|
-
clippy::mod_module_files,
|
|
36
|
-
clippy::multiple_crate_versions,
|
|
37
|
-
clippy::pattern_type_mismatch,
|
|
38
|
-
clippy::question_mark_used,
|
|
39
|
-
clippy::separated_literal_suffix,
|
|
40
|
-
clippy::shadow_reuse,
|
|
41
|
-
clippy::shadow_unrelated,
|
|
42
|
-
clippy::single_call_fn,
|
|
43
|
-
clippy::single_char_lifetime_names,
|
|
44
|
-
clippy::std_instead_of_alloc,
|
|
45
|
-
clippy::std_instead_of_core,
|
|
46
|
-
clippy::too_many_lines,
|
|
47
|
-
clippy::unwrap_used
|
|
48
|
-
)]
|
|
49
|
-
|
|
50
|
-
use pyo3::prelude::*;
|
|
51
|
-
|
|
52
|
-
#[pyfunction]
|
|
53
|
-
#[pyo3(signature = (
|
|
54
|
-
code,
|
|
55
|
-
/,
|
|
56
|
-
*,
|
|
57
|
-
allow_noncompliant_unquoted_attribute_values,
|
|
58
|
-
allow_optimal_entities,
|
|
59
|
-
allow_removing_spaces_between_attributes,
|
|
60
|
-
keep_closing_tags,
|
|
61
|
-
keep_comments,
|
|
62
|
-
keep_html_and_head_opening_tags,
|
|
63
|
-
keep_input_type_text_attr,
|
|
64
|
-
keep_ssi_comments,
|
|
65
|
-
minify_css,
|
|
66
|
-
minify_doctype,
|
|
67
|
-
minify_js,
|
|
68
|
-
preserve_brace_template_syntax,
|
|
69
|
-
preserve_chevron_percent_template_syntax,
|
|
70
|
-
remove_bangs,
|
|
71
|
-
remove_processing_instructions,
|
|
72
|
-
))]
|
|
73
|
-
#[expect(clippy::fn_params_excessive_bools)]
|
|
74
|
-
#[expect(clippy::too_many_arguments)]
|
|
75
|
-
fn minify(
|
|
76
|
-
py: Python<'_>,
|
|
77
|
-
code: &str,
|
|
78
|
-
allow_noncompliant_unquoted_attribute_values: bool,
|
|
79
|
-
allow_optimal_entities: bool,
|
|
80
|
-
allow_removing_spaces_between_attributes: bool,
|
|
81
|
-
keep_closing_tags: bool,
|
|
82
|
-
keep_comments: bool,
|
|
83
|
-
keep_html_and_head_opening_tags: bool,
|
|
84
|
-
keep_input_type_text_attr: bool,
|
|
85
|
-
keep_ssi_comments: bool,
|
|
86
|
-
minify_css: bool,
|
|
87
|
-
minify_doctype: bool,
|
|
88
|
-
#[expect(unused_variables)] minify_js: bool,
|
|
89
|
-
preserve_brace_template_syntax: bool,
|
|
90
|
-
preserve_chevron_percent_template_syntax: bool,
|
|
91
|
-
remove_bangs: bool,
|
|
92
|
-
remove_processing_instructions: bool,
|
|
93
|
-
) -> String {
|
|
94
|
-
py.detach(move || {
|
|
95
|
-
let cfg = ::minify_html::Cfg {
|
|
96
|
-
allow_noncompliant_unquoted_attribute_values,
|
|
97
|
-
allow_optimal_entities,
|
|
98
|
-
allow_removing_spaces_between_attributes,
|
|
99
|
-
keep_closing_tags,
|
|
100
|
-
keep_comments,
|
|
101
|
-
keep_html_and_head_opening_tags,
|
|
102
|
-
keep_input_type_text_attr,
|
|
103
|
-
keep_ssi_comments,
|
|
104
|
-
minify_css,
|
|
105
|
-
minify_doctype,
|
|
106
|
-
minify_js: false,
|
|
107
|
-
preserve_brace_template_syntax,
|
|
108
|
-
preserve_chevron_percent_template_syntax,
|
|
109
|
-
remove_bangs,
|
|
110
|
-
remove_processing_instructions,
|
|
111
|
-
};
|
|
112
|
-
let minified = ::minify_html::minify(code.as_bytes(), &cfg);
|
|
113
|
-
String::from_utf8(minified).unwrap()
|
|
114
|
-
})
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
#[pymodule(gil_used = false)]
|
|
118
|
-
fn _minify_html(m: &Bound<'_, PyModule>) -> PyResult<()> {
|
|
119
|
-
m.add_wrapped(wrap_pyfunction!(minify))?;
|
|
120
|
-
Ok(())
|
|
121
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|