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.
@@ -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.16",
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.3"
37
+ version = "1.1.4"
38
38
  source = "registry+https://github.com/rust-lang/crates.io-index"
39
- checksum = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916"
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.10.0"
77
+ version = "2.11.0"
98
78
  source = "registry+https://github.com/rust-lang/crates.io-index"
99
- checksum = "812e12b5285cc515a9c72a5c1d3b6d46a19dac5acfef5265968c166106e31dd3"
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.10.1"
126
+ version = "1.11.1"
147
127
  source = "registry+https://github.com/rust-lang/crates.io-index"
148
- checksum = "d71b6127be86fdcfddb610f7182ac57211d4b18a3e9c82eb2d17662f2227ad6a"
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.108",
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.9.0"
284
+ version = "2.10.0"
296
285
  source = "registry+https://github.com/rust-lang/crates.io-index"
297
- checksum = "2a2330da5de22e8a3cb63252ce2abb30116bf5265e89c0e01bc17015ce30a476"
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.10"
305
+ version = "1.0.11"
326
306
  source = "registry+https://github.com/rust-lang/crates.io-index"
327
- checksum = "d6add3b8cff394282be81f3fc1a0605db594ed69890078ca6e2cab1c408bcf04"
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.5"
350
+ version = "1.1.9"
359
351
  source = "registry+https://github.com/rust-lang/crates.io-index"
360
- checksum = "bfe33edd8e85a12a67454e37f8c75e730830d83e313556ab9ebf9ee7fbeb3bfb"
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.16"
366
+ version = "0.2.17"
375
367
  source = "registry+https://github.com/rust-lang/crates.io-index"
376
- checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
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.0"
404
+ version = "0.16.1"
413
405
  source = "registry+https://github.com/rust-lang/crates.io-index"
414
- checksum = "5419bdc4f6a9207fbeba6d11b604d481addf78ecd10c11ad51e76c2f6482748d"
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.12.0"
419
+ version = "2.13.0"
428
420
  source = "registry+https://github.com/rust-lang/crates.io-index"
