Repository: djc/askama
Pull request #920 (2023-11-30 04:48:43)

build(deps): update comrak requirement from 0.18 to 0.20
Updates the requirements on [comrak](https://github.com/kivikakk/comrak) to permit the latest version.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/kivikakk/comrak/releases">comrak's releases</a>.</em></p>
<blockquote>
<h2>0.20.0</h2>
<h2>What's Changed</h2>
<ul>
<li>build(deps): bump rustix from 0.36.11 to 0.36.16 in /fuzz by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/346">kivikakk/comrak#346</a></li>
<li>Use Nix for CI. by <a href="https://github.com/charlottia"><code>@​charlottia</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/338">kivikakk/comrak#338</a></li>
<li>Allow for Syntect to simply generate CSS classes by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/347">kivikakk/comrak#347</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/charlottia"><code>@​charlottia</code></a> made their first contribution in <a href="https://redirect.github.com/kivikakk/comrak/pull/338">kivikakk/comrak#338</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/kivikakk/comrak/compare/0.19.0...0.20.0">https://github.com/kivikakk/comrak/compare/0.19.0...0.20.0</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/kivikakk/comrak/blob/main/changelog.txt">comrak's changelog</a>.</em></p>
<blockquote>
<h3>0.20.0</h3>
<ul>
<li>build(deps): bump rustix from 0.36.11 to 0.36.16 in /fuzz by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/346">kivikakk/comrak#346</a></li>
<li>Use Nix for CI. by <a href="https://github.com/charlottia"><code>@​charlottia</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/338">kivikakk/comrak#338</a></li>
<li>Allow for Syntect to simply generate CSS classes by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/347">kivikakk/comrak#347</a></li>
</ul>
<h3>0.19.0</h3>
<ul>
<li>Simplify anchorize() by <a href="https://github.com/kornelski"><code>@​kornelski</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/297">kivikakk/comrak#297</a></li>
<li>Use footnote name for reference id by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/300">kivikakk/comrak#300</a></li>
<li>Escape footnote name by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/308">kivikakk/comrak#308</a></li>
<li>Add in-doc labels for public facing features by <a href="https://github.com/CosmicHorrorDev"><code>@​CosmicHorrorDev</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/304">kivikakk/comrak#304</a></li>
<li>build(deps): bump xml-rs from 0.8.4 to 0.8.14 by <a href="https://github.com/dependabot"><code>@​dependabot</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/312">kivikakk/comrak#312</a></li>
<li>Handle footnote names that have been parsed into multiple nodes by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/311">kivikakk/comrak#311</a></li>
<li>Sync with cmark-gfm-0.29.0.gfm.3 by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/313">kivikakk/comrak#313</a></li>
<li>Sync with cmark-gfm-0.29.0.gfm.4 by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/314">kivikakk/comrak#314</a></li>
<li>Sync with cmark-gfm-0.29.0.gfm.5 by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/315">kivikakk/comrak#315</a></li>
<li>Fix backslash in a link issue by <a href="https://github.com/vpetrigo"><code>@​vpetrigo</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/317">kivikakk/comrak#317</a></li>
<li>Sync with cmark-gfm-0.29.0.gfm.7 by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/318">kivikakk/comrak#318</a></li>
<li>Rename <code>ComrakFoo</code> types to just <code>Foo</code> for easier usage by <a href="https://github.com/tgross35"><code>@​tgross35</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/320">kivikakk/comrak#320</a></li>
<li>Make <code>ComrakExtensionOptions</code> non-exhaustive by <a href="https://github.com/CosmicHorrorDev"><code>@​CosmicHorrorDev</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/305">kivikakk/comrak#305</a></li>
<li>Add builder derive and non_exhaustive for option structs by <a href="https://github.com/YJDoc2"><code>@​YJDoc2</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/292">kivikakk/comrak#292</a></li>
<li>add PartialEq and Eq derive for Ast and its components by <a href="https://github.com/YJDoc2"><code>@​YJDoc2</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/322">kivikakk/comrak#322</a></li>
<li>Sync with cmark-gfm-0.29.0.gfm.11 by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/319">kivikakk/comrak#319</a></li>
<li>Fix autolink detection inside wiki style link brackets by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/325">kivikakk/comrak#325</a></li>
<li>Add CI for running benchmarks by <a href="https://github.com/YJDoc2"><code>@​YJDoc2</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/326">kivikakk/comrak#326</a></li>
<li>Make adapters Send + Sync by <a href="https://github.com/lucperkins"><code>@​lucperkins</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/337">kivikakk/comrak#337</a></li>
<li>docs: fix-up broken docs.rs link by <a href="https://github.com/silverjam"><code>@​silverjam</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/341">kivikakk/comrak#341</a></li>
<li>Use github/cmark-gfm submodule by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/344">kivikakk/comrak#344</a></li>
<li>Sync with cmark-gfm-0.29.0.gfm.12 by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/343">kivikakk/comrak#343</a></li>
<li>Sync with cmark-gfm-0.29.0.gfm.13 by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/345">kivikakk/comrak#345</a></li>
</ul>
<h3>0.18.0</h3>
<ul>
<li>Improve performance of bundled plugins, and streaming I/O by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/288">kivikakk/comrak#288</a></li>
<li>Implement Default for enums without using #[default] attribute by <a href="https://github.com/silverpill"><code>@​silverpill</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/293">kivikakk/comrak#293</a></li>
<li>XML and sourcepos support by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/232">kivikakk/comrak#232</a></li>
<li>Add a quadratic fuzzer by <a href="https://github.com/philipturnbull"><code>@​philipturnbull</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/295">kivikakk/comrak#295</a></li>
</ul>
<h3>0.17.1</h3>
<ul>
<li>Fix some panics found by trivial fuzzing.</li>
</ul>
<p>Missed from the 0.17.0 changelog:</p>
<ul>
<li>Add footnote attributes that mirror cmark-gfm by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/273">kivikakk/comrak#273</a></li>
<li>Add support for full_info_string render option by <a href="https://github.com/digitalmoksha"><code>@​digitalmoksha</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/276">kivikakk/comrak#276</a></li>
<li>chore: improve debug performance by <a href="https://github.com/conradludgate"><code>@​conradludgate</code></a> in <a href="https://redirect.github.com/kivikakk/comrak/pull/283">kivikakk/comrak#283</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/kivikakk/comrak/commit/4c909b654cfd3600ab3e96c7186228ba7c8f79cd"><code>4c909b6</code></a> 0.20.0</li>
<li><a href="https://github.com/kivikakk/comrak/commit/769b4e50968ccfb59328280ff0a43abdc3c3f0c6"><code>769b4e5</code></a> Merge pull request <a href="https://redirect.github.com/kivikakk/comrak/issues/347">#347</a> from kivikakk/use-css-if-you-like</li>
<li><a href="https://github.com/kivikakk/comrak/commit/4b9d838db7b6b2eb101d465e4d4e478431a0b86b"><code>4b9d838</code></a> syntect: minor cleanups.</li>
<li><a href="https://github.com/kivikakk/comrak/commit/985e49a2fb356f84c7a6a741365eebbc29694b31"><code>985e49a</code></a> Allow for Syntect to simply generate CSS classes</li>
<li><a href="https://github.com/kivikakk/comrak/commit/a21d42c6d5da965c94e41184d81cb26b4a767200"><code>a21d42c</code></a> [clippy] remove outdated include</li>
<li><a href="https://github.com/kivikakk/comrak/commit/06798101a0571f675af1102e5a26a1ebb22a16a0"><code>0679810</code></a> Merge pull request <a href="https://redirect.github.com/kivikakk/comrak/issues/338">#338</a> from kivikakk/nix</li>
<li><a href="https://github.com/kivikakk/comrak/commit/270c6eef1f46fa151a5bbbbf04096075763bb78d"><code>270c6ee</code></a> flake.nix, workflows: use Nix for clippy/fmt to start.</li>
<li><a href="https://github.com/kivikakk/comrak/commit/840f14d321778725e77c68eb825ed9b343bdecb9"><code>840f14d</code></a> Merge pull request <a href="https://redirect.github.com/kivikakk/comrak/issues/346">#346</a> from kivikakk/dependabot/cargo/fuzz/rustix-0.36.16</li>
<li><a href="https://github.com/kivikakk/comrak/commit/c7f9d47324ed8bc6c9d894ac02ceba8a46b61886"><code>c7f9d47</code></a> build(deps): bump rustix from 0.36.11 to 0.36.16 in /fuzz</li>
<li><a href="https://github.com/kivikakk/comrak/commit/339caed26a8f9f7744f3621fc11987577002e158"><code>339caed</code></a> 0.19.0</li>
<li>Additional commits viewable in <a href="https://github.com/kivikakk/comrak/compare/0.18.0...0.20.0">compare view</a></li>
</ul>
</details>
<br />


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.

[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)

---

<details>
<summary>Dependabot commands and options</summary>
<br />

You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)


