From 6f0401b576de858fb573270213708029ef3638ad Mon Sep 17 00:00:00 2001 From: Nick Groenen Date: Sun, 25 Aug 2024 13:36:21 +0200 Subject: [PATCH] Upgrade pulldown-cmark from 0.11.2 to 0.12 --- Cargo.lock | 8 ++++---- Cargo.toml | 4 ++-- changelog.d/252.breaking.md | 2 +- changelog.d/285.breaking.md | 1 + src/lib.rs | 3 +++ 5 files changed, 11 insertions(+), 7 deletions(-) create mode 120000 changelog.d/285.breaking.md diff --git a/Cargo.lock b/Cargo.lock index 223b321..0f7f5ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -444,9 +444,9 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.11.2" +version = "0.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cb4e75767fbc9d92b90e4d0c011f61358cde9513b31ef07ea3631b15ffc3b4fd" +checksum = "4d31cbfcd94884c3a67ec210c83efb06cb43674043458b0ad59f6947f8462c23" dependencies = [ "bitflags", "getopts", @@ -463,9 +463,9 @@ checksum = "007d8adb5ddab6f8e3f491ac63566a7d5002cc7ed73901f72057943fa71ae1ae" [[package]] name = "pulldown-cmark-to-cmark" -version = "15.0.1" +version = "16.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9c77db841443d89a57ae94f22d29c022f6d9f41b00bddbf1f4024dbaf4bdce1" +checksum = "171b9687038fb417937aee4ce1d0a269897091f05be16660a1e45777533c54b9" dependencies = [ "pulldown-cmark", ] diff --git a/Cargo.toml b/Cargo.toml index 1d23138..8549b47 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,8 +30,8 @@ gumdrop = "0.8.1" ignore = "0.4.22" pathdiff = "0.2.1" percent-encoding = "2.3.1" -pulldown-cmark = "0.11.0" -pulldown-cmark-to-cmark = "15.0.0" +pulldown-cmark = "0.12.0" +pulldown-cmark-to-cmark = "16.0.0" rayon = "1.10.0" regex = "1.10.5" serde_yaml = "0.9.34" diff --git a/changelog.d/252.breaking.md b/changelog.d/252.breaking.md index 1e1fe55..a770c16 100644 --- a/changelog.d/252.breaking.md +++ b/changelog.d/252.breaking.md @@ -1,4 +1,4 @@ -Upgrade [pulldown-cmark](https://crates.io/crates/pulldown-cmark) from 0.9 to 0.11 +Upgrade [pulldown-cmark](https://crates.io/crates/pulldown-cmark) from 0.9 to 0.12 pulldown-cmark is the Markdown/CommonMark parser that is used to read and convert notes (together with [pulldown-cmark-to-cmark](https://crates.io/crates/pulldown-cmark-to-cmark)). diff --git a/changelog.d/285.breaking.md b/changelog.d/285.breaking.md new file mode 120000 index 0000000..1748068 --- /dev/null +++ b/changelog.d/285.breaking.md @@ -0,0 +1 @@ +252.breaking.md \ No newline at end of file diff --git a/src/lib.rs b/src/lib.rs index 3dfbdbf..82e5d3f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -978,6 +978,9 @@ fn tag_to_owned<'a>(tag: Tag<'_>) -> Tag<'a> { }, Tag::HtmlBlock => Tag::HtmlBlock, Tag::MetadataBlock(metadata_block_kind) => Tag::MetadataBlock(metadata_block_kind), + Tag::DefinitionList => Tag::DefinitionList, + Tag::DefinitionListTitle => Tag::DefinitionListTitle, + Tag::DefinitionListDefinition => Tag::DefinitionListDefinition, } }