Repository: djc/askama
Pull request #745 (2022-11-15 04:03:44)

Update comrak requirement from 0.14 to 0.15
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.15.0</h2>
<h2>What's Changed</h2>
<ul>
<li>table: fix start_line of Table itself by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/231">kivikakk/comrak#231</a></li>
<li>Rename header file to match c libname by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/233">kivikakk/comrak#233</a></li>
<li>Change the name of the ifdef by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/234">kivikakk/comrak#234</a></li>
<li>Add <code>comrak_set_parse_option_smart</code> by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/235">kivikakk/comrak#235</a></li>
<li>Allow <code>c_char</code> options to be NULL by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/237">kivikakk/comrak#237</a></li>
<li>Replace <code>lazy_static</code> dependency with <code>once_cell</code> by <a href="https://github.com/Turbo87"><code>@​Turbo87</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/238">kivikakk/comrak#238</a></li>
<li>Make <code>comrak --help</code> readable on my terminal by <a href="https://github.com/mgeisler"><code>@​mgeisler</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/242">kivikakk/comrak#242</a></li>
<li>c-api: fix CI build by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/240">kivikakk/comrak#240</a></li>
<li>Bump versions of some dependencies by <a href="https://github.com/helmet91"><code>@​helmet91</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/243">kivikakk/comrak#243</a></li>
<li>Adding functionality to build SyntectAdapters with custom themes, syntax sets, etc. by <a href="https://github.com/ArvinSKushwaha"><code>@​ArvinSKushwaha</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/239">kivikakk/comrak#239</a></li>
<li>Make shell-words and xdg dependencies optional by <a href="https://github.com/silverpill"><code>@​silverpill</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/245">kivikakk/comrak#245</a></li>
<li>Bump clap version to 4.0 and switch to the Derive API by <a href="https://github.com/tranzystorek-io"><code>@​tranzystorek-io</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/248">kivikakk/comrak#248</a></li>
<li>c-api: remove by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/249">kivikakk/comrak#249</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/Turbo87"><code>@​Turbo87</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/238">kivikakk/comrak#238</a></li>
<li><a href="https://github.com/mgeisler"><code>@​mgeisler</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/242">kivikakk/comrak#242</a></li>
<li><a href="https://github.com/ArvinSKushwaha"><code>@​ArvinSKushwaha</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/239">kivikakk/comrak#239</a></li>
<li><a href="https://github.com/silverpill"><code>@​silverpill</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/245">kivikakk/comrak#245</a></li>
<li><a href="https://github.com/tranzystorek-io"><code>@​tranzystorek-io</code></a> made their first contribution in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/248">kivikakk/comrak#248</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a href="https://github.com/kivikakk/comrak/compare/0.14.0...0.15.0">https://github.com/kivikakk/comrak/compare/0.14.0...0.15.0</a></p>
<p><strong>crates.io</strong>: <a href="https://crates.io/crates/comrak/0.15.0">https://crates.io/crates/comrak/0.15.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.15.0</h3>
<ul>
<li>table: fix start_line of Table itself by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/231">kivikakk/comrak#231</a></li>
<li>Rename header file to match c libname by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/233">kivikakk/comrak#233</a></li>
<li>Change the name of the ifdef by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/234">kivikakk/comrak#234</a></li>
<li>Add <code>comrak_set_parse_option_smart</code> by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/235">kivikakk/comrak#235</a></li>
<li>Allow <code>c_char</code> options to be NULL by <a href="https://github.com/gjtorikian"><code>@​gjtorikian</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/237">kivikakk/comrak#237</a></li>
<li>Replace <code>lazy_static</code> dependency with <code>once_cell</code> by <a href="https://github.com/Turbo87"><code>@​Turbo87</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/238">kivikakk/comrak#238</a></li>
<li>Make <code>comrak --help</code> readable on my terminal by <a href="https://github.com/mgeisler"><code>@​mgeisler</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/242">kivikakk/comrak#242</a></li>
<li>c-api: fix CI build by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/240">kivikakk/comrak#240</a></li>
<li>Bump versions of some dependencies by <a href="https://github.com/helmet91"><code>@​helmet91</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/243">kivikakk/comrak#243</a></li>
<li>Adding functionality to build SyntectAdapters with custom themes, syntax sets, etc. by <a href="https://github.com/ArvinSKushwaha"><code>@​ArvinSKushwaha</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/239">kivikakk/comrak#239</a></li>
<li>Make shell-words and xdg dependencies optional by <a href="https://github.com/silverpill"><code>@​silverpill</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/245">kivikakk/comrak#245</a></li>
<li>Bump clap version to 4.0 and switch to the Derive API by <a href="https://github.com/tranzystorek-io"><code>@​tranzystorek-io</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/248">kivikakk/comrak#248</a></li>
<li>c-api: remove by <a href="https://github.com/kivikakk"><code>@​kivikakk</code></a> in <a href="https://github-redirect.dependabot.com/kivikakk/comrak/pull/249">kivikakk/comrak#249</a></li>
</ul>
<h3>0.14.0</h3>
<ul>
<li>Add C FFI, allowing Comrak to be used from other languages. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/171">#171</a>, Garen
Torikian)</li>
<li>Fix line wrapping in CommonMark output. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/228">#228</a>, Edward Loveall)</li>
<li>Add option to specify character used for unordered list bullets in
CommonMark output. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/229">#229</a>, Edward Loveall)</li>
</ul>
<h3>0.13.2</h3>
<ul>
<li>Fix Windows build.</li>
</ul>
<h3>0.13.1</h3>
<ul>
<li>Support compiling for WASM. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/222">#222</a>, Ben Wishoshavich)</li>
<li>Replace deprecated twoway dependency. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/224">#224</a>)</li>
</ul>
<h3>0.13.0</h3>
<ul>
<li>SECURITY: Bump regex to 1.5.5. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/221">#221</a>, Dependabot)</li>
<li>Drop unneeded YAML dependency from Syntect. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/199">#199</a>, Chris Wong)</li>
<li>Match newline handling in code inlines to upstream, and improve test failure
reporting. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/210">#210</a>, Michael Anderson)</li>
<li>Make all node value fields public. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/216">#216</a>, Evan Schwartz)</li>
<li>Line break handling adjustments. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/214">#214</a>, Michael Anderson)</li>
<li>Disable control characters in link definitions. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/219">#219</a>, Michael Anderson)</li>
</ul>
<h3>0.12.1</h3>
<ul>
<li>Only load syntax and theme sets once, on Syntect plugin instantiation. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/197">#197</a>)</li>
<li>Match syntax highlighting language names more loosely. (<a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/198">#198</a>)</li>
</ul>
<h3>0.12.0</h3>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/kivikakk/comrak/commit/3421af3d6fa47c281add102934ff5ae1173b1761"><code>3421af3</code></a> 0.15.0</li>
<li><a href="https://github.com/kivikakk/comrak/commit/8caec3f1dfe1c03ef82905a5dc276748deb5dbcf"><code>8caec3f</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/249">#249</a> from kivikakk/remove-c-api</li>
<li><a href="https://github.com/kivikakk/comrak/commit/e186cf258bab7f6e14ca739a7248edab0c3b3047"><code>e186cf2</code></a> c-api: remove</li>
<li><a href="https://github.com/kivikakk/comrak/commit/e9295ff2c17ab7b63840584aa27bb52167eff5eb"><code>e9295ff</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/248">#248</a> from tranzystorek-io/clap-v4</li>
<li><a href="https://github.com/kivikakk/comrak/commit/4471dd471f282c4f01aafcc69db53498b9b78cf4"><code>4471dd4</code></a> Disable clap wrap_help feature on wasm32</li>
<li><a href="https://github.com/kivikakk/comrak/commit/275a3133f285eeb90308b33a8e0bec5de3f4529f"><code>275a313</code></a> Bump clap version to 4.0 and switch to the Derive API</li>
<li><a href="https://github.com/kivikakk/comrak/commit/03238b81d0917acbea73a2d255603f8051e4dc04"><code>03238b8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/245">#245</a> from silverpill/main</li>
<li><a href="https://github.com/kivikakk/comrak/commit/9274b1a917ade5d540884d7e716514a312d546a5"><code>9274b1a</code></a> Make shell-words and xdg dependencies optional</li>
<li><a href="https://github.com/kivikakk/comrak/commit/939a9d3a4d26d823843baa2720515eb1fb55c6b1"><code>939a9d3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/kivikakk/comrak/issues/239">#239</a> from ArvinSKushwaha/main</li>
<li><a href="https://github.com/kivikakk/comrak/commit/fe4ca0bc77252e20f88b7f80a005db01309de5b9"><code>fe4ca0b</code></a> Added documentation to public functions</li>
<li>Additional commits viewable in <a href="https://github.com/kivikakk/comrak/compare/0.14.0...0.15.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 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 320d2a5..a3d841e 100644
--- a/askama/Cargo.toml
+++ b/askama/Cargo.toml
@@ -40,7 +40,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.14", optional = true, default-features = false }
+comrak = { version = "0.15", 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 75f68ae..3e550af 100644
--- a/testing/Cargo.toml
+++ b/testing/Cargo.toml
@@ -13,7 +13,7 @@ markdown = ["comrak", "askama/markdown"]
 
 [dependencies]
 askama = { path = "../askama", version = "0.11.2" }
-comrak = { version = "0.14", default-features = false, optional = true }
+comrak = { version = "0.15", default-features = false, optional = true }
 serde_json = { version = "1.0", optional = true }
 
 [dev-dependencies]