</details>


Patch:
diff --git a/askama/Cargo.toml b/askama/Cargo.toml
index a4300bc..26be2a4 100644
--- a/askama/Cargo.toml
+++ b/askama/Cargo.toml
@@ -41,7 +41,7 @@ mime_guess = []
 [dependencies]
 askama_derive = { version = "0.12.0", path = "../askama_derive" }
 askama_escape = { version = "0.10.3", path = "../askama_escape" }
-comrak = { version = "0.19", optional = true, default-features = false }
+comrak = { version = "0.20", optional = true, default-features = false }
 dep_humansize = { package = "humansize", version = "2", optional = true }
 dep_num_traits = { package = "num-traits", version = "0.2.6", optional = true }
 percent-encoding = { version = "2.1.0", optional = true }


Test patch:
diff --git a/testing/Cargo.toml b/testing/Cargo.toml
index 1d7050d..793de53 100644
--- a/testing/Cargo.toml
+++ b/testing/Cargo.toml
@@ -14,7 +14,7 @@ markdown = ["comrak", "askama/markdown"]
 
 [dependencies]
 askama = { path = "../askama", version = "0.12" }
-comrak = { version = "0.19", default-features = false, optional = true }
+comrak = { version = "0.20", default-features = false, optional = true }
 serde_json = { version = "1.0", optional = true }
 
 [dev-dependencies]