dependabot[bot]
8ed932f65c
cargo: bump the minor group with 6 updates ( #2681 )
...
Bumps the minor group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) |
`0.12.2` | `0.13.0` |
| [strum](https://github.com/Peternator7/strum ) | `0.26.3` | `0.27.1` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.42.0` | `1.43.0` |
| [tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets ) |
`0.10.1` | `0.11.3` |
| [scraper](https://github.com/causal-agent/scraper ) | `0.22.0` |
`0.23.1` |
| [tempfile](https://github.com/Stebalien/tempfile ) | `3.14.0` |
`3.17.1` |
Updates `pulldown-cmark` from 0.12.2 to 0.13.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/raphlinus/pulldown-cmark/releases ">pulldown-cmark's
releases</a>.</em></p>
<blockquote>
<h2>v0.13.0</h2>
<h2>Breaking Changes</h2>
<ul>
<li>super and sub script support by <a
href="https://github.com/jim-taylor-business "><code>@jim-taylor-business</code></a>
in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/966 ">pulldown-cmark/pulldown-cmark#966</a></li>
<li>Implement extension WikiLinks;
<code>Options::ENABLE_WIKILINKS</code> by <a
href="https://github.com/frostu8 "><code>@frostu8</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/991 ">pulldown-cmark/pulldown-cmark#991</a></li>
</ul>
<h2>New Features</h2>
<ul>
<li>feat: add <code>-D</code> CLI option to enable definition lists by
<a href="https://github.com/ytmimi "><code>@ytmimi</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/972 ">pulldown-cmark/pulldown-cmark#972</a></li>
</ul>
<h2>Bug Fixes and Code Enhancements</h2>
<ul>
<li>Safer definition lists implementation by <a
href="https://github.com/mondeja "><code>@mondeja</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/974 ">pulldown-cmark/pulldown-cmark#974</a></li>
<li>Factor duplicate code out of parsers by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/976 ">pulldown-cmark/pulldown-cmark#976</a></li>
<li>Stop using string slicing for math where bytes will do by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/977 ">pulldown-cmark/pulldown-cmark#977</a></li>
<li>Make indent calc for definition lists match commonmark-hs closer by
<a href="https://github.com/notriddle "><code>@notriddle</code></a> in
<a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/978 ">pulldown-cmark/pulldown-cmark#978</a></li>
<li>Ensure "parse" fuzz target covers all options by <a
href="https://github.com/ollpu "><code>@ollpu</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/980 ">pulldown-cmark/pulldown-cmark#980</a></li>
<li>Change subscript CLI flag to -B by <a
href="https://github.com/ollpu "><code>@ollpu</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/993 ">pulldown-cmark/pulldown-cmark#993</a></li>
<li>Fix OOB access due to erroneous shift in process_mask by <a
href="https://github.com/ollpu "><code>@ollpu</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/990 ">pulldown-cmark/pulldown-cmark#990</a></li>
<li>Use slice patterns for <code>unescape</code> by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/996 ">pulldown-cmark/pulldown-cmark#996</a></li>
<li>Use slice patterns for <code>scan_eol</code> by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/998 ">pulldown-cmark/pulldown-cmark#998</a></li>
<li>Stop using scan_ch when get will do by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1003 ">pulldown-cmark/pulldown-cmark#1003</a></li>
<li>Fix panic when symbols are present in wikilink before pipe by <a
href="https://github.com/frostu8 "><code>@frostu8</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1004 ">pulldown-cmark/pulldown-cmark#1004</a></li>
<li>Added a WASM build step to github actions <a
href="https://redirect.github.com/raphlinus/pulldown-cmark/issues/1005 ">#1005</a>
by <a href="https://github.com/rimutaka "><code>@rimutaka</code></a> in
<a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1006 ">pulldown-cmark/pulldown-cmark#1006</a></li>
<li>Use an explicit node for tight paragraphs by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1015 ">pulldown-cmark/pulldown-cmark#1015</a></li>
<li>Fix tasklist parsing bugs by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1017 ">pulldown-cmark/pulldown-cmark#1017</a></li>
<li>Prevent definition list defs from interrupting non-paragraphs by <a
href="https://github.com/notriddle "><code>@notriddle</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1018 ">pulldown-cmark/pulldown-cmark#1018</a></li>
</ul>
<h2>Docs</h2>
<ul>
<li>Add basic skeleton for developer docs by <a
href="https://github.com/systemsoverload "><code>@systemsoverload</code></a>
in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/988 ">pulldown-cmark/pulldown-cmark#988</a></li>
<li>docs: Added a doc-comment for ENABLE_SMART_PUNCTUATION option. by <a
href="https://github.com/rimutaka "><code>@rimutaka</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1007 ">pulldown-cmark/pulldown-cmark#1007</a></li>
<li>Document more Events and Tags by <a
href="https://github.com/ModProg "><code>@ModProg</code></a> in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1010 ">pulldown-cmark/pulldown-cmark#1010</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/ytmimi "><code>@ytmimi</code></a> made
their first contribution in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/972 ">pulldown-cmark/pulldown-cmark#972</a></li>
<li><a href="https://github.com/mondeja "><code>@mondeja</code></a> made
their first contribution in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/974 ">pulldown-cmark/pulldown-cmark#974</a></li>
<li><a
href="https://github.com/jim-taylor-business "><code>@jim-taylor-business</code></a>
made their first contribution in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/966 ">pulldown-cmark/pulldown-cmark#966</a></li>
<li><a
href="https://github.com/systemsoverload "><code>@systemsoverload</code></a>
made their first contribution in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/988 ">pulldown-cmark/pulldown-cmark#988</a></li>
<li><a href="https://github.com/frostu8 "><code>@frostu8</code></a> made
their first contribution in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/991 ">pulldown-cmark/pulldown-cmark#991</a></li>
<li><a href="https://github.com/rimutaka "><code>@rimutaka</code></a>
made their first contribution in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1006 ">pulldown-cmark/pulldown-cmark#1006</a></li>
<li><a href="https://github.com/ModProg "><code>@ModProg</code></a> made
their first contribution in <a
href="https://redirect.github.com/pulldown-cmark/pulldown-cmark/pull/1010 ">pulldown-cmark/pulldown-cmark#1010</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.12.2...v0.13.0 ">https://github.com/pulldown-cmark/pulldown-cmark/compare/v0.12.2...v0.13.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="f17d98ae9e "><code>f17d98a</code></a>
chore: bump version to 0.13.0</li>
<li><a
href="47f60de892 "><code>47f60de</code></a>
chore: cargo update and bump version to 0.12.3</li>
<li><a
href="e42259fe2d "><code>e42259f</code></a>
Merge pull request <a
href="https://redirect.github.com/raphlinus/pulldown-cmark/issues/1018 ">#1018</a>
from notriddle/deflist-lazy</li>
<li><a
href="052c635acb "><code>052c635</code></a>
Merge pull request <a
href="https://redirect.github.com/raphlinus/pulldown-cmark/issues/1017 ">#1017</a>
from notriddle/master</li>
<li><a
href="0ede612b0e "><code>0ede612</code></a>
Prevent definition list defs from interrupting non-paragraphs</li>
<li><a
href="2c16b4edf2 "><code>2c16b4e</code></a>
Fix tasklist parsing bugs</li>
<li><a
href="c59ff5484a "><code>c59ff54</code></a>
Merge pull request <a
href="https://redirect.github.com/raphlinus/pulldown-cmark/issues/1015 ">#1015</a>
from notriddle/tight-paragraph</li>
<li><a
href="4409722ad9 "><code>4409722</code></a>
Use an explicit node for tight paragraphs</li>
<li><a
href="4564d43c5d "><code>4564d43</code></a>
Merge pull request <a
href="https://redirect.github.com/raphlinus/pulldown-cmark/issues/1010 ">#1010</a>
from ModProg/document-events</li>
<li><a
href="62cae02c7a "><code>62cae02</code></a>
fix metadatablock doc comment</li>
<li>Additional commits viewable in <a
href="https://github.com/raphlinus/pulldown-cmark/compare/v0.12.2...v0.13.0 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `strum` from 0.26.3 to 0.27.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/Peternator7/strum/releases ">strum's
releases</a>.</em></p>
<blockquote>
<h2>v0.27.1</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix docsrs build error regarding IntoDiscriminant trait by <a
href="https://github.com/tveness "><code>@tveness</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/414 ">Peternator7/strum#414</a></li>
<li>Update docs to actually include new features by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/417 ">Peternator7/strum#417</a></li>
<li>Use _ to silence warnings about unused fields by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/418 ">Peternator7/strum#418</a></li>
<li>Add <code>#[strum(transparent)]</code> attribute by <a
href="https://github.com/bobozaur "><code>@bobozaur</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/331 ">Peternator7/strum#331</a></li>
<li>Fix warnings in tests from variants by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/419 ">Peternator7/strum#419</a></li>
<li>Peternator7/fix transparent typo by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/421 ">Peternator7/strum#421</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/tveness "><code>@tveness</code></a> made
their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/414 ">Peternator7/strum#414</a></li>
<li><a href="https://github.com/bobozaur "><code>@bobozaur</code></a>
made their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/331 ">Peternator7/strum#331</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/Peternator7/strum/compare/v0.27.0...v0.27.1 ">https://github.com/Peternator7/strum/compare/v0.27.0...v0.27.1 </a></p>
<h2>v0.27.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix the unconditional usage of string interpolation in strum by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/360 ">Peternator7/strum#360</a></li>
<li>fix: require strum_macros 0.26.3 by <a
href="https://github.com/joshka "><code>@joshka</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/365 ">Peternator7/strum#365</a></li>
<li>docs(strum_macros): fix word error in doc by <a
href="https://github.com/leaf-potato "><code>@leaf-potato</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/370 ">Peternator7/strum#370</a></li>
<li>Add EnumDiscriminants Trait and related Macro impl by <a
href="https://github.com/vpochapuis "><code>@vpochapuis</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/377 ">Peternator7/strum#377</a></li>
<li>macros: Stop using syn's extra-traits feature by <a
href="https://github.com/svix-jplatte "><code>@svix-jplatte</code></a>
in <a
href="https://redirect.github.com/Peternator7/strum/pull/378 ">Peternator7/strum#378</a></li>
<li>docs(strum_macros): fix typo in <code>enum_iter</code> docs by <a
href="https://github.com/cenviity "><code>@cenviity</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/387 ">Peternator7/strum#387</a></li>
<li>Inline generated functions by <a
href="https://github.com/marc0246 "><code>@marc0246</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/389 ">Peternator7/strum#389</a></li>
<li>Peternator7/update msrv to 1.66.1 by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/384 ">Peternator7/strum#384</a></li>
<li>Update appveyor.yml to VS 2022 by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/383 ">Peternator7/strum#383</a></li>
<li>feat: FromStr derive could support setting the error type by <a
href="https://github.com/JimChenWYU "><code>@JimChenWYU</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/380 ">Peternator7/strum#380</a></li>
<li>Add support for <code>const_into_str</code> attribute to enable
static string conversions in const contexts by <a
href="https://github.com/biryukovmaxim "><code>@biryukovmaxim</code></a>
in <a
href="https://redirect.github.com/Peternator7/strum/pull/353 ">Peternator7/strum#353</a></li>
<li>fix typo by <a
href="https://github.com/JimChenWYU "><code>@JimChenWYU</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/393 ">Peternator7/strum#393</a></li>
<li>Implement <code>get_int</code>/<code>get_bool</code> for properties
by <a href="https://github.com/marxin "><code>@marxin</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/391 ">Peternator7/strum#391</a></li>
<li>deps: bumped phf to 0.11 by <a
href="https://github.com/jqnatividad "><code>@jqnatividad</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/401 ">Peternator7/strum#401</a></li>
<li>Quality of life changes by <a
href="https://github.com/MHS-0 "><code>@MHS-0</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/398 ">Peternator7/strum#398</a></li>
<li>fix EnumTryAs to allow attributes on enum variant fields by <a
href="https://github.com/phsym "><code>@phsym</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/400 ">Peternator7/strum#400</a></li>
<li>Using fn() -> T instead of T in the phantom data will make all
EnumIterator types Send + Sync. by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/402 ">Peternator7/strum#402</a></li>
<li>Use asserts instead of println in Display docstrings by <a
href="https://github.com/sukhmel "><code>@sukhmel</code></a> in <a
href="https://redirect.github.com/Peternator7/strum/pull/403 ">Peternator7/strum#403</a></li>
<li>Fix <code>Display</code> macro in <code>#![no_std]</code> programs
by <a href="https://github.com/bugadani "><code>@bugadani</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/407 ">Peternator7/strum#407</a></li>
<li>Fix potential errors from vis diffs by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/409 ">Peternator7/strum#409</a></li>
<li>Use a "Path" instead of "String" for FromStr's
error methods by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/410 ">Peternator7/strum#410</a></li>
<li>Per cargo docs, this should fix the circular dep when publishing
strum by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/411 ">Peternator7/strum#411</a></li>
<li>Remove gnu toolchains from appveyor by <a
href="https://github.com/Peternator7 "><code>@Peternator7</code></a> in
<a
href="https://redirect.github.com/Peternator7/strum/pull/412 ">Peternator7/strum#412</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a
href="https://github.com/leaf-potato "><code>@leaf-potato</code></a>
made their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/370 ">Peternator7/strum#370</a></li>
<li><a
href="https://github.com/vpochapuis "><code>@vpochapuis</code></a> made
their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/377 ">Peternator7/strum#377</a></li>
<li><a
href="https://github.com/svix-jplatte "><code>@svix-jplatte</code></a>
made their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/378 ">Peternator7/strum#378</a></li>
<li><a href="https://github.com/cenviity "><code>@cenviity</code></a>
made their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/387 ">Peternator7/strum#387</a></li>
<li><a href="https://github.com/marc0246 "><code>@marc0246</code></a>
made their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/389 ">Peternator7/strum#389</a></li>
<li><a
href="https://github.com/JimChenWYU "><code>@JimChenWYU</code></a> made
their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/380 ">Peternator7/strum#380</a></li>
<li><a
href="https://github.com/biryukovmaxim "><code>@biryukovmaxim</code></a>
made their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/353 ">Peternator7/strum#353</a></li>
<li><a href="https://github.com/marxin "><code>@marxin</code></a> made
their first contribution in <a
href="https://redirect.github.com/Peternator7/strum/pull/391 ">Peternator7/strum#391</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md ">strum's
changelog</a>.</em></p>
<blockquote>
<h2>0.27.1</h2>
<ul>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/414 ">#414</a>:
Fix docrs build error.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/417 ">#417</a>:
Mention <code>parse_error_ty</code> and <code>parse_error_fn</code> that
had been
left out of the docs accidentally.</p>
</li>
<li>
<p><a
href="https://redirect.github.com/Peternator7/strum/pull/421 ">#421</a><a
href="https://redirect.github.com/Peternator7/strum/pull/331 ">#331</a>:
Implement
<code>#[strum(transparent)]</code> attribute on
<code>IntoStaticStr</code>, <code>Display</code> and
<code>AsRefStr</code> that forwards the implmenentation to
the inner value. Note that for static strings, the inner value must be
convertible to an <code>&'static str</code>.</p>
<pre lang="rust"><code>#[derive(strum::Display)]
enum SurveyResponse {
Yes,
No,
#[strum(transparent)]
Other(String)
}
<p>fn main() {
let response = SurveyResponse::Other("It was good".into());
println!("Question: Did you have fun?");
println!("Answer: {}", response);
// prints: Answer: It was good
}
</code></pre></p>
</li>
</ul>
<h2>0.27.0</h2>
<h3>Highlights</h3>
<ul>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/407 ">#407</a>:
<code>Display</code> is now correctly derived in <code>[no_std]</code>
projects.</li>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/402 ">#402</a>:
<code>EnumIter</code> now implements <code>Send + Sync</code></li>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/400 ">#400</a>:
<code>EnumTryAs</code> now handles attributes on variant fields
correctly.</li>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/398 ">#398</a>:
<code>strum</code> is now on rust 2021</li>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/391 ">#391</a>:
<code>EnumProperties</code> correctly implements <code>get_bool</code>
and <code>get_int</code>
finally. 🎉 </li>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/380 ">#380</a>:
<code>FromString</code> now supports 2 additional attributes,
<code>parse_error_ty</code>
and <code>parse_error_fn</code> that can be added to use a custom error
type rather than the default strum error message.
<ul>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/410 ">#410</a>:
These attributes accept a <code>Path</code> rather than a
<code>String</code>
to improve behavior with rust-analyzer.</li>
</ul>
</li>
</ul>
<h3>Breaking Changes</h3>
<ul>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/384 ">#384</a>:
MSRV is now 1.66.1</li>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/391 ">#391</a>:
<code>EnumProperties</code> doesn't provide default implementations
anymore.
This would have required you to manually implement this trait which
should be very uncommon.</li>
</ul>
<h2>0.26.4 (strum_macros)</h2>
<ul>
<li><a
href="https://redirect.github.com/Peternator7/strum/pull/360 ">#360</a>:
Fixes bug introduced with new string interpolation feature where</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="85d0ae61d1 "><code>85d0ae6</code></a>
Update versions to 0.27.1 everywhere</li>
<li><a
href="1576a7ab59 "><code>1576a7a</code></a>
Peternator7/fix transparent typo (<a
href="https://redirect.github.com/Peternator7/strum/issues/421 ">#421</a>)</li>
<li><a
href="23d29527cd "><code>23d2952</code></a>
Create ci.yml</li>
<li><a
href="9c5fb56b4b "><code>9c5fb56</code></a>
Fix warnings in tests from variants that need to exist, but don't get
used (#...</li>
<li><a
href="030d7b5b6a "><code>030d7b5</code></a>
Merge branch 'bobozaur-258-transparent-attr'</li>
<li><a
href="7606dd5982 "><code>7606dd5</code></a>
Do some light refactoring to combine similiar code paths together</li>
<li><a
href="b6a357d5ba "><code>b6a357d</code></a>
Merge branch '258-transparent-attr' of <a
href="https://github.com/bobozaur/strum ">https://github.com/bobozaur/strum </a>
into...</li>
<li><a
href="24e7a4fddd "><code>24e7a4f</code></a>
Use _ to silence warnings (<a
href="https://redirect.github.com/Peternator7/strum/issues/418 ">#418</a>)</li>
<li><a
href="4c1f6c1015 "><code>4c1f6c1</code></a>
Update docs to actually include new features (<a
href="https://redirect.github.com/Peternator7/strum/issues/417 ">#417</a>)</li>
<li><a
href="9db3c4dc9b "><code>9db3c4d</code></a>
Replace IntoDiscriminant with EnumDiscriminants in macro exports, as (<a
href="https://redirect.github.com/Peternator7/strum/issues/414 ">#414</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/Peternator7/strum/compare/v0.26.3...v0.27.1 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `tokio` from 1.42.0 to 1.43.0
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/tokio-rs/tokio/releases ">tokio's
releases</a>.</em></p>
<blockquote>
<h2>Tokio v1.43.0</h2>
<h1>1.43.0 (Jan 8th, 2025)</h1>
<h3>Added</h3>
<ul>
<li>net: add <code>UdpSocket::peek</code> methods (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7068 ">#7068</a>)</li>
<li>net: add support for Haiku OS (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7042 ">#7042</a>)</li>
<li>process: add <code>Command::into_std()</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7014 ">#7014</a>)</li>
<li>signal: add <code>SignalKind::info</code> on illumos (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6995 ">#6995</a>)</li>
<li>signal: add support for realtime signals on illumos (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7029 ">#7029</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>io: don't call <code>set_len</code> before initializing vector in
<code>Blocking</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7054 ">#7054</a>)</li>
<li>macros: suppress <code>clippy::needless_return</code> in
<code>#[tokio::main]</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6874 ">#6874</a>)</li>
<li>runtime: fix thread parking on WebAssembly (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7041 ">#7041</a>)</li>
</ul>
<h3>Changes</h3>
<ul>
<li>chore: use unsync loads for <code>unsync_load</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7073 ">#7073</a>)</li>
<li>io: use <code>Buf::put_bytes</code> in <code>Repeat</code> read impl
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7055 ">#7055</a>)</li>
<li>task: drop the join waker of a task eagerly (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6986 ">#6986</a>)</li>
</ul>
<h3>Changes to unstable APIs</h3>
<ul>
<li>metrics: improve flexibility of H2Histogram Configuration (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6963 ">#6963</a>)</li>
<li>taskdump: add accessor methods for backtrace (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6975 ">#6975</a>)</li>
</ul>
<h3>Documented</h3>
<ul>
<li>io: clarify <code>ReadBuf::uninit</code> allows initialized buffers
as well (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7053 ">#7053</a>)</li>
<li>net: fix ambiguity in <code>TcpStream::try_write_vectored</code>
docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7067 ">#7067</a>)</li>
<li>runtime: fix <code>LocalRuntime</code> doc links (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7074 ">#7074</a>)</li>
<li>sync: extend documentation for
<code>watch::Receiver::wait_for</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7038 ">#7038</a>)</li>
<li>sync: fix typos in <code>OnceCell</code> docs (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7047 ">#7047</a>)</li>
</ul>
<p><a
href="https://redirect.github.com/tokio-rs/tokio/issues/6874 ">#6874</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6874 ">tokio-rs/tokio#6874</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6963 ">#6963</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6963 ">tokio-rs/tokio#6963</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6975 ">#6975</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6975 ">tokio-rs/tokio#6975</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6986 ">#6986</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6986 ">tokio-rs/tokio#6986</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6995 ">#6995</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/6995 ">tokio-rs/tokio#6995</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7014 ">#7014</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7014 ">tokio-rs/tokio#7014</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7029 ">#7029</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7029 ">tokio-rs/tokio#7029</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7038 ">#7038</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7038 ">tokio-rs/tokio#7038</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7041 ">#7041</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7041 ">tokio-rs/tokio#7041</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7042 ">#7042</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7042 ">tokio-rs/tokio#7042</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7047 ">#7047</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7047 ">tokio-rs/tokio#7047</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7053 ">#7053</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7053 ">tokio-rs/tokio#7053</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7054 ">#7054</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7054 ">tokio-rs/tokio#7054</a>
<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7055 ">#7055</a>:
<a
href="https://redirect.github.com/tokio-rs/tokio/pull/7055 ">tokio-rs/tokio#7055</a></p>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="5f3296df77 "><code>5f3296d</code></a>
chore: prepare Tokio v1.43.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7079 ">#7079</a>)</li>
<li><a
href="cc974a646b "><code>cc974a6</code></a>
chore: prepare tokio-macros v2.5.0 (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7078 ">#7078</a>)</li>
<li><a
href="15495fd883 "><code>15495fd</code></a>
metrics: improve flexibility of H2Histogram Configuration (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/6963 ">#6963</a>)</li>
<li><a
href="ad4183412a "><code>ad41834</code></a>
io: don't call <code>set_len</code> before initializing vector in
<code>Blocking</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7054 ">#7054</a>)</li>
<li><a
href="bd3e857737 "><code>bd3e857</code></a>
runtime: move <code>is_join_waker_set</code> assertion in
<code>unset_waker</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7072 ">#7072</a>)</li>
<li><a
href="15f73666f1 "><code>15f7366</code></a>
runtime: fix <code>LocalRuntime</code> doc links (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7074 ">#7074</a>)</li>
<li><a
href="fd2048dad1 "><code>fd2048d</code></a>
ci: split miri jobs into unit and integration tests (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7071 ">#7071</a>)</li>
<li><a
href="e8f39157b6 "><code>e8f3915</code></a>
chore: use unsync loads for <code>unsync_load</code> (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7073 ">#7073</a>)</li>
<li><a
href="67f127769b "><code>67f1277</code></a>
net: fix ambiguity in <code>TcpStream::try_write_vectored</code> docs
(<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7067 ">#7067</a>)</li>
<li><a
href="463502cbaf "><code>463502c</code></a>
io: clarify <code>ReadBuf::uninit</code> allows initialized buffers as
well (<a
href="https://redirect.github.com/tokio-rs/tokio/issues/7053 ">#7053</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `tokio-websockets` from 0.10.1 to 0.11.3
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Gelbpunkt/tokio-websockets/blob/main/CHANGELOG.md ">tokio-websockets's
changelog</a>.</em></p>
<blockquote>
<h2>[0.11.3] - 2025-02-17</h2>
<h3>Fixed</h3>
<ul>
<li>In cases where the underlying I/O was failed but data remained to be
sent, a call to <code>poll_close</code> the WebSocket stream would block
indefinitely, this is now properly handled by returning
<code>None</code> from <code>poll_next</code> after I/O errors</li>
</ul>
<h2>[0.11.2] - 2025-02-09</h2>
<h3>Changed</h3>
<ul>
<li><code>rand</code> was updated to 0.9</li>
<li>Reduced the amount of unsafe code</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>The <code>Host</code> header no longer unconditionally includes a
port anymore, which is more in line with the RFC and fixes interacting
with some webservers</li>
</ul>
<h2>[0.11.1] - 2025-01-26</h2>
<h3>Changed</h3>
<ul>
<li>The size of several structs has been slightly decreased, reducing
memory usage</li>
<li>The SIMD algorithms have been improved and support for them is now
detected at runtime. The <code>simd</code> feature flag is
deprecated</li>
<li><code>getrandom</code> was updated to 0.3</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed an issue where a pending <code>poll_flush</code> call by a
writer would stall infinitely if <code>poll_next</code> was called at
the same time (see <a
href="https://redirect.github.com/Gelbpunkt/tokio-websockets/issues/92 ">#92</a>)</li>
</ul>
<h2>[0.11.0] - 2025-01-03</h2>
<h3>Added</h3>
<ul>
<li>The SIMD masking code now supports AltiVec on PowerPC targets
(nightly only)</li>
<li><code>WebSocketStream::{get_ref, get_mut}</code> allow access to the
underlying I/O</li>
<li><code>client::DISALLOWED_HEADERS</code> is a list of headers that
may not be added via <code>ClientBuilder::add_header</code></li>
<li><code>CloseCode::is_reserved</code> returns whether the close code
is reserved (i.e. may not be sent over the wire)</li>
</ul>
<h3>Changed</h3>
<ul>
<li><strong>[breaking]</strong> <code>ServerBuilder::accept</code> now
returns the client's HTTP request alongside the websocket stream in a
tuple</li>
<li><strong>[breaking]</strong> <code>ClientBuilder::add_header</code>
now returns a <code>Result</code> and errors when adding a disallowed
header</li>
<li><strong>[breaking]</strong> <code>Message::close</code> will now
panic when the close code is reserved or the reason exceeds 123
bytes</li>
<li><strong>[breaking]</strong> <code>Message::{ping, pong}</code> will
now panic when the payload exceeds 125 bytes</li>
<li><code>rustls-platform-verifier</code> was updated to 0.5</li>
<li>The SIMD masking code is now more efficient</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed compilation with SIMD on 32-bit x86 targets</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a
href="https://github.com/Gelbpunkt/tokio-websockets/commits ">compare
view</a></li>
</ul>
</details>
<br />
Updates `scraper` from 0.22.0 to 0.23.1
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/causal-agent/scraper/releases ">scraper's
releases</a>.</em></p>
<blockquote>
<h2>v0.23.1</h2>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-scraper/scraper/compare/v0.23.0...v0.23.1 ">https://github.com/rust-scraper/scraper/compare/v0.23.0...v0.23.1 </a></p>
<h2>v0.23.0</h2>
<h2>What's Changed</h2>
<ul>
<li>Fix README symlink by <a
href="https://github.com/hwup "><code>@hwup</code></a> in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/224 ">rust-scraper/scraper#224</a></li>
<li>Make <code>HtmlTreeSink</code>'s field public by <a
href="https://github.com/max-heller "><code>@max-heller</code></a> in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/226 ">rust-scraper/scraper#226</a></li>
<li>Bump indexmap from 2.7.0 to 2.7.1 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/230 ">rust-scraper/scraper#230</a></li>
<li>Add a serde feature for (de)serializing Selectors by <a
href="https://github.com/jakubslaby09 "><code>@jakubslaby09</code></a>
in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/227 ">rust-scraper/scraper#227</a></li>
<li>Bump serde from 1.0.215 to 1.0.217 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/233 ">rust-scraper/scraper#233</a></li>
<li>Bump serde from 1.0.217 to 1.0.218 by <a
href="https://github.com/dependabot "><code>@dependabot</code></a> in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/236 ">rust-scraper/scraper#236</a></li>
</ul>
<h2>New Contributors</h2>
<ul>
<li><a href="https://github.com/hwup "><code>@hwup</code></a> made their
first contribution in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/224 ">rust-scraper/scraper#224</a></li>
<li><a
href="https://github.com/max-heller "><code>@max-heller</code></a> made
their first contribution in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/226 ">rust-scraper/scraper#226</a></li>
<li><a
href="https://github.com/jakubslaby09 "><code>@jakubslaby09</code></a>
made their first contribution in <a
href="https://redirect.github.com/rust-scraper/scraper/pull/227 ">rust-scraper/scraper#227</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/rust-scraper/scraper/compare/v0.22.0...v0.23.0 ">https://github.com/rust-scraper/scraper/compare/v0.22.0...v0.23.0 </a></p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="d4a9eaf6f1 "><code>d4a9eaf</code></a>
Version 0.23.1</li>
<li><a
href="9bd68689a9 "><code>9bd6868</code></a>
Fix README.md for crates.io</li>
<li><a
href="08afce2b3f "><code>08afce2</code></a>
Version 0.23.0</li>
<li><a
href="4ff30c66ab "><code>4ff30c6</code></a>
Merge pull request <a
href="https://redirect.github.com/causal-agent/scraper/issues/236 ">#236</a>
from rust-scraper/dependabot/cargo/serde-1.0.218</li>
<li><a
href="97a987e31a "><code>97a987e</code></a>
Bump serde from 1.0.217 to 1.0.218</li>
<li><a
href="a52514c494 "><code>a52514c</code></a>
Merge pull request <a
href="https://redirect.github.com/causal-agent/scraper/issues/233 ">#233</a>
from rust-scraper/dependabot/cargo/serde-1.0.217</li>
<li><a
href="11cca40454 "><code>11cca40</code></a>
Bump serde from 1.0.215 to 1.0.217</li>
<li><a
href="1a55337806 "><code>1a55337</code></a>
Add a serde feature for (de)serializing Selectors (<a
href="https://redirect.github.com/causal-agent/scraper/issues/227 ">#227</a>)</li>
<li><a
href="638d731f55 "><code>638d731</code></a>
Bump indexmap from 2.7.0 to 2.7.1</li>
<li><a
href="cbe480a4e9 "><code>cbe480a</code></a>
Update LICENSE info</li>
<li>Additional commits viewable in <a
href="https://github.com/causal-agent/scraper/compare/v0.22.0...v0.23.1 ">compare
view</a></li>
</ul>
</details>
<br />
Updates `tempfile` from 3.14.0 to 3.17.1
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/Stebalien/tempfile/blob/master/CHANGELOG.md ">tempfile's
changelog</a>.</em></p>
<blockquote>
<h2>3.17.1</h2>
<ul>
<li>Fix build with <code>windows-sys</code> 0.52. Unfortunately, we have
no CI for older <code>windows-sys</code> versions at the moment...</li>
</ul>
<h2>3.17.0</h2>
<ul>
<li>Make sure to use absolute paths in when creating unnamed temporary
files (avoids a small race in the "immediate unlink" logic)
and in <code>Builder::make_in</code> (when creating temporary files of
arbitrary types).</li>
<li>Prevent a theoretical crash that could (maybe) happen when a
temporary file is created from a drop function run in a TLS destructor.
Nobody has actually reported a case of this happening in practice and I
have been unable to create this scenario in a test.</li>
<li>When reseeding with <code>getrandom</code>, use platform (e.g., CPU)
specific randomness sources where possible.</li>
<li>Clarify some documentation.</li>
<li>Unlink unnamed temporary files on windows <em>immediately</em> when
possible instead of waiting for the handle to be closed. We open files
with "Unix" semantics, so this is generally possible.</li>
</ul>
<h2>3.16.0</h2>
<ul>
<li>Update <code>getrandom</code> to <code>0.3.0</code> (thanks to <a
href="https://github.com/paolobarbolini "><code>@paolobarbolini</code></a>).</li>
<li>Allow <code>windows-sys</code> versions <code>0.59.x</code> in
addition to <code>0.59.0</code> (thanks <a
href="https://github.com/ErichDonGubler "><code>@ErichDonGubler</code></a>).</li>
<li>Improved security documentation (thanks to <a
href="https://github.com/n0toose "><code>@n0toose</code></a> for
collaborating with me on this).</li>
</ul>
<h2>3.15.0</h2>
<p>Re-seed the per-thread RNG from system randomness when we repeatedly
fail to create temporary files (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/314 ">#314</a>).
This resolves a potential DoS vector (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/178 ">#178</a>)
while avoiding <code>getrandom</code> in the common case where it's
necessary. The feature is optional but enabled by default via the
<code>getrandom</code> feature.</p>
<p>For libc-free builds, you'll either need to disable this feature or
opt-in to a different <a
href="https://github.com/rust-random/getrandom?tab=readme-ov-file#opt-in-backends "><code>getrandom</code>
backend</a>.</p>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="714a259f92 "><code>714a259</code></a>
chore: release 3.17.1</li>
<li><a
href="78309ed599 "><code>78309ed</code></a>
fix: cast handle to the windows crate HANDLE (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/332 ">#332</a>)</li>
<li><a
href="6e7d167cc1 "><code>6e7d167</code></a>
chore: release 3.17.0</li>
<li><a
href="3718075691 "><code>3718075</code></a>
doc: remove incorrect documentation about windows and open files</li>
<li><a
href="461369fd35 "><code>461369f</code></a>
feat: delete unnamed temporary files on windows immediately</li>
<li><a
href="78d30a217f "><code>78d30a2</code></a>
doc: clarify "inner file will be deleted" documentation (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/329 ">#329</a>)</li>
<li><a
href="0fe11c451e "><code>0fe11c4</code></a>
doc: document how to "keep" temporary files/dirs after
creation (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/328 ">#328</a>)</li>
<li><a
href="35e0629944 "><code>35e0629</code></a>
feat: simplify getrandom call (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/325 ">#325</a>)</li>
<li><a
href="1e5059fe9f "><code>1e5059f</code></a>
fix: handle TLS deallocation (<a
href="https://redirect.github.com/Stebalien/tempfile/issues/324 ">#324</a>)</li>
<li><a
href="c7b2e1af28 "><code>c7b2e1a</code></a>
chore: simplify reborrow</li>
<li>Additional commits viewable in <a
href="https://github.com/Stebalien/tempfile/compare/v3.14.0...v3.17.1 ">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>
Co-authored-by: Dustin J. Mitchell <djmitche@google.com >
2025-03-03 13:48:54 +00:00
scubed2
32a8b4bf13
Use chopsticks and limit philosophers. ( #2655 )
...
Use chopstick to explain why 2 are needed to eat.
Limit async to 2 philosophers so they can deadlock in tokio.
(Tested with [3, 4, 5] philosophers and they all were able to run
without deadlock
with lock ordering disabled.)
---------
Co-authored-by: Sterling Stein <scubed2+git@gmail.com >
2025-02-24 16:13:16 +00:00
dependabot[bot]
010bd291c0
cargo: bump the patch group with 8 updates ( #2614 )
...
Bumps the patch group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.23` | `4.5.27` |
| [log](https://github.com/rust-lang/log ) | `0.4.22` | `0.4.25` |
| [mdbook](https://github.com/rust-lang/mdBook ) | `0.4.43` | `0.4.44` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.134` | `1.0.138`
|
| [fantoccini](https://github.com/jonhoo/fantoccini ) | `0.21.3` |
`0.21.4` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `2.0.9` | `2.0.11`
|
| [cxx](https://github.com/dtolnay/cxx ) | `1.0.136` | `1.0.137` |
| [cxx-build](https://github.com/dtolnay/cxx ) | `1.0.136` | `1.0.137` |
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-01 18:17:30 +00:00
dependabot[bot]
8173e5fd74
cargo: bump the minor group with 3 updates ( #2534 )
...
Bumps the minor group with 3 updates:
[tokio](https://github.com/tokio-rs/tokio ),
[scraper](https://github.com/causal-agent/scraper ) and
[http](https://github.com/hyperium/http ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 08:52:58 +00:00
dependabot[bot]
a0ef82ef7c
cargo: bump the patch group with 12 updates ( #2535 )
...
Bumps the patch group with 12 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.93` | `1.0.95` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.21` | `4.5.23` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.215` | `1.0.217` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.133` | `1.0.134`
|
| [fantoccini](https://github.com/jonhoo/fantoccini ) | `0.21.2` |
`0.21.3` |
| [glob](https://github.com/rust-lang/glob ) | `0.3.1` | `0.3.2` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.12` | `0.7.13`
|
| [zerocopy](https://github.com/google/zerocopy ) | `0.8.11` | `0.8.14` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `2.0.3` | `2.0.9`
|
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.12.9` |
`0.12.12` |
| [cxx](https://github.com/dtolnay/cxx ) | `1.0.133` | `1.0.136` |
| [cxx-build](https://github.com/dtolnay/cxx ) | `1.0.133` | `1.0.136` |
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-01-02 09:35:25 +01:00
Dustin J. Mitchell
380dc3c29c
Add speaker notes to some concurrency pages ( #2501 )
...
Part of #1083 .
2024-12-06 09:03:03 -05:00
dependabot[bot]
c85816a01f
cargo: bump the patch group across 1 directory with 12 updates ( #2489 )
...
Bumps the patch group with 12 updates in the / directory:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.91` | `1.0.93` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.20` | `4.5.21` |
| [mdbook](https://github.com/rust-lang/mdBook ) | `0.4.40` | `0.4.43` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.214` | `1.0.215` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.132` | `1.0.133`
|
| [csv](https://github.com/BurntSushi/rust-csv ) | `1.3.0` | `1.3.1` |
| [tokio](https://github.com/tokio-rs/tokio ) | `1.41.0` | `1.41.1` |
| [url](https://github.com/servo/rust-url ) | `2.5.2` | `2.5.4` |
| [mockall](https://github.com/asomers/mockall ) | `0.13.0` | `0.13.1` |
| [zerocopy](https://github.com/google/zerocopy ) | `0.8.8` | `0.8.11` |
| [cxx](https://github.com/dtolnay/cxx ) | `1.0.129` | `1.0.133` |
| [cxx-build](https://github.com/dtolnay/cxx ) | `1.0.129` | `1.0.133` |
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 21:05:18 +00:00
dependabot[bot]
5586f6c9af
cargo: bump thiserror from 1.0.66 to 2.0.3 ( #2488 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.66 to
2.0.3.
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 20:51:03 +00:00
dependabot[bot]
3eb2eb8b36
cargo: bump the minor group with 2 updates ( #2486 )
...
Bumps the minor group with 2 updates:
[googletest](https://github.com/google/googletest-rust ) and
[tempfile](https://github.com/Stebalien/tempfile ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-12-01 20:41:54 +00:00
dependabot[bot]
b6b4381722
cargo: bump the minor group across 1 directory with 3 updates ( #2459 )
...
Bumps the minor group with 3 updates in the / directory:
[tokio](https://github.com/tokio-rs/tokio ),
[zerocopy](https://github.com/google/zerocopy ) and
[scraper](https://github.com/causal-agent/scraper ).
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <qwandor@google.com >
2024-11-04 10:28:53 +00:00
dependabot[bot]
9dcfc7e4d8
cargo: bump the patch group with 11 updates ( #2456 )
...
Bumps the patch group with 11 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.89` | `1.0.91` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.18` | `4.5.20` |
| [regex](https://github.com/rust-lang/regex ) | `1.11.0` | `1.11.1` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.210` | `1.0.214` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.128` | `1.0.132`
|
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) |
`0.12.1` | `0.12.2` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.64` |
`1.0.66` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.12.8` |
`0.12.9` |
| [futures-util](https://github.com/rust-lang/futures-rs ) | `0.3.30` |
`0.3.31` |
| [cxx](https://github.com/dtolnay/cxx ) | `1.0.128` | `1.0.129` |
| [cxx-build](https://github.com/dtolnay/cxx ) | `1.0.128` | `1.0.129` |
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-01 08:29:38 +01:00
Martin Geisler
1d7c9163f5
Simplify imports by importing fewer items directly ( #2404 )
...
When reading the code without an IDE, I find it useful to use explicit
module names, especially when items come from the standard library.
So `io::Error` instead of just `Error`, especially when people have
just been told about `std::error::Error` as well.
I also omitted most single-use items: I find it has less cognitive
overhead to say “we import `fmt`” and then later use `fmt::Display`
and `fmt::Formatter` in the code. It’s clear from the name that these
two things have something to do with formatting.
Finally, I made a few usages more consistent so that we refer to each
item in the same way within a single codeblock.
2024-10-29 11:19:58 +01:00
Martin Geisler
8bfff0d95a
Consistently inline formatting arguments ( #2413 )
2024-10-21 20:01:21 +02:00
Martin Geisler
ab78a9e6b8
Links in channel pages ( #2441 )
2024-10-18 09:05:01 +02:00
Martin Geisler
ad7ef2e50a
Make scoped thread examples consistent ( #2444 )
...
This is a followup to #1020 .
2024-10-18 09:04:44 +02:00
Martin Geisler
0f00434a0f
Simplify language on mutex page ( #2440 )
...
The “iff” phrasing has confused people in the past.
2024-10-18 09:04:10 +02:00
Martin Geisler
47c3d50542
Simplify language, add links, formatting fixes ( #2443 )
...
- Avoid time-specific statements (“recently”, “today”, …).
- Move details such as “RPIT” to the speaker notes.
- More links to our slides as well as community documentation.
- Formatting fixes
2024-10-18 09:03:17 +02:00
Martin Geisler
5d292377a0
Remove outdated note about showing type of future ( #2442 )
...
Modern Rust just says “note: calling an async function returns a
future” and hides the `Future` type.
2024-10-18 09:02:53 +02:00
Martin Geisler
0afca2f69b
Formatting in threads ( #2439 )
2024-10-18 09:02:45 +02:00
dependabot[bot]
0a9a01d991
cargo: bump the patch group with 8 updates ( #2388 )
...
Bumps the patch group with 8 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.86` | `1.0.89` |
| [clap](https://github.com/clap-rs/clap ) | `4.5.16` | `4.5.18` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.209` | `1.0.210` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.127` | `1.0.128`
|
| [pulldown-cmark](https://github.com/raphlinus/pulldown-cmark ) |
`0.12.0` | `0.12.1` |
| [tokio-util](https://github.com/tokio-rs/tokio ) | `0.7.11` | `0.7.12`
|
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.63` |
`1.0.64` |
| [reqwest](https://github.com/seanmonstar/reqwest ) | `0.12.7` |
`0.12.8` |
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 14:14:54 +01:00
dependabot[bot]
be9ed92365
cargo: bump the minor group with 4 updates ( #2387 )
...
Bumps the minor group with 4 updates:
[regex](https://github.com/rust-lang/regex ),
[buddy_system_allocator](https://github.com/rcore-os/buddy_system_allocator ),
[tempfile](https://github.com/Stebalien/tempfile ) and
[tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-01 14:00:01 +01:00
xiaohu-zhang
db0b161424
fix async Philosopher execise livelock error ( #2372 )
2024-09-20 12:13:16 +00:00
Frances Wingerter
c223257016
Clarify how MutexGuard is 'thread-safe' (avoiding the vague term) ( #2336 )
...
Fixes the last outstanding point of #1640 .
2024-09-03 09:43:00 -04:00
dependabot[bot]
5615b996aa
cargo: bump tokio from 1.39.3 to 1.40.0 in the minor group ( #2343 )
...
Bumps the minor group with 1 update:
[tokio](https://github.com/tokio-rs/tokio ).
Updates `tokio` from 1.39.3 to 1.40.0
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-02 10:07:21 +01:00
dependabot[bot]
dc7ba17421
cargo: bump the patch group with 4 updates ( #2316 )
...
Bumps the patch group with 4 updates:
[serde](https://github.com/serde-rs/serde ),
[serde_json](https://github.com/serde-rs/json ),
[fantoccini](https://github.com/jonhoo/fantoccini ) and
[reqwest](https://github.com/seanmonstar/reqwest ).
2024-08-26 09:43:35 -04:00
dependabot[bot]
56ae649097
cargo: bump the patch group with 6 updates ( #2291 )
...
Bumps the patch group with 6 updates:
| Package | From | To |
| --- | --- | --- |
| [clap](https://github.com/clap-rs/clap ) | `4.5.15` | `4.5.16` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.206` | `1.0.208` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.124` | `1.0.125`
|
| [tokio](https://github.com/tokio-rs/tokio ) | `1.39.2` | `1.39.3` |
| [cxx](https://github.com/dtolnay/cxx ) | `1.0.124` | `1.0.126` |
| [cxx-build](https://github.com/dtolnay/cxx ) | `1.0.124` | `1.0.126` |
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-19 12:14:42 +01:00
Frances Wingerter
dfd08ebf93
concurrency: avoid 1.. loops ( #2280 )
...
Fixes #2060 . Note that this does not change the "blocking executor"
example because on that slide it is worthwhile to sleep for 1 * 10ms on
the first iteration and so on. But we shouldn't use one-indexed
inclusive loops when the only significant feature of the loop is its
iteration count.
2024-08-13 14:38:22 +00:00
Frances Wingerter
991bd8ceb7
threads: do not refer to "daemon" threads ( #2282 )
...
This is the last remaining fix left from #63 .
2024-08-13 14:28:08 +00:00
dependabot[bot]
a3838975b6
cargo: bump the minor group with 2 updates ( #2273 )
...
Bumps the minor group with 2 updates:
[scraper](https://github.com/causal-agent/scraper ) and
[tempfile](https://github.com/Stebalien/tempfile ).
2024-08-12 10:58:35 -04:00
Dustin J. Mitchell
76857d76a1
Simplify the select! example ( #2154 )
...
@mgeisler PTAL, as I believe you were the one to suggest this change in
#1536 .
This leaves some detail about `select!` out, but that might be just as
well. Some of that detail is addressed in the `pin!` pitfall, later.
2024-08-09 08:21:00 -04:00
dependabot[bot]
d163e5a603
cargo: bump the minor group with 3 updates ( #2261 )
...
Bumps the minor group with 3 updates:
[tempfile](https://github.com/Stebalien/tempfile ),
[tokio](https://github.com/tokio-rs/tokio ) and
[tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Walbran <qwandor@google.com >
2024-08-05 11:24:26 +01:00
Jonathan Daniel
1c964f6fe3
Fix a broken link and check internal links ( #2195 )
...
In #2153 I aimed to fix a link but broke it.
In this PR, I fix it and add
[`mdbook-linkcheck`](https://github.com/Michael-F-Bryan/mdbook-linkcheck )
to avoid future cases.
Some past fixes that could have been prevented, in addition to mine in
this PR:
* #811
* #2064
* #2146
Note:
`mdbook-linkcheck` may also check external links with a configuration
change.
It can be beneficial to check also external links from time to time. I
ran it here and found 3 broken links.
Maintainers - sorry for the lack of a preceding issue. We can discuss it
here.
Some remaining work is to fix the outdated internal links in the
translations, not done here.
Let me know what you think about the proposed contribution.
This PR completes #1502 .
2024-07-22 11:37:19 +00:00
dependabot[bot]
0f7ab8fc7f
cargo: bump the patch group with 3 updates ( #2241 )
...
Bumps the patch group with 3 updates:
[thiserror](https://github.com/dtolnay/thiserror ),
[scraper](https://github.com/causal-agent/scraper ) and
[tokio](https://github.com/tokio-rs/tokio ).
2024-07-22 00:48:37 -04:00
dependabot[bot]
80791ba59d
cargo: bump the patch group with 2 updates ( #2229 )
...
Bumps the patch group with 2 updates:
[clap](https://github.com/clap-rs/clap ) and
[thiserror](https://github.com/dtolnay/thiserror ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-07-15 10:32:46 +01:00
Jonathan Daniel
31d1182831
Update the link to the first dining philosophers exercise ( #2153 )
...
The current one leads to the same page.
https://google.github.io/comprehensive-rust/concurrency/async-exercises/dining-philosophers.html
2024-06-25 13:50:20 +00:00
dependabot[bot]
45e4b167e9
cargo: bump the patch group across 1 directory with 2 updates ( #2170 )
...
Bumps the patch group with 2 updates in the / directory:
[serde_json](https://github.com/serde-rs/json ) and
[reqwest](https://github.com/seanmonstar/reqwest ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-25 10:50:39 +01:00
Luke Yeh
1fb284640e
Add a map_err in speaker notes ( #2155 )
...
The type returned by `String::from_utf8(raw)`, is `Result<_>` and needs
to be mapped to match the type of the return type of `next`. You get
this error otherwise:
```
Compiling playground v0.0.1 (/playground)
warning: unused import: `ErrorKind`
--> src/main.rs:1:21
|
1 | use std::io::{self, ErrorKind};
| ^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
error[E0308]: mismatched types
--> src/main.rs:29:17
|
29 | Ok(Some(s))
| ---- ^ expected `String`, found `Result<String, FromUtf8Error>`
| |
| arguments to this enum variant are incorrect
|
= note: expected struct `String`
found enum `Result<String, FromUtf8Error>`
help: the type constructed contains `Result<String, FromUtf8Error>` due to the type of the argument passed
--> src/main.rs:29:12
|
29 | Ok(Some(s))
| ^^^^^-^
| |
| this argument influences the type of `Some`
note: tuple variant defined here
--> /playground/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src/option.rs:579:5
|
579 | Some(#[stable(feature = "rust1", since = "1.0.0")] T),
| ^^^^
help: use the `?` operator to extract the `Result<String, FromUtf8Error>` value, propagating a `Result::Err` value to the caller
|
29 | Ok(Some(s?))
| +
For more information about this error, try `rustc --explain E0308`.
warning: `playground` (bin "playground") generated 1 warning
error: could not compile `playground` (bin "playground") due to 1 previous error; 1 warning emitted
```
2024-06-24 09:57:00 -04:00
snazzybytes
32b5a19684
Update broken "channels" link ( #2146 )
...
Stumbled upon another broken link. Courtesy fix 🫡
2024-06-17 09:19:00 -04:00
Dustin J. Mitchell
412eac6689
Clarify the suggested steps in the pin page ( #2130 )
...
The speaker notes suggest an evolution of the code to support a periodic
timer, but the last step was under-specified.
(As mentioned by @fw-immunant and referenced in #1536 )
2024-06-07 16:39:14 -04:00
dependabot[bot]
d09041fb91
cargo: bump tokio from 1.37.0 to 1.38.0 in the minor group ( #2113 )
...
Bumps the minor group with 1 update:
[tokio](https://github.com/tokio-rs/tokio ).
Updates `tokio` from 1.37.0 to 1.38.0
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-03 10:43:11 +01:00
dependabot[bot]
83b31e19af
cargo: bump the patch group with 2 updates ( #2099 )
...
Bumps the patch group with 2 updates:
[serde](https://github.com/serde-rs/serde ) and
[tokio-websockets](https://github.com/Gelbpunkt/tokio-websockets ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-28 10:26:34 +01:00
dependabot[bot]
82b60f27a0
cargo: bump the patch group with 4 updates ( #2087 )
...
Bumps the patch group with 4 updates:
[anyhow](https://github.com/dtolnay/anyhow ),
[mdbook](https://github.com/rust-lang/mdBook ),
[serde](https://github.com/serde-rs/serde ) and
[thiserror](https://github.com/dtolnay/thiserror ).
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-20 10:06:01 +01:00
dependabot[bot]
a1d43bc74b
cargo: bump the patch group with 7 updates ( #2077 )
...
Bumps the patch group with 7 updates:
| Package | From | To |
| --- | --- | --- |
| [anyhow](https://github.com/dtolnay/anyhow ) | `1.0.82` | `1.0.83` |
| [serde](https://github.com/serde-rs/serde ) | `1.0.200` | `1.0.201` |
| [serde_json](https://github.com/serde-rs/json ) | `1.0.116` | `1.0.117`
|
| [zerocopy](https://github.com/google/zerocopy ) | `0.7.33` | `0.7.34` |
| [thiserror](https://github.com/dtolnay/thiserror ) | `1.0.59` |
`1.0.60` |
| [cxx](https://github.com/dtolnay/cxx ) | `1.0.121` | `1.0.122` |
| [cxx-build](https://github.com/dtolnay/cxx ) | `1.0.121` | `1.0.122` |
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-13 10:28:26 +01:00
snazzybytes
5ff3b65ea9
Fix broken link to unsafe-traits.md ( #2064 )
...
I came upon a broken link which takes you to (Document Not Found):
https://google.github.io/comprehensive-rust/concurrency/unsafe/unsafe-traits.html
Verified locally with `mdbook serve` and now it links correctly
2024-05-07 13:22:39 -04:00
Dustin J. Mitchell
face5af783
Update Concurrency course with times ( #2007 )
...
As I mentioned in #1536 :
* Break into segments at approximately the places @fw-immunant put
breaks
* Move all of the files into `src/concurrency`
* Add timings and segment/session metadata so course outlines appear
There's room for more work here, including some additional feedback from
@fw-immunant after the session I observed, but let's do one step at a
time :)
2024-04-23 13:26:41 +00:00
rbehjati
6b3eb83bff
Move mpsc::Sender to the list of Send + Sync types ( #1930 )
...
As of 1.72.0, `mpsc::Sender` [is
`Sync`](https://doc.rust-lang.org/std/sync/mpsc/struct.Sender.html#impl-Sync-for-Sender%3CT%3E ).
2024-03-22 10:27:11 -04:00
kochinc
4b27e28e7f
Update bounded.md ( #1919 )
...
Shouldn't it be `recv` instead of `read`? I don't see a `read` function
in Receiver.
2024-03-12 20:48:54 +00:00
Frances Wingerter
976f6f6f24
concurrency: Add detailed teaching notes for welcome and threads slides ( #1885 )
...
These follow the flow of what I actually teach, which spends a
significant amount of time on the latter slide. I think it's worthwhile
to have a real flow documented in the teaching notes, both to make sure
nothing gets forgotten and to structure the experience of teaching.
2024-03-06 21:11:52 +00:00
Dustin J. Mitchell
73068d2af2
Improve interior mutability slide ( #1683 )
...
Mutex is probably more broadly understood by people coming from other
languages.
Fixes #1512 .
2024-01-17 08:53:05 -05:00
Martin Geisler
c9f66fd425
Format all Markdown files with dprint ( #1157 )
...
This is the result of running `dprint fmt` after removing `src/` from
the list of excluded directories.
This also reformats the Rust code: we might want to tweak this a bit in
the future since some of the changes removes the hand-formatting. Of
course, this formatting can be seen as a mis-feature, so maybe this is
good overall.
Thanks to mdbook-i18n-helpers 0.2, the POT file is nearly unchanged
after this, meaning that all existing translations remain valid! A few
messages were changed because of stray whitespace characters:
msgid ""
"Slices always borrow from another object. In this example, `a` has to remain "
-"'alive' (in scope) for at least as long as our slice. "
+"'alive' (in scope) for at least as long as our slice."
msgstr ""
The formatting is enforced in CI and we will have to see how annoying
this is in practice for the many contributors. If it becomes annoying,
we should look into fixing dprint/check#11 so that `dprint` can annotate
the lines that need fixing directly, then I think we can consider more
strict formatting checks.
I added more customization to `rustfmt.toml`. This is to better emulate
the dense style used in the course:
- `max_width = 85` allows lines to take up the full width available in
our code blocks (when taking margins and the line numbers into account).
- `wrap_comments = true` ensures that we don't show very long comments
in the code examples. I edited some comments to shorten them and avoid
unnecessary line breaks — please trim other unnecessarily long comments
when you see them! Remember we're writing code for slides 😄
- `use_small_heuristics = "Max"` allows for things like struct literals
and if-statements to take up the full line width configured above.
The formatting settings apply to all our Rust code right now — I think
we could improve this with https://github.com/dprint/dprint/issues/711
which lets us add per-directory `dprint` configuration files. However,
the `inherit: true` setting is not yet implemented (as far as I can
tell), so a nested configuration file will have to copy most or all of
the top-level file.
2023-12-31 00:15:07 +01:00