1
0
mirror of https://github.com/google/comprehensive-rust.git synced 2025-04-22 15:57:46 +02:00
comprehensive-rust/mdbook-slide-evaluator
dependabot[bot] f098b02efd
cargo: bump the patch group with 9 updates (#2682)
Bumps the patch group with 9 updates:

| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow) | `1.0.95` | `1.0.96` |
| [clap](https://github.com/clap-rs/clap) | `4.5.27` | `4.5.31` |
| [log](https://github.com/rust-lang/log) | `0.4.25` | `0.4.26` |
| [mdbook](https://github.com/rust-lang/mdBook) | `0.4.44` | `0.4.45` |
| [serde](https://github.com/serde-rs/serde) | `1.0.217` | `1.0.218` |
| [serde_json](https://github.com/serde-rs/json) | `1.0.138` | `1.0.139`
|
| [zerocopy](https://github.com/google/zerocopy) | `0.8.14` | `0.8.21` |
| [cxx](https://github.com/dtolnay/cxx) | `1.0.137` | `1.0.142` |
| [cxx-build](https://github.com/dtolnay/cxx) | `1.0.137` | `1.0.142` |

Updates `anyhow` from 1.0.95 to 1.0.96
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/anyhow/releases">anyhow's
releases</a>.</em></p>
<blockquote>
<h2>1.0.96</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f0aa0d367f"><code>f0aa0d3</code></a>
Release 1.0.96</li>
<li><a
href="bc33c24bd2"><code>bc33c24</code></a>
Convert html links to intra-doc links</li>
<li><a
href="1cff785c76"><code>1cff785</code></a>
Unset doc-scrape-examples for lib target</li>
<li><a
href="d71c806e97"><code>d71c806</code></a>
More precise gitignore patterns</li>
<li><a
href="3e409755ce"><code>3e40975</code></a>
Remove **/*.rs.bk from project-specific gitignore</li>
<li><a
href="b880dd050e"><code>b880dd0</code></a>
Ignore Cargo-generated tests/crate/target directory</li>
<li><a
href="8891ce34b4"><code>8891ce3</code></a>
Merge pull request <a
href="https://redirect.github.com/dtolnay/anyhow/issues/404">#404</a>
from dtolnay/missingabi</li>
<li><a
href="51a173ee68"><code>51a173e</code></a>
Ignore missing_abi lint in nightly-2025-01-16</li>
<li><a
href="4d71a84097"><code>4d71a84</code></a>
Ignore double_ended_iterator_last clippy lint</li>
<li><a
href="af0937ef72"><code>af0937e</code></a>
Update ui test suite to nightly-2025-01-02</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/anyhow/compare/1.0.95...1.0.96">compare
view</a></li>
</ul>
</details>
<br />

Updates `clap` from 4.5.27 to 4.5.31
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/releases">clap's
releases</a>.</em></p>
<blockquote>
<h2>v4.5.31</h2>
<h2>[4.5.31] - 2025-02-24</h2>
<h3>Features</h3>
<ul>
<li>Add <code>ValueParserFactory</code> for
<code>Saturating&lt;T&gt;</code></li>
</ul>
<h2>v4.5.30</h2>
<h2>[4.5.30] - 2025-02-17</h2>
<h3>Fixes</h3>
<ul>
<li><em>(assert)</em> Allow <code>num_args(0..=1)</code> to be used with
<code>SetTrue</code></li>
<li><em>(assert)</em> Clean up rendering of <code>takes_values</code>
assertions</li>
</ul>
<h2>v4.5.29</h2>
<h2>[4.5.29] - 2025-02-11</h2>
<h3>Fixes</h3>
<ul>
<li>Change <code>ArgMatches::args_present</code> so not-present flags
are considered not-present (matching the documentation)</li>
</ul>
<h2>v4.5.28</h2>
<h2>[4.5.28] - 2025-02-03</h2>
<h3>Features</h3>
<ul>
<li><em>(derive)</em> Unstable support for full markdown syntax for doc
comments, enabled with <code>unstable-markdown</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/clap-rs/clap/blob/master/CHANGELOG.md">clap's
changelog</a>.</em></p>
<blockquote>
<h2>[4.5.31] - 2025-02-24</h2>
<h3>Features</h3>
<ul>
<li>Add <code>ValueParserFactory</code> for
<code>Saturating&lt;T&gt;</code></li>
</ul>
<h2>[4.5.30] - 2025-02-17</h2>
<h3>Fixes</h3>
<ul>
<li><em>(assert)</em> Allow <code>num_args(0..=1)</code> to be used with
<code>SetTrue</code></li>
<li><em>(assert)</em> Clean up rendering of <code>takes_values</code>
assertions</li>
</ul>
<h2>[4.5.29] - 2025-02-11</h2>
<h3>Fixes</h3>
<ul>
<li>Change <code>ArgMatches::args_present</code> so not-present flags
are considered not-present (matching the documentation)</li>
</ul>
<h2>[4.5.28] - 2025-02-03</h2>
<h3>Features</h3>
<ul>
<li><em>(derive)</em> Unstable support for full markdown syntax for doc
comments, enabled with <code>unstable-markdown</code></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="acf9abbc1b"><code>acf9abb</code></a>
chore: Release</li>
<li><a
href="9186a1872c"><code>9186a18</code></a>
docs: Update changelog</li>
<li><a
href="233c316d11"><code>233c316</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5926">#5926</a>
from sorairolake/feature/value-parser-factory-for-sa...</li>
<li><a
href="13931a25e7"><code>13931a2</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5923">#5923</a>
from Reverier-Xu/master</li>
<li><a
href="536e29fb85"><code>536e29f</code></a>
feat(builder): Add <code>ValueParserFactory</code> for
<code>Saturating\&lt;T&gt;</code></li>
<li><a
href="45ed71c0f2"><code>45ed71c</code></a>
chore: Avoid using gen for rust 2024 preserved keyword</li>
<li><a
href="5029bb3d11"><code>5029bb3</code></a>
chore: Avoid using <code>gen</code> for rust 2024 preserved keyword</li>
<li><a
href="8a1d59bbb0"><code>8a1d59b</code></a>
chore(deps): Update Rust Stable to v1.85 (<a
href="https://redirect.github.com/clap-rs/clap/issues/5921">#5921</a>)</li>
<li><a
href="9caee534e0"><code>9caee53</code></a>
docs(changelog): Clarify 5.0.0</li>
<li><a
href="cb2352f84a"><code>cb2352f</code></a>
Merge pull request <a
href="https://redirect.github.com/clap-rs/clap/issues/5918">#5918</a>
from epage/test</li>
<li>Additional commits viewable in <a
href="https://github.com/clap-rs/clap/compare/clap_complete-v4.5.27...v4.5.31">compare
view</a></li>
</ul>
</details>
<br />

Updates `log` from 0.4.25 to 0.4.26
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/log/releases">log's
releases</a>.</em></p>
<blockquote>
<h2>0.4.26</h2>
<h2>What's Changed</h2>
<ul>
<li>Derive <code>Clone</code> for <code>kv::Value</code> by <a
href="https://github.com/SpriteOvO"><code>@​SpriteOvO</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/668">rust-lang/log#668</a></li>
<li>Add <code>spdlog-rs</code> link to crate doc by <a
href="https://github.com/SpriteOvO"><code>@​SpriteOvO</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/669">rust-lang/log#669</a></li>
<li>Prepare for 0.4.26 release by <a
href="https://github.com/KodrAus"><code>@​KodrAus</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/670">rust-lang/log#670</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-lang/log/compare/0.4.25...0.4.26">https://github.com/rust-lang/log/compare/0.4.25...0.4.26</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/log/blob/master/CHANGELOG.md">log's
changelog</a>.</em></p>
<blockquote>
<h2>[0.4.26] - 2025-02-18</h2>
<h2>What's Changed</h2>
<ul>
<li>Derive <code>Clone</code> for <code>kv::Value</code> by <a
href="https://github.com/SpriteOvO"><code>@​SpriteOvO</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/668">rust-lang/log#668</a></li>
<li>Add <code>spdlog-rs</code> link to crate doc by <a
href="https://github.com/SpriteOvO"><code>@​SpriteOvO</code></a> in <a
href="https://redirect.github.com/rust-lang/log/pull/669">rust-lang/log#669</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-lang/log/compare/0.4.25...0.4.26">https://github.com/rust-lang/log/compare/0.4.25...0.4.26</a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5a91554817"><code>5a91554</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/670">#670</a>
from rust-lang/cargo/0.4.26</li>
<li><a
href="5aba0c2290"><code>5aba0c2</code></a>
prepare for 0.4.26 release</li>
<li><a
href="0551261bb4"><code>0551261</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/669">#669</a>
from SpriteOvO/crate-doc-update</li>
<li><a
href="3ff3bdcbd7"><code>3ff3bdc</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/log/issues/668">#668</a>
from SpriteOvO/value-clone</li>
<li><a
href="931d8832d0"><code>931d883</code></a>
Add <code>spdlog-rs</code> link to crate doc</li>
<li><a
href="310c9b43ff"><code>310c9b4</code></a>
Derive <code>Clone</code> for <code>kv::Value</code></li>
<li>See full diff in <a
href="https://github.com/rust-lang/log/compare/0.4.25...0.4.26">compare
view</a></li>
</ul>
</details>
<br />

Updates `mdbook` from 0.4.44 to 0.4.45
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/mdBook/releases">mdbook's
releases</a>.</em></p>
<blockquote>
<h2>v0.4.45</h2>
<p>See <a
href="https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0445">https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md#mdbook-0445</a>
for a complete list of changes.</p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/rust-lang/mdBook/blob/master/CHANGELOG.md">mdbook's
changelog</a>.</em></p>
<blockquote>
<h2>mdBook 0.4.45</h2>
<p><a
href="https://github.com/rust-lang/mdBook/compare/v0.4.44...v0.4.45">v0.4.44...v0.4.45</a></p>
<h3>Changed</h3>
<ul>
<li>Added context to error message when rustdoc is not found.
<a
href="https://redirect.github.com/rust-lang/mdBook/pull/2545">#2545</a></li>
<li>Slightly changed the styling rules around margins of footnotes.
<a
href="https://redirect.github.com/rust-lang/mdBook/pull/2524">#2524</a></li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed an issue where it would panic if a source_path is not set.
<a
href="https://redirect.github.com/rust-lang/mdBook/pull/2550">#2550</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4941acdb87"><code>4941acd</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/mdBook/issues/2551">#2551</a>
from ehuss/bump-version</li>
<li><a
href="7e3d2f96ab"><code>7e3d2f9</code></a>
Update to 0.4.45</li>
<li><a
href="ddba36b24c"><code>ddba36b</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/mdBook/issues/2524">#2524</a>
from WaffleLapkin/first-last-of-type-footnote</li>
<li><a
href="35cf96a064"><code>35cf96a</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/mdBook/issues/2550">#2550</a>
from ehuss/fix-expected-source-path</li>
<li><a
href="5777a0edc4"><code>5777a0e</code></a>
Fix issue with None source_path</li>
<li><a
href="53c3a92285"><code>53c3a92</code></a>
Add test for a chapter with no source path</li>
<li><a
href="132ca0dca3"><code>132ca0d</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/mdBook/issues/2548">#2548</a>
from tamird/patch-1</li>
<li><a
href="56c2b9ba3a"><code>56c2b9b</code></a>
README.md: update workflow status badge</li>
<li><a
href="542b6feed1"><code>542b6fe</code></a>
Merge pull request <a
href="https://redirect.github.com/rust-lang/mdBook/issues/2545">#2545</a>
from ehuss/rustdoc-missing-error</li>
<li><a
href="2af44a396f"><code>2af44a3</code></a>
Add context when <code>rustdoc</code> command is not found</li>
<li>Additional commits viewable in <a
href="https://github.com/rust-lang/mdBook/compare/v0.4.44...v0.4.45">compare
view</a></li>
</ul>
</details>
<br />

Updates `serde` from 1.0.217 to 1.0.218
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/serde-rs/serde/releases">serde's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.218</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="7bfd518dd4"><code>7bfd518</code></a>
Release 1.0.218</li>
<li><a
href="723a9491e2"><code>723a949</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2895">#2895</a>
from dtolnay/stabledoc</li>
<li><a
href="2b44efb085"><code>2b44efb</code></a>
Point standard library links to stable</li>
<li><a
href="03dc0fc137"><code>03dc0fc</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/serde/issues/2894">#2894</a>
from dtolnay/doclink</li>
<li><a
href="85cb0c478e"><code>85cb0c4</code></a>
Convert html links to intra-doc links</li>
<li><a
href="abe7194480"><code>abe7194</code></a>
Update ui test suite to nightly-2025-02-12</li>
<li><a
href="aaccac7413"><code>aaccac7</code></a>
Unset doc-scrape-examples for lib target</li>
<li><a
href="7cd4d84cac"><code>7cd4d84</code></a>
Update ui test suite to nightly-2025-02-07</li>
<li><a
href="04ff3e8f95"><code>04ff3e8</code></a>
More precise gitignore patterns</li>
<li><a
href="dc3031b614"><code>dc3031b</code></a>
Remove *.sw[po] from gitignore</li>
<li>Additional commits viewable in <a
href="https://github.com/serde-rs/serde/compare/v1.0.217...v1.0.218">compare
view</a></li>
</ul>
</details>
<br />

Updates `serde_json` from 1.0.138 to 1.0.139
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/serde-rs/json/releases">serde_json's
releases</a>.</em></p>
<blockquote>
<h2>v1.0.139</h2>
<ul>
<li>Documentation improvements</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4d4f53c3b7"><code>4d4f53c</code></a>
Release 1.0.139</li>
<li><a
href="5d6b32f378"><code>5d6b32f</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1242">#1242</a>
from dtolnay/writefloat</li>
<li><a
href="e5bb8bd38f"><code>e5bb8bd</code></a>
Document behavior of write_f32/f64 on non-finite floats</li>
<li><a
href="7a797810d2"><code>7a79781</code></a>
Merge pull request <a
href="https://redirect.github.com/serde-rs/json/issues/1241">#1241</a>
from dtolnay/doclink</li>
<li><a
href="13591f1dd4"><code>13591f1</code></a>
Convert html links to intra-doc links</li>
<li><a
href="1d7378e8ee"><code>1d7378e</code></a>
Unset doc-scrape-examples for lib target</li>
<li><a
href="1174c5f57d"><code>1174c5f</code></a>
Resolve unnecessary_semicolon pedantic clippy lint</li>
<li>See full diff in <a
href="https://github.com/serde-rs/json/compare/v1.0.138...v1.0.139">compare
view</a></li>
</ul>
</details>
<br />

Updates `zerocopy` from 0.8.14 to 0.8.21
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/google/zerocopy/releases">zerocopy's
releases</a>.</em></p>
<blockquote>
<h2>v0.8.20</h2>
<h2>What's Changed</h2>
<ul>
<li>[readme] Explain maintenance, thank contributors by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/2360">google/zerocopy#2360</a></li>
<li>Release 0.8.20 by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/2361">google/zerocopy#2361</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.8.19...v0.8.20">https://github.com/google/zerocopy/compare/v0.8.19...v0.8.20</a></p>
<h2>v0.8.19</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix soundness of FromBytes::read_from_io (<a
href="https://redirect.github.com/google/zerocopy/issues/2320">#2320</a>)
by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/2358">google/zerocopy#2358</a></li>
<li>Release 0.8.19 by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/2359">google/zerocopy#2359</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.8.18...v0.8.19">https://github.com/google/zerocopy/compare/v0.8.18...v0.8.19</a></p>
<h2>v0.8.18</h2>
<h2>What's Changed</h2>
<ul>
<li>Add <code>Self: IntoBytes</code> bound to
<code>TryFromBytes::try_mut*</code> by <a
href="https://github.com/jswrenn"><code>@​jswrenn</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/2331">google/zerocopy#2331</a></li>
<li>Release 0.8.18 by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/2342">google/zerocopy#2342</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.8.17...v0.8.18">https://github.com/google/zerocopy/compare/v0.8.17...v0.8.18</a></p>
<h2>v0.8.17</h2>
<h2>What's Changed</h2>
<ul>
<li>[derive] Fix bug with KnownLayout on repr(packed) by <a
href="https://github.com/joshlf"><code>@​joshlf</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/2307">google/zerocopy#2307</a></li>
<li>Release 0.8.17 by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/2308">google/zerocopy#2308</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.8.16...v0.8.17">https://github.com/google/zerocopy/compare/v0.8.16...v0.8.17</a></p>
<h2>v0.8.16</h2>
<h2>What's Changed</h2>
<ul>
<li>Enforce <code>Src: FromBytes</code> in
<code>try_transmute_mut!</code> by <a
href="https://github.com/jswrenn"><code>@​jswrenn</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/2229">google/zerocopy#2229</a></li>
<li>Release 0.8.16 by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/2297">google/zerocopy#2297</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.8.15...v0.8.16">https://github.com/google/zerocopy/compare/v0.8.15...v0.8.16</a></p>
<h2>v0.8.15</h2>
<h2>What's Changed</h2>
<ul>
<li>[derive] Implement an IntoBytes-based PartialEq/Eq derive by <a
href="https://github.com/max-heller"><code>@​max-heller</code></a> in <a
href="https://redirect.github.com/google/zerocopy/pull/2285">google/zerocopy#2285</a></li>
<li>Release 0.8.15 by <a
href="https://github.com/google-pr-creation-bot"><code>@​google-pr-creation-bot</code></a>
in <a
href="https://redirect.github.com/google/zerocopy/pull/2294">google/zerocopy#2294</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/google/zerocopy/compare/v0.8.15-alpha...v0.8.15">https://github.com/google/zerocopy/compare/v0.8.15-alpha...v0.8.15</a></p>
<h2>v0.8.15-alpha</h2>
<h2>What's Changed</h2>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="dccbbcd871"><code>dccbbcd</code></a>
Release 0.8.21 (<a
href="https://redirect.github.com/google/zerocopy/issues/2402">#2402</a>)</li>
<li><a
href="0772a12d22"><code>0772a12</code></a>
Support 16-bit target platforms (<a
href="https://redirect.github.com/google/zerocopy/issues/2401">#2401</a>)</li>
<li><a
href="367e68b06c"><code>367e68b</code></a>
[pointer] Improve soundness of invariant modeling (<a
href="https://redirect.github.com/google/zerocopy/issues/2397">#2397</a>)</li>
<li><a
href="417344326c"><code>4173443</code></a>
[layout] Update test documentation (<a
href="https://redirect.github.com/google/zerocopy/issues/2026">#2026</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/2396">#2396</a>)</li>
<li><a
href="fe70ab6911"><code>fe70ab6</code></a>
[pointer] Fix Ptr[Inner] variance (<a
href="https://redirect.github.com/google/zerocopy/issues/2351">#2351</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/2393">#2393</a>)</li>
<li><a
href="8bbfec2ab8"><code>8bbfec2</code></a>
[ci] Don't run on push (<a
href="https://redirect.github.com/google/zerocopy/issues/1882">#1882</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/2394">#2394</a>)</li>
<li><a
href="a90f4d4a9d"><code>a90f4d4</code></a>
[ci] Add GitHub Action to backport PR (backports <a
href="https://redirect.github.com/google/zerocopy/issues/2017">#2017</a>
and <a
href="https://redirect.github.com/google/zerocopy/issues/2018">#2018</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/2391">#2391</a>)</li>
<li><a
href="15a2cf5ac5"><code>15a2cf5</code></a>
documented how to implement enums with endian-specific tags (<a
href="https://redirect.github.com/google/zerocopy/issues/1993">#1993</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/2390">#2390</a>)</li>
<li><a
href="47949a4097"><code>47949a4</code></a>
[pointer][invariant] Remove AliasingMapping, Inaccessible (<a
href="https://redirect.github.com/google/zerocopy/issues/2301">#2301</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/2386">#2386</a>)</li>
<li><a
href="bce7ec5766"><code>bce7ec5</code></a>
[CI] skip installation step when cache hit (<a
href="https://redirect.github.com/google/zerocopy/issues/1978">#1978</a>)
(<a
href="https://redirect.github.com/google/zerocopy/issues/2385">#2385</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/google/zerocopy/compare/v0.8.14...v0.8.21">compare
view</a></li>
</ul>
</details>
<br />

Updates `cxx` from 1.0.137 to 1.0.142
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/cxx/releases">cxx's
releases</a>.</em></p>
<blockquote>
<h2>1.0.142</h2>
<ul>
<li>Add template deduction guide for rust::Slice constructor (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1449">#1449</a>,
thanks <a
href="https://github.com/JonathonReinhart"><code>@​JonathonReinhart</code></a>)</li>
</ul>
<h2>1.0.141</h2>
<ul>
<li>Fix missing <code>#include &lt;ranges&gt;</code> (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1442">#1442</a>, <a
href="https://redirect.github.com/dtolnay/cxx/issues/1443">#1443</a>,
thanks <a
href="https://github.com/atetubou"><code>@​atetubou</code></a>)</li>
</ul>
<h2>1.0.140</h2>
<ul>
<li>Add <code>rust::String(const char8_t *)</code> and
<code>rust::String(const char8_t *, size_t)</code> constructors (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1437">#1437</a>,
thanks <a
href="https://github.com/anforowicz"><code>@​anforowicz</code></a>)</li>
<li>Declare <code>operator+(ptrdiff_t, Slice&lt;T&gt;::iterator)</code>
to be <code>noexcept</code> (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1440">#1440</a>)</li>
</ul>
<h2>1.0.139</h2>
<ul>
<li>Make <code>rust::Slice</code> satisfy C++20
<code>contiguous_range</code> concept (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1432">#1432</a>,
thanks <a
href="https://github.com/anforowicz"><code>@​anforowicz</code></a>)</li>
</ul>
<h2>1.0.138</h2>
<ul>
<li>Add method to convert from <code>&amp;CxxString</code> to
<code>&amp;CStr</code> (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1431">#1431</a>,
thanks <a
href="https://github.com/nyurik"><code>@​nyurik</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4b4e1c1039"><code>4b4e1c1</code></a>
Release 1.0.142</li>
<li><a
href="db3aaac6a0"><code>db3aaac</code></a>
Lockfile update</li>
<li><a
href="6aa95012fb"><code>6aa9501</code></a>
Touch up tests of std::span -&gt; rust::Slice deduction</li>
<li><a
href="5702ef80fb"><code>5702ef8</code></a>
Merge pull request 1449 from
JonathonReinhart/add-Slice-ctor-deduction-guide</li>
<li><a
href="bdf2e39ea0"><code>bdf2e39</code></a>
Disable clippy in CI due to ICE</li>
<li><a
href="33f3fa8ba4"><code>33f3fa8</code></a>
Add template deduction guide for Slice constructor</li>
<li><a
href="94e8e46066"><code>94e8e46</code></a>
Revert &quot;Bump Bazel build to rustc 1.85.0&quot;</li>
<li><a
href="0c114bece7"><code>0c114be</code></a>
One more stable standard library crate</li>
<li><a
href="aeec460144"><code>aeec460</code></a>
Bump Bazel build to rustc 1.85.0</li>
<li><a
href="2379562a10"><code>2379562</code></a>
Bump Bazel build to rustc 1.84.1</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/cxx/compare/1.0.137...1.0.142">compare
view</a></li>
</ul>
</details>
<br />

Updates `cxx-build` from 1.0.137 to 1.0.142
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/dtolnay/cxx/releases">cxx-build's
releases</a>.</em></p>
<blockquote>
<h2>1.0.142</h2>
<ul>
<li>Add template deduction guide for rust::Slice constructor (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1449">#1449</a>,
thanks <a
href="https://github.com/JonathonReinhart"><code>@​JonathonReinhart</code></a>)</li>
</ul>
<h2>1.0.141</h2>
<ul>
<li>Fix missing <code>#include &lt;ranges&gt;</code> (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1442">#1442</a>, <a
href="https://redirect.github.com/dtolnay/cxx/issues/1443">#1443</a>,
thanks <a
href="https://github.com/atetubou"><code>@​atetubou</code></a>)</li>
</ul>
<h2>1.0.140</h2>
<ul>
<li>Add <code>rust::String(const char8_t *)</code> and
<code>rust::String(const char8_t *, size_t)</code> constructors (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1437">#1437</a>,
thanks <a
href="https://github.com/anforowicz"><code>@​anforowicz</code></a>)</li>
<li>Declare <code>operator+(ptrdiff_t, Slice&lt;T&gt;::iterator)</code>
to be <code>noexcept</code> (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1440">#1440</a>)</li>
</ul>
<h2>1.0.139</h2>
<ul>
<li>Make <code>rust::Slice</code> satisfy C++20
<code>contiguous_range</code> concept (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1432">#1432</a>,
thanks <a
href="https://github.com/anforowicz"><code>@​anforowicz</code></a>)</li>
</ul>
<h2>1.0.138</h2>
<ul>
<li>Add method to convert from <code>&amp;CxxString</code> to
<code>&amp;CStr</code> (<a
href="https://redirect.github.com/dtolnay/cxx/issues/1431">#1431</a>,
thanks <a
href="https://github.com/nyurik"><code>@​nyurik</code></a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="4b4e1c1039"><code>4b4e1c1</code></a>
Release 1.0.142</li>
<li><a
href="db3aaac6a0"><code>db3aaac</code></a>
Lockfile update</li>
<li><a
href="6aa95012fb"><code>6aa9501</code></a>
Touch up tests of std::span -&gt; rust::Slice deduction</li>
<li><a
href="5702ef80fb"><code>5702ef8</code></a>
Merge pull request 1449 from
JonathonReinhart/add-Slice-ctor-deduction-guide</li>
<li><a
href="bdf2e39ea0"><code>bdf2e39</code></a>
Disable clippy in CI due to ICE</li>
<li><a
href="33f3fa8ba4"><code>33f3fa8</code></a>
Add template deduction guide for Slice constructor</li>
<li><a
href="94e8e46066"><code>94e8e46</code></a>
Revert &quot;Bump Bazel build to rustc 1.85.0&quot;</li>
<li><a
href="0c114bece7"><code>0c114be</code></a>
One more stable standard library crate</li>
<li><a
href="aeec460144"><code>aeec460</code></a>
Bump Bazel build to rustc 1.85.0</li>
<li><a
href="2379562a10"><code>2379562</code></a>
Bump Bazel build to rustc 1.84.1</li>
<li>Additional commits viewable in <a
href="https://github.com/dtolnay/cxx/compare/1.0.137...1.0.142">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 <dependency name> major version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's major version (unless you unignore this specific
dependency's major version or upgrade to it yourself)
- `@dependabot ignore <dependency name> minor version` will close this
group update PR and stop Dependabot creating any more for the specific
dependency's minor version (unless you unignore this specific
dependency's minor version or upgrade to it yourself)
- `@dependabot ignore <dependency name>` will close this group update PR
and stop Dependabot creating any more for the specific dependency
(unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore <dependency name>` will remove all of the ignore
conditions of the specified dependency
- `@dependabot unignore <dependency name> <ignore condition>` will
remove the ignore condition of the specified dependency and ignore
conditions


</details>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-03 13:25:12 +01:00
..
2024-08-21 07:18:07 +00:00
2024-08-21 07:18:07 +00:00

mdbook-slide-evaluator allows you to evaluate the rendered slides. This way one can find if there is too much content on the slides and if sorted by size one can focus on the worst violations first.

How to run

Start a WebDriver compatible browser

Alternative: Docker

Start a selenium docker container and mount the book folder into the container at /book/:

$ docker run -d -p 4444:4444 -p 7900:7900 --volume /path/to/my/workspace/comprehensive-rust/book:/book --shm-size="2g" selenium/standalone-chromium:latest

As the tool is running with a different base directory, you can use a relative directory e.g., ../book/:

$ cargo run -- ../book

Alternative: Local WebDriver browser with webdriver-manager

Use webdriver-manager to install a e.g., a chromedriver onto your system with:

$ pip install selenium webdriver-manager
$ python3
from selenium import webdriver
from selenium.webdriver.chrome.service import Service
from selenium.webdriver.chrome.options import Options
from webdriver_manager.chrome import ChromeDriverManager

driver = webdriver.Chrome(service=Service(ChromeDriverManager().install(), port=4444))
# end the session when you are done.

You can provide the absolute path here as the browser has the same view on the filesystem:

$ cargo run -- /path/to/my/workspace/comprehensive-rust/book

Run mdbook-slide-size

If a screenshot directory is provided, the tool can also create screenshots to evaluate this manually. The tool always recursively grabs all *.html files from the given directory and processes it.

cargo run -- --screenshot-dir screenshots ../book/html/

Roadmap

To avoid a docker mount, try to build a data uri from the given slide. This has the challenge that this contains links to local stylesheets that have to be included. css_inline can be used for that and this already works (kind of). If someone wants to take a stab at this, feel free to contact the author.