gitlab-glfm-markdown 0.0.37-x86_64-linux-musl → 0.0.39-x86_64-linux-musl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 60b0df4a7831eb590d05259cc9add91e2a5effb714ef006a33075d4b6b854d19
4
- data.tar.gz: e674d635f42c3d90c634b37bfc4401ea1172db68e1bf2d99854e5341bb8e2399
3
+ metadata.gz: 42637795847d612164394935442b2faf3fa0651bd3dd98caa387fa388f29d0d6
4
+ data.tar.gz: 541cb50ff5dfddd6bae60a3f6f5aeb6aca707d720115aa4bf3850bd2a338ead9
5
5
  SHA512:
6
- metadata.gz: ab4921d15dbb6551c605d96aeabd7373d0854ac914b8e8f138473c514d8a03eba954f77d7f9b317054f90e96c0caa8acbd438af6953cbe30718998699f586335
7
- data.tar.gz: fe076c359d4e600181ce3c936413ad5f49d9087b56be14ff36ed1a08bca8ffda720901d8e79b127cb501991f834f5b4008d68ad4d545e2e22e537a9317776790
6
+ metadata.gz: daae2d2ef3209da8b8d870e8ffb560c1bfafb35557b3b16599fa103f93c7f8fb8ff369c8d504eea1f7beeadf1bff871f8b7a5029b8f0394cb3cae466725eecb6
7
+ data.tar.gz: b56b594fddff880be8db81052a6e653871ccacfc6fff176cc5590b5a65010f956a28befe85e3052890c9221353a3c76d31f17965031a72825c6613294276a685
data/Cargo.lock CHANGED
@@ -1,6 +1,6 @@
1
1
  # This file is automatically @generated by Cargo.
2
2
  # It is not intended for manual editing.
3
- version = 3
3
+ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "adler2"
@@ -129,12 +129,6 @@ version = "2.9.1"
129
129
  source = "registry+https://github.com/rust-lang/crates.io-index"
130
130
  checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
131
131
 
132
- [[package]]
133
- name = "bumpalo"
134
- version = "3.19.0"
135
- source = "registry+https://github.com/rust-lang/crates.io-index"
136
- checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
137
-
138
132
  [[package]]
139
133
  name = "caseless"
140
134
  version = "0.2.2"
@@ -227,15 +221,14 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
227
221
 
228
222
  [[package]]
229
223
  name = "comrak"
230
- version = "0.43.0"
224
+ version = "0.48.0"
231
225
  source = "registry+https://github.com/rust-lang/crates.io-index"