429
- checksum = "6717a8d2a5a929a1a2eb43a12812498ed141a0bcfb7e8f7844fbdbe4303bba9f"
421
+ checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
430
422
  dependencies = [
431
423
  "equivalent",
432
- "hashbrown 0.16.0",
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.15"
449
+ version = "1.0.17"
467
450
  source = "registry+https://github.com/rust-lang/crates.io-index"
468
- checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
451
+ checksum = "92ecc6618181def0457392ccd0ee51198e065e016d1d527a7ac1b6dc7c1f09d2"
469
452
 
470
453
  [[package]]
471
454
  name = "js-sys"
472
- version = "0.3.81"
455
+ version = "0.3.91"
473
456
  source = "registry+https://github.com/rust-lang/crates.io-index"
474
- checksum = "ec48937a97411dcb524a265206ccd4c90bb711fca92b2792c407f268825b9305"
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.177"
477
+ version = "0.2.183"
495
478
  source = "registry+https://github.com/rust-lang/crates.io-index"
496
- checksum = "2874a2af47a2325c2001a6e6fad9b16a53b802102b528163885171cf92b15976"
479
+ checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d"
497
480
 
498
481
  [[package]]
499
482
  name = "lightningcss"
500
- version = "1.0.0-alpha.68"
483
+ version = "1.0.0-alpha.71"
501
484
  source = "registry+https://github.com/rust-lang/crates.io-index"
502
- checksum = "b407ca668368d1d5a86cea58ac82d9f9f9ca4bac1e9dce6f16f875f0f081a911"
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.28"
532
+ version = "0.4.29"
550
533
  source = "registry+https://github.com/rust-lang/crates.io-index"
551
- checksum = "34080505efa8e45a4b816c349525ebe327ceaa8559756f0356cba97ef3bf7432"
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.7.6"
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 = "488016bfae457b036d996092f6cb448677611ce4449e970ceaf42695203f218a"
570
- dependencies = [
571
- "autocfg",
572
- ]
546
+ checksum = "f8ca58f447f06ed17d5fc4043ce1b10dd205e060fb3ce5b979b8ed8e59ff3f79"
573
547
 
574
548
  [[package]]
575
549
  name = "minify-html"
576
- version = "0.17.1"
550
+ version = "0.18.1"
577
551
  source = "registry+https://github.com/rust-lang/crates.io-index"
578
- checksum = "0329851816fa8a11a24e1fa8330817140af3e53eecdbd68e5d4e135c43c9d9d5"
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.8"
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.2.3"
654
+ version = "4.3.0"
696
655
  source = "registry+https://github.com/rust-lang/crates.io-index"
697
- checksum = "9c6901729fa79e91a0913333229e9ca5dc725089d1c363b2f4b4760709dc4a52"
656
+ checksum = "d211803b9b6b570f68772237e415a029d5a50c65d382910b879fb19d3271f94d"
698
657
 
699
658
  [[package]]
700
659
  name = "oxc-browserslist"
701
- version = "2.1.2"
660
+ version = "2.3.1"
702
661
  source = "registry+https://github.com/rust-lang/crates.io-index"
703
- checksum = "7612127f5fa1ef0f3e98905ddfc10a7fa1df98944b75d774bb3cb4b530663616"
662
+ checksum = "abb7a1163a5501f935f8722d839b576491b749c695e7a066aa0b8df988b806df"
704
663
  dependencies = [
705
- "bincode",
706
664
  "flate2",
707
- "nom",
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.5.1"
674
+ version = "2.7.0"
718
675
  source = "registry+https://github.com/rust-lang/crates.io-index"
719
- checksum = "5c42cefdcbebec6b0b72229ac0e02261a6770cb7ba39ccc5475a856164066db1"
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.5.1"
689
+ version = "2.7.0"
733
690
  source = "registry+https://github.com/rust-lang/crates.io-index"
734
- checksum = "05bbaa5b6b98826bb62b164406f703bee72c5287af9986f9c863fa8ea992b476"
691
+ checksum = "d4faecb54d0971f948fbc1918df69b26007e6f279a204793669542e1e8b75eb3"
735
692
  dependencies = [
736
693
  "proc-macro2",
737
694
  "quote",
738
- "syn 2.0.108",
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.0",
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.108",
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.0"
938
+ version = "6.0.2"
982
939
  source = "registry+https://github.com/rust-lang/crates.io-index"
983
- checksum = "0bd56ed0ec53da593c43d9ea65ced157fe319e454888eb65b239a275e3696499"
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.108",
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.108",
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.11.1"
1158
+ version = "1.13.1"
1202
1159
  source = "registry+https://github.com/rust-lang/crates.io-index"
1203
- checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
1160
+ checksum = "c33a9471896f1c69cecef8d20cbe2f7accd12527ce60845ff44c153bb2a21b49"
1204
1161
 
1205
1162
  [[package]]
1206
- name = "powerfmt"
1207
- version = "0.2.0"
1163
+ name = "postcard"
1164
+ version = "1.1.3"
1208
1165
  source = "registry+https://github.com/rust-lang/crates.io-index"
1209
- checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
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.103"
1182
+ version = "1.0.106"
1220
1183
  source = "registry+https://github.com/rust-lang/crates.io-index"
1221
- checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
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.27.1"
1211
+ version = "0.28.2"
1249
1212
  source = "registry+https://github.com/rust-lang/crates.io-index"
1250
- checksum = "37a6df7eab65fc7bee654a421404947e10a0f7085b6951bf2ea395f4659fb0cf"
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.27.1"
1225
+ version = "0.28.2"
1266
1226
  source = "registry+https://github.com/rust-lang/crates.io-index"
1267
- checksum = "f77d387774f6f6eec64a004eac0ed525aab7fa1966d94b42f743797b3e395afb"
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.27.1"
1234
+ version = "0.28.2"
1275
1235
  source = "registry+https://github.com/rust-lang/crates.io-index"
1276
- checksum = "2dd13844a4242793e02df3e2ec093f540d948299a6a77ea9ce7afd8623f542be"
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.27.1"
1244
+ version = "0.28.2"
1285
1245
  source = "registry+https://github.com/rust-lang/crates.io-index"
1286
- checksum = "eaf8f9f1108270b90d3676b8679586385430e5c0bb78bb5f043f95499c821a71"
1246
+ checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
1287
1247
  dependencies = [
1288
1248
  "proc-macro2",
1289
1249
  "pyo3-macros-backend",
1290
1250
  "quote",
1291
- "syn 2.0.108",
1251
+ "syn 2.0.117",
1292
1252
  ]
1293
1253
 
1294
1254
  [[package]]
1295
1255
  name = "pyo3-macros-backend"
1296
- version = "0.27.1"
1256
+ version = "0.28.2"
1297
1257
  source = "registry+https://github.com/rust-lang/crates.io-index"
1298
- checksum = "70a3b2274450ba5288bc9b8c1b69ff569d1d61189d4bff38f8d22e03d17f932b"
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.108",
1264
+ "syn 2.0.117",
1305
1265
  ]
1306
1266
 
1307
1267
  [[package]]
1308
1268
  name = "quote"
1309
- version = "1.0.41"
1269
+ version = "1.0.45"
1310
1270
  source = "registry+https://github.com/rust-lang/crates.io-index"
1311
- checksum = "ce25767e7b499d1b604768e7cde645d14cc8584231ea6b295e9c9eb22c02e1d1"
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.45"
1343
+ version = "0.7.46"
1384
1344
  source = "registry+https://github.com/rust-lang/crates.io-index"
1385
- checksum = "9008cd6385b9e161d8229e1f6549dd23c3d022f132a2ea37ac3a10ac4935779b"
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.45"
1361
+ version = "0.7.46"
1402
1362
  source = "registry+https://github.com/rust-lang/crates.io-index"
1403
- checksum = "503d1d27590a2b0a3a4ca4c94755aa2875657196ecbf401a42eff41d7de532c0"
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.20"
1384
+ version = "1.0.23"
1425
1385
  source = "registry+https://github.com/rust-lang/crates.io-index"
1426
- checksum = "28d3b2b1366ec20994f1fd18c3c594f05c5dd4bc44d8bb0c1c632c8d6829481f"
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.1"
1402
+ version = "1.2.2"
1443
1403
  source = "registry+https://github.com/rust-lang/crates.io-index"
1444
- checksum = "16c2f82143577edb4921b71ede051dac62ca3c16084e918bf7b40c96ae10eb33"
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.108",
1448
+ "syn 2.0.117",
1489
1449
  ]
1490
1450
 
1491
1451
  [[package]]
1492
1452
  name = "serde_json"
1493
- version = "1.0.145"
1453
+ version = "1.0.149"
1494
1454
  source = "registry+https://github.com/rust-lang/crates.io-index"
1495
- checksum = "402a6f66d8c709116cf22f558eab210f5a50187f702eb4d7e5ef38d9a7f1c79c"
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.7"
1475
+ version = "0.3.8"
1516
1476
  source = "registry+https://github.com/rust-lang/crates.io-index"
1517
- checksum = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe"
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.1"
1487
+ version = "1.0.2"
1528
1488
  source = "registry+https://github.com/rust-lang/crates.io-index"
1529
- checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
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.108"
1522
+ version = "2.0.117"
1563
1523
  source = "registry+https://github.com/rust-lang/crates.io-index"
1564
- checksum = "da58917d35242480a05c2897064da0a80589a2a0476c9a3f2fdc83b53502e917"
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.3"
1539
+ version = "0.13.5"
1580
1540
  source = "registry+https://github.com/rust-lang/crates.io-index"
1581
- checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
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.17"
1556
+ version = "2.0.18"
1597
1557
  source = "registry+https://github.com/rust-lang/crates.io-index"
1598
- checksum = "f63587ca0f12b72a0600bcba1d40081f830876000bb46dd2337a3051618f4fc8"
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.17"
1565
+ version = "2.0.18"
1606
1566
  source = "registry+https://github.com/rust-lang/crates.io-index"
1607
- checksum = "3ff15c8ecd7de3849db632e14d18d2571fa09dfc5ed93479bc4485c7a517c913"
1567
+ checksum = "ebc4ee7f67670e9b64d05fa4253e753e016c6c95ff35b89b7941d6b856dec1d5"
1608
1568
  dependencies = [
1609
1569
  "proc-macro2",
1610
1570
  "quote",
1611
- "syn 2.0.108",
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.20"
1597
+ version = "1.0.24"
1657
1598
  source = "registry+https://github.com/rust-lang/crates.io-index"
1658
- checksum = "462eeb75aeb73aea900253ce739c8e18a67423fadf006037cd3ff27e82748a06"
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.18.1"
1621
+ version = "1.22.0"
1693
1622
  source = "registry+https://github.com/rust-lang/crates.io-index"
1694
- checksum = "2f87b8aa10b915a06587d0dec516c282ff295b475d94abf425d62b57710070a2"
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.1+wasi-0.2.4"
1655
+ version = "1.0.2+wasi-0.2.9"
1733
1656
  source = "registry+https://github.com/rust-lang/crates.io-index"
1734
- checksum = "0562428422c63773dad2c345a1882263bbf4d65cf3f42e90921f787ef5ad58e7"
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.104"
1664
+ version = "0.2.114"
1742
1665
  source = "registry+https://github.com/rust-lang/crates.io-index"
1743
- checksum = "c1da10c01ae9f1ae40cbfac0bac3b1e724b320abfcf52229f80b547c0d250e2d"
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.104"
1677
+ version = "0.2.114"
1769
1678
  source = "registry+https://github.com/rust-lang/crates.io-index"
1770
- checksum = "7ca60477e4c59f5f2986c50191cd972e3a50d8a95603bc9434501cf156a9a119"
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.104"
1687
+ version = "0.2.114"
1779
1688
  source = "registry+https://github.com/rust-lang/crates.io-index"
1780
- checksum = "9f07d2f20d4da7b26400c9f4a0511e6e0345b040694e8a75bd41d578fa4421d7"
1689
+ checksum = "03ce4caeaac547cdf713d280eda22a730824dd11e6b8c3ca9e42247b25c631e3"
1781
1690
  dependencies = [
1691
+ "bumpalo",
1782
1692
  "proc-macro2",
1783
1693
  "quote",
1784
- "syn 2.0.108",
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.104"
1700
+ version = "0.2.114"
1792
1701
  source = "registry+https://github.com/rust-lang/crates.io-index"
1793
- checksum = "bad67dc8b2a1a6e5448428adec4c3e84c43e561d8c9ee8a9e5aabeb193ec41d1"
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.46.0"
1715
+ version = "0.51.0"
1807
1716
  source = "registry+https://github.com/rust-lang/crates.io-index"
1808
- checksum = "f17a85883d4e6d00e8a97c586de764dabcc06133f7f1d55dce5cdc070ad7fe59"
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.27"
1730
+ version = "0.8.42"
1822
1731
  source = "registry+https://github.com/rust-lang/crates.io-index"
1823
- checksum = "0894878a5fa3edfd6da3f88c4805f4c8558e2b996227a3d864f47fe11e38282c"
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.27"
1739
+ version = "0.8.42"
1831
1740
  source = "registry+https://github.com/rust-lang/crates.io-index"
1832
- checksum = "88d2b8d9c68ad2b9e4340d7832716a4d21a22a1154777ad56ea55c51a9cf3831"
1741
+ checksum = "7e6cc098ea4d3bd6246687de65af3f920c430e236bee1e3bf2e441463f08a02f"
1833
1742
  dependencies = [
1834
1743
  "proc-macro2",
1835
1744
  "quote",
1836
- "syn 2.0.108",
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.8"
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.17.1"
24
- pyo3 = { version = "=0.27.1", features = ["extension-module"] }
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.8
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.9
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.8"
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.18.2", "ruff==0.14.2"]
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
- ) -> Optional[str]:
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
- ) -> Optional[str]:
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
- }