12.md (9969B)
1 # PR #12 Bump tokio from 0.2.16 to 0.2.20 2 3 - **Status:** merged 4 - **Author:** @dependabot-preview[bot] 5 - **Created:** 2020-04-29T05:04:42Z 6 - **Branch:** dependabot/cargo/tokio-0.2.20 → master 7 - **Merged:** 2020-04-29T12:56:51Z 8 - **Labels:** dependencies 9 - **Assignees:** @MTRNord 10 - **Diff:** [12.diff](./12.diff) 11 12 --- 13 14 Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.16 to 0.2.20. 15 <details> 16 <summary>Release notes</summary> 17 <p><em>Sourced from <a href="https://github.com/tokio-rs/tokio/releases">tokio's releases</a>.</em></p> 18 <blockquote> 19 <h2>Tokio v0.2.20</h2> 20 <h3>Fixes</h3> 21 <ul> 22 <li>sync: <code>broadcast</code> closing the channel no longer requires capacity (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2448">#2448</a>).</li> 23 <li>rt: regression when configuring runtime with <code>max_threads</code> less than the number of CPUs (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2457">#2457</a>).</li> 24 </ul> 25 <h2>Tokio v0.2.19</h2> 26 <h3>Fixes</h3> 27 <ul> 28 <li>docs: misc improvements (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2400">#2400</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2405">#2405</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2414">#2414</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2420">#2420</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2423">#2423</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2426">#2426</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2427">#2427</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2434">#2434</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2436">#2436</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2440">#2440</a>).</li> 29 <li>rt: support <code>block_in_place</code> in more contexts (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2409">#2409</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2410">#2410</a>).</li> 30 <li>stream: no panic in <code>merge()</code> and <code>chain()</code> when using <code>size_hint()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2430">#2430</a>).</li> 31 <li>task: include visibility modifier when defining a task-local (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2416">#2416</a>).</li> 32 </ul> 33 <h3>Added</h3> 34 <ul> 35 <li>rt: <code>runtime::Handle::block_on</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2437">#2437</a>).</li> 36 <li>sync: owned <code>Semaphore</code> permit (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2421">#2421</a>).</li> 37 <li>tcp: owned split (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2270">#2270</a>).</li> 38 </ul> 39 <h2>Tokio v0.2.18</h2> 40 <p>Fixes a regression with <code>LocalSet</code> that allowed <code>!Send</code> futures to cross threads.</p> 41 <p>This change makes <code>LocalSet</code> <code>!Send</code>. The <code>Send</code> implementation was accidentally added in v0.2.14. Removing the <code>Send</code> implementation is not considered a breaking change as it fixes a soundness bug and the implementation was accidental.</p> 42 <h3>Fixes</h3> 43 <ul> 44 <li>task: <code>LocalSet</code> was incorrectly marked as <code>Send</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2398">#2398</a>)</li> 45 <li>io: correctly report <code>WriteZero</code> failure in <code>write_int</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2334">#2334</a>)</li> 46 </ul> 47 <h2>Tokio 0.2.17</h2> 48 <p>This release fixes a bug in the threaded scheduler that could result in panics under load (see <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2382">#2382</a>). Additionally, the default number of worker threads now uses the logical CPU count, so it will now respect scheduler affinity and <code>cgroups</code> CPU quotas.</p> 49 <h3>Fixes</h3> 50 <ul> 51 <li>rt: bug in work-stealing queue (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2387">#2387</a>)</li> 52 </ul> 53 <h3>Changes</h3> 54 <ul> 55 <li>rt: threadpool uses logical CPU count instead of physical by default (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2391">#2391</a>)</li> 56 </ul> 57 </blockquote> 58 </details> 59 <details> 60 <summary>Commits</summary> 61 <ul> 62 <li><a href="https://github.com/tokio-rs/tokio/commit/0f4287ac2bc8950088d20e4a94614b608891bfb5"><code>0f4287a</code></a> chore: prepare v0.2.20 release. (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2458">#2458</a>)</li> 63 <li><a href="https://github.com/tokio-rs/tokio/commit/1bf1928088e5cc545eee447b38da7a785099059f"><code>1bf1928</code></a> rt: fix default thread number logic (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2457">#2457</a>)</li> 64 <li><a href="https://github.com/tokio-rs/tokio/commit/a26d3aec961fbb748217f853ba33af7007736b8b"><code>a26d3ae</code></a> net: mention that bind sets SO_REUSEADDR (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2454">#2454</a>)</li> 65 <li><a href="https://github.com/tokio-rs/tokio/commit/a81958484941ddcc2f1955fb6873c827f694ec9b"><code>a819584</code></a> sync: fix slow receivers in broadcast (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2448">#2448</a>)</li> 66 <li><a href="https://github.com/tokio-rs/tokio/commit/70ed3c7f0436079d798306820918d026819cb73d"><code>70ed3c7</code></a> rt: reduce usage of ManuallyDrop (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2449">#2449</a>)</li> 67 <li><a href="https://github.com/tokio-rs/tokio/commit/ce9eabfdd12a14efb74f5e6d507f2acbe7a814c9"><code>ce9eabf</code></a> chore: prepare v0.2.19 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2441">#2441</a>)</li> 68 <li><a href="https://github.com/tokio-rs/tokio/commit/894eb8b83fa8edbee2b67e1a6a8e7a1c3d74c096"><code>894eb8b</code></a> runtime: improve runtime and handle doc (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2440">#2440</a>)</li> 69 <li><a href="https://github.com/tokio-rs/tokio/commit/3572ba5a7b15b83a4b25b21395e85425622ec0e6"><code>3572ba5</code></a> task: update doc on spawn_blocking and block_in_place (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2436">#2436</a>)</li> 70 <li><a href="https://github.com/tokio-rs/tokio/commit/d8139fef7a555f99adaa37e139787d26e24daba3"><code>d8139fe</code></a> Add Handle::block_on method (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2437">#2437</a>)</li> 71 <li><a href="https://github.com/tokio-rs/tokio/commit/9bcb50660e2d9de26a4373aaf4ab8f324c8ebbe8"><code>9bcb506</code></a> docs: make it easier to discover extension traits (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2434">#2434</a>)</li> 72 <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-0.2.16...tokio-0.2.20">compare view</a></li> 73 </ul> 74 </details> 75 <br /> 76 77 78 [](https://dependabot.com/compatibility-score/?dependency-name=tokio&package-manager=cargo&previous-version=0.2.16&new-version=0.2.20) 79 80 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`. 81 82 [//]: # (dependabot-automerge-start) 83 [//]: # (dependabot-automerge-end) 84 85 --- 86 87 <details> 88 <summary>Dependabot commands and options</summary> 89 <br /> 90 91 You can trigger Dependabot actions by commenting on this PR: 92 - `@dependabot rebase` will rebase this PR 93 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 94 - `@dependabot merge` will merge this PR after your CI passes on it 95 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 96 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 97 - `@dependabot reopen` will reopen this PR if it is closed 98 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 99 - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) 100 - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) 101 - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) 102 - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language 103 - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language 104 - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language 105 - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language 106 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme 107 108 Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): 109 - Update frequency (including time of day and day of week) 110 - Pull request limits (per update run and/or open at any time) 111 - Out-of-range updates (receive only lockfile updates, if desired) 112 - Security updates (receive only security updates, if desired) 113 114 115 116 </details> 117