From f786783299b31b0365623aabb09817258c406ba6 Mon Sep 17 00:00:00 2001 From: Vincent Prouillet Date: Thu, 3 Sep 2020 21:22:20 +0200 Subject: [PATCH] Update pulldown_cmark --- CHANGELOG.md | 2 +- Cargo.lock | 26 ++++++++------------------ components/rendering/Cargo.toml | 2 +- components/templates/Cargo.toml | 2 +- 4 files changed, 11 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d5570147..1930e297 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ ### Breaking - All paths like `current_path`, `page.path`, `section.path` (except colocated assets) now have a leading `/` -- Search index generation for Chinese and Japanese has been disabled by default as it lead to a big increase in +- Search index generation for Chinese and Japanese has been disabled by default as it leads to a big increase in binary size ### Other diff --git a/Cargo.lock b/Cargo.lock index ccb0fab7..4647d593 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -719,15 +719,6 @@ dependencies = [ "version_check", ] -[[package]] -name = "getopts" -version = "0.2.21" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "14dbbfd5c71d70241ecf9e6f13737f7b5ce823821063188d7e46c41d371eebd5" -dependencies = [ - "unicode-width", -] - [[package]] name = "getrandom" version = "0.1.14" @@ -992,9 +983,9 @@ dependencies = [ [[package]] name = "indexmap" -version = "1.5.1" +version = "1.5.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86b45e59b16c76b11bf9738fd5d38879d3bd28ad292d7b313608becb17ae2df9" +checksum = "4e47a3566dd4fd4eec714ae6ceabdee0caec795be835c223d92c2d40f1e8cf1c" dependencies = [ "autocfg", "hashbrown", @@ -1321,9 +1312,9 @@ dependencies = [ [[package]] name = "minify-html" -version = "0.3.7" +version = "0.3.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "65d5cf5c60871d1c772b00ccb3cd52db53579d0c8940f8010aa2069a3a70bd8d" +checksum = "30f114c59124a0424fff930aecd3c3b991fc9a775bf656ecd9b659975d1b9658" dependencies = [ "aho-corasick", "lazy_static", @@ -1776,12 +1767,11 @@ dependencies = [ [[package]] name = "pulldown-cmark" -version = "0.7.2" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ca36dea94d187597e104a5c8e4b07576a8a45aa5db48a65e12940d3eb7461f55" +checksum = "ffade02495f22453cd593159ea2f59827aae7f53fa8323f756799b670881dcf8" dependencies = [ "bitflags", - "getopts", "memchr", "unicase", ] @@ -2962,9 +2952,9 @@ dependencies = [ [[package]] name = "xmlparser" -version = "0.13.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "52613e655f6f11f63c0fe7d1c3b5ef69e44d96df9b65dab296b441ed0e1125f5" +checksum = "114ba2b24d2167ef6d67d7d04c8cc86522b87f490025f39f0303b7db5bf5e3d8" [[package]] name = "yaml-rust" diff --git a/components/rendering/Cargo.toml b/components/rendering/Cargo.toml index 40b99221..9cca92fb 100644 --- a/components/rendering/Cargo.toml +++ b/components/rendering/Cargo.toml @@ -8,7 +8,7 @@ include = ["src/**/*"] [dependencies] tera = { version = "1", features = ["preserve_order"] } syntect = "4.1" -pulldown-cmark = "0.7" +pulldown-cmark = { version = "0.8", default-features = false } serde = "1" serde_derive = "1" pest = "2" diff --git a/components/templates/Cargo.toml b/components/templates/Cargo.toml index fd8e6424..a5e25f2e 100644 --- a/components/templates/Cargo.toml +++ b/components/templates/Cargo.toml @@ -8,7 +8,7 @@ edition = "2018" tera = "1" base64 = "0.12" lazy_static = "1" -pulldown-cmark = "0.7" +pulldown-cmark = { version = "0.8", default-features = false } toml = "0.5" csv = "1" image = "0.23"