232
- checksum = "5ccfd7678fba9aff54a74a70352d952b345e568823ed9d5a92ebc8ad0adad8ea"
226
+ checksum = "48bf2260aceee247c6c5639f5751dc635211895066d782d2a28fb87f2e0d5613"
233
227
  dependencies = [
234
228
  "caseless",
235
229
  "emojis",
236
230
  "entities",
237
- "memchr",
238
- "slug",
231
+ "jetscii",
239
232
  "syntect",
240
233
  "typed-arena",
241
234
  "unicode_categories",
@@ -259,12 +252,6 @@ dependencies = [
259
252
  "powerfmt",
260
253
  ]
261
254
 
262
- [[package]]
263
- name = "deunicode"
264
- version = "1.6.2"
265
- source = "registry+https://github.com/rust-lang/crates.io-index"
266
- checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04"
267
-
268
255
  [[package]]
269
256
  name = "either"
270
257
  version = "1.15.0"
@@ -319,8 +306,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
319
306
  checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
320
307
 
321
308
  [[package]]
322
- name = "glfm_markdown"
323
- version = "0.0.37"
309
+ name = "gitlab-glfm-markdown"
310
+ version = "0.0.39"
324
311
  dependencies = [
325
312
  "clap",
326
313
  "comrak",
@@ -381,6 +368,12 @@ version = "1.0.15"
381
368
  source = "registry+https://github.com/rust-lang/crates.io-index"
382
369
  checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
383
370
 
371
+ [[package]]
372
+ name = "jetscii"
373
+ version = "0.5.3"
374
+ source = "registry+https://github.com/rust-lang/crates.io-index"
375
+ checksum = "47f142fe24a9c9944451e8349de0a56af5f3e7226dc46f3ed4d4ecc0b85af75e"
376
+
384
377
  [[package]]
385
378
  name = "lazy_static"
386
379
  version = "1.5.0"
@@ -415,17 +408,11 @@ version = "0.5.6"
415
408
  source = "registry+https://github.com/rust-lang/crates.io-index"
416
409
  checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
417
410
 
418
- [[package]]
419
- name = "log"
420
- version = "0.4.27"
421
- source = "registry+https://github.com/rust-lang/crates.io-index"
422
- checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
423
-
424
411
  [[package]]
425
412
  name = "magnus"
426
- version = "0.6.4"
413
+ version = "0.8.2"
427
414
  source = "registry+https://github.com/rust-lang/crates.io-index"
428
- checksum = "b1597ef40aa8c36be098249e82c9a20cf7199278ac1c1a1a995eeead6a184479"
415
+ checksum = "3b36a5b126bbe97eb0d02d07acfeb327036c6319fd816139a49824a83b7f9012"
429
416
  dependencies = [
430
417
  "magnus-macros",
431
418
  "rb-sys",
@@ -435,9 +422,9 @@ dependencies = [
435
422
 
436
423
  [[package]]
437
424
  name = "magnus-macros"
438
- version = "0.6.0"
425
+ version = "0.8.0"
439
426
  source = "registry+https://github.com/rust-lang/crates.io-index"
440
- checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
427
+ checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
441
428
  dependencies = [
442
429
  "proc-macro2",
443
430
  "quote",
@@ -587,18 +574,18 @@ dependencies = [
587
574
 
588
575
  [[package]]
589
576
  name = "rb-sys"
590
- version = "0.9.116"
577
+ version = "0.9.117"
591
578
  source = "registry+https://github.com/rust-lang/crates.io-index"
592
- checksum = "7059846f68396df83155779c75336ca24567741cb95256e6308c9fcc370e8dad"
579
+ checksum = "f900d1ce4629a2ebffaf5de74bd8f9c1188d4c5ed406df02f97e22f77a006f44"
593
580
  dependencies = [
594
581
  "rb-sys-build",
595
582
  ]
596
583
 
597
584
  [[package]]
598
585
  name = "rb-sys-build"
599
- version = "0.9.116"
586
+ version = "0.9.117"
600
587
  source = "registry+https://github.com/rust-lang/crates.io-index"
601
- checksum = "ac217510df41b9ffc041573e68d7a02aaff770c49943c7494441c4b224b0ecd0"
588
+ checksum = "ef1e9c857028f631056bcd6d88cec390c751e343ce2223ddb26d23eb4a151d59"
602
589
  dependencies = [
603
590
  "bindgen",
604
591
  "lazy_static",
@@ -611,9 +598,9 @@ dependencies = [
611
598
 
612
599
  [[package]]
613
600
  name = "rb-sys-env"
614
- version = "0.1.2"
601
+ version = "0.2.2"
615
602
  source = "registry+https://github.com/rust-lang/crates.io-index"
616
- checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
603
+ checksum = "08f8d2924cf136a1315e2b4c7460a39f62ef11ee5d522df9b2750fab55b868b6"
617
604
 
618
605
  [[package]]
619
606
  name = "regex"
@@ -650,12 +637,6 @@ version = "1.1.0"
650
637
  source = "registry+https://github.com/rust-lang/crates.io-index"
651
638
  checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
652
639
 
653
- [[package]]
654
- name = "rustversion"
655
- version = "1.0.21"
656
- source = "registry+https://github.com/rust-lang/crates.io-index"
657
- checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
658
-
659
640
  [[package]]
660
641
  name = "ryu"
661
642
  version = "1.0.20"
@@ -711,9 +692,9 @@ dependencies = [
711
692
 
712
693
  [[package]]
713
694
  name = "serde_magnus"
714
- version = "0.8.1"
695
+ version = "0.10.0"
715
696
  source = "registry+https://github.com/rust-lang/crates.io-index"
716
- checksum = "76c20da583b5e1016e9199ef5f3260f7a8d1b253307d232600f6b12737262dbd"
697
+ checksum = "c4a5121544138e6a14036e48ecbe589fb63577f35620caaa32642257b412c317"
717
698
  dependencies = [
718
699
  "magnus",
719
700
  "serde",
@@ -738,16 +719,6 @@ version = "1.0.1"
738
719
  source = "registry+https://github.com/rust-lang/crates.io-index"
739
720
  checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
740
721
 
741
- [[package]]
742
- name = "slug"
743
- version = "0.1.6"
744
- source = "registry+https://github.com/rust-lang/crates.io-index"
745
- checksum = "882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724"
746
- dependencies = [
747
- "deunicode",
748
- "wasm-bindgen",
749
- ]
750
-
751
722
  [[package]]
752
723
  name = "strsim"
753
724
  version = "0.10.0"
@@ -903,64 +874,6 @@ dependencies = [
903
874
  "winapi-util",
904
875
  ]
905
876
 
906
- [[package]]
907
- name = "wasm-bindgen"
908
- version = "0.2.100"
909
- source = "registry+https://github.com/rust-lang/crates.io-index"
910
- checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
911
- dependencies = [
912
- "cfg-if",
913
- "once_cell",
914
- "rustversion",
915
- "wasm-bindgen-macro",
916
- ]
917
-
918
- [[package]]
919
- name = "wasm-bindgen-backend"
920
- version = "0.2.100"
921
- source = "registry+https://github.com/rust-lang/crates.io-index"
922
- checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
923
- dependencies = [
924
- "bumpalo",
925
- "log",
926
- "proc-macro2",
927
- "quote",
928
- "syn",
929
- "wasm-bindgen-shared",
930
- ]
931
-
932
- [[package]]
933
- name = "wasm-bindgen-macro"
934
- version = "0.2.100"
935
- source = "registry+https://github.com/rust-lang/crates.io-index"
936
- checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
937
- dependencies = [
938
- "quote",
939
- "wasm-bindgen-macro-support",
940
- ]
941
-
942
- [[package]]
943
- name = "wasm-bindgen-macro-support"
944
- version = "0.2.100"
945
- source = "registry+https://github.com/rust-lang/crates.io-index"
946
- checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
947
- dependencies = [
948
- "proc-macro2",
949
- "quote",
950
- "syn",
951
- "wasm-bindgen-backend",
952
- "wasm-bindgen-shared",
953
- ]
954
-
955
- [[package]]
956
- name = "wasm-bindgen-shared"
957
- version = "0.2.100"
958
- source = "registry+https://github.com/rust-lang/crates.io-index"
959
- checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
960
- dependencies = [
961
- "unicode-ident",
962
- ]
963
-
964
877
  [[package]]
965
878
  name = "winapi-util"
966
879
  version = "0.1.9"
data/README.md CHANGED
@@ -3,9 +3,8 @@
3
3
  [![Pipeline status](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/badges/main/pipeline.svg)](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/commits/main)
4
4
  [![Latest Release](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/badges/release.svg)](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/releases)
5
5
 
6
- Implements GLFM (as used by GitLab) using the Rust-based markdown parser [comrak](https://github.com/kivikakk/comrak)
7
- and providing a Ruby interface.\
8
- _Currently using `comrak 0.43.0`_.
6
+ Implements GLFM (as used by GitLab) using the Rust-based Markdown parser
7
+ [Comrak](https://github.com/kivikakk/comrak) (0.48.0), providing a Ruby interface.
9
8
 
10
9
  This project is still in constant flux, so interfaces and functionality can change at any time.
11
10
 
@@ -27,7 +26,7 @@ Try on command line:
27
26
  rake compile
28
27
  bin/console
29
28
 
30
- require 'glfm_markdown'
29
+ require 'gitlab-glfm-markdown'
31
30
 
32
31
  GLFMMarkdown.to_html('# header', options: { sourcepos: true })
33
32
  ```
@@ -37,10 +36,11 @@ GLFMMarkdown.to_html('# header', options: { sourcepos: true })
37
36
  | Option name | Description |
38
37
  |-------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
39
38
  | `autolink` | Enable the `autolink` extension |
40
- | `cjk_friendly_emphasis` | Enable the `cjk_friendly_emphasis` extension |
39
+ | `cjk_friendly_emphasis` | Enable the [`cjk_friendly_emphasis` extension](https://github.com/tats-u/markdown-cjk-friendly) |
40
+ | `default_html` | Disables any custom HTML, and returns default HTML from `comrak` |
41
41
  | `description_lists` | Enable the `description-lists` extension |
42
- | `escape` | Escape raw HTML instead of clobbering it |
43
42
  | `escape_char_spans` | Wrap escaped characters in a `<span>` to allow any post-processing to recognize them |
43
+ | `escape` | Escape raw HTML instead of clobbering it |
44
44
  | `figure_with_caption` | Render the image as a figure element with the title as its caption |
45
45
  | `footnotes` | Enable the `footnotes` extension |
46
46
  | `full_info_string` | Enable full info strings for code blocks |
@@ -49,6 +49,7 @@ GLFMMarkdown.to_html('# header', options: { sourcepos: true })
49
49
  | `github_pre_lang` | Use GitHub-style `<pre lang>` for code blocks |
50
50
  | `greentext` | Enable the `greentext` extension - requires at least one space after a `>` character to generate a blockquote, and restarts blockquote nesting across unique lines of input |
51
51
  | `hardbreaks` | Treat newlines as hard line breaks |
52
+ | `header_accessibility` | Use new header/anchor combination in HTML output, per [!112](https://gitlab.com/gitlab-org/ruby/gems/gitlab-glfm-markdown/-/merge_requests/112). |
52
53
  | `header_ids <PREFIX>` | Enable the `header-id` extension, with the given ID prefix |
53
54
  | `ignore_empty_links` | Ignore empty links in input |
54
55
  | `ignore_setext` | Ignore setext headings in input |
@@ -56,24 +57,24 @@ GLFMMarkdown.to_html('# header', options: { sourcepos: true })
56
57
  | `math_code` | Enables `math code` extension, using math code syntax |
57
58
  | `math_dollars` | Enables `math dollars` extension, using math dollar syntax |
58
59
  | `multiline_block_quotes` | Enable the `multiline-block-quotes` extension |
59
- | `default_html` | Disables any custom HTML, and returns default HTML from `comrak` |
60
+ | `only_escape_chars <CHARS>` | When the 'escaped_char_spans' render option is enabled, only emit `<span data-escaped-char>` around the given characters. |
60
61
  | `placeholder_detection` | Detect placeholder variables in the format `%{placeholder}` |
61
- | `relaxed_autolinks` | Enable relaxing of autolink parsing, allowing links to be recognized when in brackets |
62
+ | `relaxed_autolinks` | Enable relaxing of autolink parsing, allowing links to be recognized when in brackets, with any scheme, and with dot-less hostnames |
62
63
  | `relaxed_tasklist_character` | Enable relaxing which character is allowed in tasklists |
63
- | `sourcepos` | Include source mappings in HTML attributes |
64
64
  | `smart` | Use smart punctuation |
65
+ | `sourcepos` | Include source mappings in HTML attributes |
65
66
  | `spoiler` | Enable the `spoiler` extension - use double vertical bars |
66
67
  | `strikethrough` | Enable the `strikethrough` extension |
67
68
  | `superscript` | Enable the `superscript` extension |
68
69
  | `table` | Enable the `table` extension |
69
70
  | `tagfilter` | Enable the `tagfilter` extension |
70
- | `tasklist` | Enable the `tasklist` extension |
71
71
  | `tasklist_classes` | Output classes on tasklist elements so that they can be styled with CSS |
72
+ | `tasklist_in_table` | Enables parsing tasklist items within tables when they're the only content of a table cell |
73
+ | `tasklist` | Enable the `tasklist` extension |
72
74
  | `underline` | Enables the `underline` extension - use double underscores |
73
75
  | `unsafe` | Allow raw HTML and dangerous URLs |
74
76
  | `wikilinks_title_after_pipe` | Enable the `wikilinks_title_after_pipe` extension |
75
77
  | `wikilinks_title_before_pipe` | Enable the `wikilinks_title_before_pipe` extension |
76
- | `debug` | Show debug information |
77
78
 
78
79
  ## Dingus / Demo
79
80
 
@@ -86,8 +87,8 @@ https://gitlab-org.gitlab.io/ruby/gems/gitlab-glfm-markdown
86
87
  A command line executable can be built for debugging.
87
88
 
88
89
  ```
89
- cargo run --bin glfm_markdown --features="cli" -- --help
90
- cargo run --bin glfm_markdown --features="cli" -- --sourcepos
90
+ cargo run --bin gitlab-glfm-markdown --features="cli" -- --help
91
+ cargo run --bin gitlab-glfm-markdown --features="cli" -- --sourcepos
91
92
  ```
92
93
 
93
94
  There is a VSCode workspace that allows you to `Debug executable`
@@ -1,6 +1,6 @@
1
1
  # This file is automatically @generated by Cargo.
2
2
  # It is not intended for manual editing.
3
- version = 3
3
+ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "adler2"
@@ -129,12 +129,6 @@ version = "2.9.1"
129
129
  source = "registry+https://github.com/rust-lang/crates.io-index"
130
130
  checksum = "1b8e56985ec62d17e9c1001dc89c88ecd7dc08e47eba5ec7c29c7b5eeecde967"
131
131
 
132
- [[package]]
133
- name = "bumpalo"
134
- version = "3.19.0"
135
- source = "registry+https://github.com/rust-lang/crates.io-index"
136
- checksum = "46c5e41b57b8bba42a04676d81cb89e9ee8e859a1a66f80a5a72e1cb76b34d43"
137
-
138
132
  [[package]]
139
133
  name = "caseless"
140
134
  version = "0.2.2"
@@ -227,15 +221,14 @@ checksum = "b05b61dc5112cbb17e4b6cd61790d9845d13888356391624cbe7e41efeac1e75"
227
221
 
228
222
  [[package]]
229
223
  name = "comrak"
230
- version = "0.43.0"
224
+ version = "0.48.0"
231
225
  source = "registry+https://github.com/rust-lang/crates.io-index"
232
- checksum = "5ccfd7678fba9aff54a74a70352d952b345e568823ed9d5a92ebc8ad0adad8ea"
226
+ checksum = "48bf2260aceee247c6c5639f5751dc635211895066d782d2a28fb87f2e0d5613"
233
227
  dependencies = [
234
228
  "caseless",
235
229
  "emojis",
236
230
  "entities",
237
- "memchr",
238
- "slug",
231
+ "jetscii",
239
232
  "syntect",
240
233
  "typed-arena",
241
234
  "unicode_categories",
@@ -259,12 +252,6 @@ dependencies = [
259
252
  "powerfmt",
260
253
  ]
261
254
 
262
- [[package]]
263
- name = "deunicode"
264
- version = "1.6.2"
265
- source = "registry+https://github.com/rust-lang/crates.io-index"
266
- checksum = "abd57806937c9cc163efc8ea3910e00a62e2aeb0b8119f1793a978088f8f6b04"
267
-
268
255
  [[package]]
269
256
  name = "either"
270
257
  version = "1.15.0"
@@ -319,8 +306,8 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
319
306
  checksum = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
320
307
 
321
308
  [[package]]
322
- name = "glfm_markdown"
323
- version = "0.0.37"
309
+ name = "gitlab-glfm-markdown"
310
+ version = "0.0.39"
324
311
  dependencies = [
325
312
  "clap",
326
313
  "comrak",
@@ -381,6 +368,12 @@ version = "1.0.15"
381
368
  source = "registry+https://github.com/rust-lang/crates.io-index"
382
369
  checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
383
370
 
371
+ [[package]]
372
+ name = "jetscii"
373
+ version = "0.5.3"
374
+ source = "registry+https://github.com/rust-lang/crates.io-index"
375
+ checksum = "47f142fe24a9c9944451e8349de0a56af5f3e7226dc46f3ed4d4ecc0b85af75e"
376
+
384
377
  [[package]]
385
378
  name = "lazy_static"
386
379
  version = "1.5.0"
@@ -415,17 +408,11 @@ version = "0.5.6"
415
408
  source = "registry+https://github.com/rust-lang/crates.io-index"
416
409
  checksum = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
417
410
 
418
- [[package]]
419
- name = "log"
420
- version = "0.4.27"
421
- source = "registry+https://github.com/rust-lang/crates.io-index"
422
- checksum = "13dc2df351e3202783a1fe0d44375f7295ffb4049267b0f3018346dc122a1d94"
423
-
424
411
  [[package]]
425
412
  name = "magnus"
426
- version = "0.6.4"
413
+ version = "0.8.2"
427
414
  source = "registry+https://github.com/rust-lang/crates.io-index"
428
- checksum = "b1597ef40aa8c36be098249e82c9a20cf7199278ac1c1a1a995eeead6a184479"
415
+ checksum = "3b36a5b126bbe97eb0d02d07acfeb327036c6319fd816139a49824a83b7f9012"
429
416
  dependencies = [
430
417
  "magnus-macros",
431
418
  "rb-sys",
@@ -435,9 +422,9 @@ dependencies = [
435
422
 
436
423
  [[package]]
437
424
  name = "magnus-macros"
438
- version = "0.6.0"
425
+ version = "0.8.0"
439
426
  source = "registry+https://github.com/rust-lang/crates.io-index"
440
- checksum = "5968c820e2960565f647819f5928a42d6e874551cab9d88d75e3e0660d7f71e3"
427
+ checksum = "47607461fd8e1513cb4f2076c197d8092d921a1ea75bd08af97398f593751892"
441
428
  dependencies = [
442
429
  "proc-macro2",
443
430
  "quote",
@@ -587,18 +574,18 @@ dependencies = [
587
574
 
588
575
  [[package]]
589
576
  name = "rb-sys"
590
- version = "0.9.116"
577
+ version = "0.9.117"
591
578
  source = "registry+https://github.com/rust-lang/crates.io-index"
592
- checksum = "7059846f68396df83155779c75336ca24567741cb95256e6308c9fcc370e8dad"
579
+ checksum = "f900d1ce4629a2ebffaf5de74bd8f9c1188d4c5ed406df02f97e22f77a006f44"
593
580
  dependencies = [
594
581
  "rb-sys-build",
595
582
  ]
596
583
 
597
584
  [[package]]
598
585
  name = "rb-sys-build"
599
- version = "0.9.116"
586
+ version = "0.9.117"
600
587
  source = "registry+https://github.com/rust-lang/crates.io-index"
601
- checksum = "ac217510df41b9ffc041573e68d7a02aaff770c49943c7494441c4b224b0ecd0"
588
+ checksum = "ef1e9c857028f631056bcd6d88cec390c751e343ce2223ddb26d23eb4a151d59"
602
589
  dependencies = [
603
590
  "bindgen",
604
591
  "lazy_static",
@@ -611,9 +598,9 @@ dependencies = [
611
598
 
612
599
  [[package]]
613
600
  name = "rb-sys-env"
614
- version = "0.1.2"
601
+ version = "0.2.2"
615
602
  source = "registry+https://github.com/rust-lang/crates.io-index"
616
- checksum = "a35802679f07360454b418a5d1735c89716bde01d35b1560fc953c1415a0b3bb"
603
+ checksum = "08f8d2924cf136a1315e2b4c7460a39f62ef11ee5d522df9b2750fab55b868b6"
617
604
 
618
605
  [[package]]
619
606
  name = "regex"
@@ -650,12 +637,6 @@ version = "1.1.0"
650
637
  source = "registry+https://github.com/rust-lang/crates.io-index"
651
638
  checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
652
639
 
653
- [[package]]
654
- name = "rustversion"
655
- version = "1.0.21"
656
- source = "registry+https://github.com/rust-lang/crates.io-index"
657
- checksum = "8a0d197bd2c9dc6e53b84da9556a69ba4cdfab8619eb41a8bd1cc2027a0f6b1d"
658
-
659
640
  [[package]]
660
641
  name = "ryu"
661
642
  version = "1.0.20"
@@ -711,9 +692,9 @@ dependencies = [
711
692
 
712
693
  [[package]]
713
694
  name = "serde_magnus"
714
- version = "0.8.1"
695
+ version = "0.10.0"
715
696
  source = "registry+https://github.com/rust-lang/crates.io-index"
716
- checksum = "76c20da583b5e1016e9199ef5f3260f7a8d1b253307d232600f6b12737262dbd"
697
+ checksum = "c4a5121544138e6a14036e48ecbe589fb63577f35620caaa32642257b412c317"
717
698
  dependencies = [
718
699
  "magnus",
719
700
  "serde",
@@ -738,16 +719,6 @@ version = "1.0.1"
738
719
  source = "registry+https://github.com/rust-lang/crates.io-index"
739
720
  checksum = "56199f7ddabf13fe5074ce809e7d3f42b42ae711800501b5b16ea82ad029c39d"
740
721
 
741
- [[package]]
742
- name = "slug"
743
- version = "0.1.6"
744
- source = "registry+https://github.com/rust-lang/crates.io-index"
745
- checksum = "882a80f72ee45de3cc9a5afeb2da0331d58df69e4e7d8eeb5d3c7784ae67e724"
746
- dependencies = [
747
- "deunicode",
748
- "wasm-bindgen",
749
- ]
750
-
751
722
  [[package]]
752
723
  name = "strsim"
753
724
  version = "0.10.0"
@@ -903,64 +874,6 @@ dependencies = [
903
874
  "winapi-util",
904
875
  ]
905
876
 
906
- [[package]]
907
- name = "wasm-bindgen"
908
- version = "0.2.100"
909
- source = "registry+https://github.com/rust-lang/crates.io-index"
910
- checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
911
- dependencies = [
912
- "cfg-if",
913
- "once_cell",
914
- "rustversion",
915
- "wasm-bindgen-macro",
916
- ]
917
-
918
- [[package]]
919
- name = "wasm-bindgen-backend"
920
- version = "0.2.100"
921
- source = "registry+https://github.com/rust-lang/crates.io-index"
922
- checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
923
- dependencies = [
924
- "bumpalo",
925
- "log",
926
- "proc-macro2",
927
- "quote",
928
- "syn",
929
- "wasm-bindgen-shared",
930
- ]
931
-
932
- [[package]]
933
- name = "wasm-bindgen-macro"
934
- version = "0.2.100"
935
- source = "registry+https://github.com/rust-lang/crates.io-index"
936
- checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
937
- dependencies = [
938
- "quote",
939
- "wasm-bindgen-macro-support",
940
- ]
941
-
942
- [[package]]
943
- name = "wasm-bindgen-macro-support"
944
- version = "0.2.100"
945
- source = "registry+https://github.com/rust-lang/crates.io-index"
946
- checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
947
- dependencies = [
948
- "proc-macro2",
949
- "quote",
950
- "syn",
951
- "wasm-bindgen-backend",
952
- "wasm-bindgen-shared",
953
- ]
954
-
955
- [[package]]
956
- name = "wasm-bindgen-shared"
957
- version = "0.2.100"
958
- source = "registry+https://github.com/rust-lang/crates.io-index"
959
- checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
960
- dependencies = [
961
- "unicode-ident",
962
- ]
963
-
964
877
  [[package]]
965
878
  name = "winapi-util"
966
879
  version = "0.1.9"
@@ -1,6 +1,6 @@
1
1
  [package]
2
- name = "glfm_markdown"
3
- version = "0.0.37"
2
+ name = "gitlab-glfm-markdown"
3
+ version = "0.0.39"
4
4
  edition = "2021"
5
5
  authors = ["digitalmoksha <bwalker@gitlab.com>", "Asherah Connor <aconnor@gitlab.com>"]
6
6
  description = "GitLab Flavored Markdown parser and formatter. 100% CommonMark-compatible. Experimental."
@@ -10,17 +10,17 @@ publish = false
10
10
  crate-type = ["cdylib"]
11
11
 
12
12
  [[bin]]
13
- name = "glfm_markdown"
13
+ name = "gitlab-glfm-markdown"
14
14
  required-features = ["cli"]
15
15
 
16
16
  [dependencies]
17
17
  clap = { version = "=4.4.18", optional = true, features = ["derive", "string"] }
18
- comrak = { version = "0.43.0", default-features = false, features = ["shortcodes"] }
19
- magnus = "0.6.2"
20
- rb-sys = { version = "0.9.86", default-features = false, features = ["stable-api-compiled-fallback"] }
18
+ comrak = { version = "0.48.0", default-features = false, features = ["shortcodes"] }
19
+ magnus = "0.8.2"
20
+ rb-sys = { version = "0.9.117", default-features = false, features = ["stable-api-compiled-fallback"] }
21
21
  regex = "1.11.1"
22
22
  lazy_static = "1.5.0"
23
- serde_magnus = "0.8.1"
23
+ serde_magnus = "0.10.0"
24
24
  serde = { version = "1.0.219", features = ["serde_derive"] }
25
25
 
26
26
  [features]
@@ -3,7 +3,7 @@
3
3
  require 'mkmf'
4
4
  require 'rb_sys/mkmf'
5
5
 
6
- create_rust_makefile('glfm_markdown/glfm_markdown') do |r|
6
+ create_rust_makefile('gitlab_glfm_markdown/gitlab_glfm_markdown') do |r|
7
7
  r.auto_install_rust_toolchain = false
8
8
  # Ensure all Rust dependencies are pinned when building
9
9
  r.extra_cargo_args = ["--locked"]