Upgrade pulldown-cmark-to-cmark to 10.0.x

This commit is contained in:
Nick Groenen 2022-11-05 14:34:18 +01:00
parent 262f22ba70
commit 17d0e3df7e
No known key found for this signature in database
GPG Key ID: 4F0AD019928AE098
3 changed files with 5 additions and 6 deletions

8
Cargo.lock generated
View File

@ -388,9 +388,9 @@ dependencies = [
[[package]] [[package]]
name = "pulldown-cmark-to-cmark" name = "pulldown-cmark-to-cmark"
version = "9.0.0" version = "10.0.4"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f94dc756ef5c50ad28ccea8428ba5de9f4dca1fff6516a26b85e0b125a70d17" checksum = "0194e6e1966c23cc5fd988714f85b18d548d773e81965413555d96569931833d"
dependencies = [ dependencies = [
"pulldown-cmark", "pulldown-cmark",
] ]
@ -578,9 +578,9 @@ dependencies = [
[[package]] [[package]]
name = "unicode-width" name = "unicode-width"
version = "0.1.9" version = "0.1.10"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3ed742d4ea2bd1176e236172c8429aaf54486e7ac098db29ffe6529e0ce50973" checksum = "c0edd1e5b14653f783770bce4a4dabb4a5108a5370a5f5d8cfe8710c361f6c8b"
[[package]] [[package]]
name = "unicode-xid" name = "unicode-xid"

View File

@ -33,7 +33,7 @@ matter = "0.1.0-alpha4"
pathdiff = "0.2.1" pathdiff = "0.2.1"
percent-encoding = "2.2.0" percent-encoding = "2.2.0"
pulldown-cmark = "0.9.2" pulldown-cmark = "0.9.2"
pulldown-cmark-to-cmark = "9.0.0" pulldown-cmark-to-cmark = "10.0.4"
rayon = "1.5.3" rayon = "1.5.3"
regex = "1.6.0" regex = "1.6.0"
serde_yaml = "0.9.14" serde_yaml = "0.9.14"

View File

@ -730,7 +730,6 @@ fn render_mdevents_to_mdtext(markdown: MarkdownEvents) -> String {
cmark_with_options( cmark_with_options(
markdown.iter(), markdown.iter(),
&mut buffer, &mut buffer,
None,
pulldown_cmark_to_cmark::Options::default(), pulldown_cmark_to_cmark::Options::default(),
) )
.expect("formatting to string not expected to fail"); .expect("formatting to string not expected to fail");