18.md (11040B)
1 # PR #18 Bump tokio from 0.2.21 to 0.2.22 2 3 - **Status:** merged 4 - **Author:** @dependabot-preview[bot] 5 - **Created:** 2020-07-22T04:50:13Z 6 - **Branch:** dependabot/cargo/tokio-0.2.22 → master 7 - **Merged:** 2020-07-22T10:18:50Z 8 - **Labels:** dependencies 9 - **Assignees:** @MTRNord 10 - **Diff:** [18.diff](./18.diff) 11 12 --- 13 14 Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.21 to 0.2.22. 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.22</h2> 20 <p>This release introduces initial support for <a href="https://crates.io/crates/tracing"><code>tracing</code></a> instrumentation within the Tokio 21 runtime, enabled by the "tracing" feature flag. In addition, it contains a number of bug 22 fixes and API additions.</p> 23 <h3>Fixes</h3> 24 <ul> 25 <li>docs: misc improvements (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2572">#2572</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2658">#2658</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2663">#2663</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2656">#2656</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2647">#2647</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2630">#2630</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2487">#2487</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2621">#2621</a>, 26 <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2624">#2624</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2600">#2600</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2623">#2623</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2622">#2622</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2577">#2577</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2569">#2569</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2589">#2589</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2575">#2575</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2540">#2540</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2564">#2564</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2567">#2567</a>, 27 <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2520">#2520</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2521">#2521</a>, <a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2493">#2493</a>)</li> 28 <li>rt: allow calls to <code>block_on</code> inside calls to <code>block_in_place</code> that are 29 themselves inside <code>block_on</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2645">#2645</a>)</li> 30 <li>net: fix non-portable behavior when dropping <code>TcpStream</code> <code>OwnedWriteHalf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2597">#2597</a>)</li> 31 <li>io: improve stack usage by allocating large buffers on directly on the heap 32 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2634">#2634</a>)</li> 33 <li>io: fix unsound pin projection in <code>AsyncReadExt::read_buf</code> and 34 <code>AsyncWriteExt::write_buf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2612">#2612</a>)</li> 35 <li>io: fix unnecessary zeroing for <code>AsyncRead</code> implementors (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2525">#2525</a>)</li> 36 <li>io: Fix <code>BufReader</code> not correctly forwarding <code>poll_write_buf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2654">#2654</a>)</li> 37 <li>io: fix panic in <code>AsyncReadExt::read_line</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2541">#2541</a>)</li> 38 </ul> 39 <h3>Changes</h3> 40 <ul> 41 <li>coop: returning <code>Poll::Pending</code> no longer decrements the task budget (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2549">#2549</a>)</li> 42 </ul> 43 <h3>Added</h3> 44 <ul> 45 <li>io: little-endian variants of <code>AsyncReadExt</code> and <code>AsyncWriteExt</code> methods 46 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/1915">#1915</a>)</li> 47 <li>task: add <a href="https://crates.io/crates/tracing"><code>tracing</code></a> instrumentation to spawned tasks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2655">#2655</a>)</li> 48 <li>sync: allow unsized types in <code>Mutex</code> and <code>RwLock</code> (via <code>default</code> constructors) 49 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2615">#2615</a>)</li> 50 <li>net: add <code>ToSocketAddrs</code> implementation for <code>&[SocketAddr]</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2604">#2604</a>)</li> 51 <li>fs: add <code>OpenOptionsExt</code> for <code>OpenOptions</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2515">#2515</a>)</li> 52 <li>fs: add <code>DirBuilder</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2524">#2524</a>)</li> 53 </ul> 54 <p>Signed-off-by: Eliza Weisman <a href="mailto:eliza@buoyant.io">eliza@buoyant.io</a></p> 55 </blockquote> 56 </details> 57 <details> 58 <summary>Commits</summary> 59 <ul> 60 <li><a href="https://github.com/tokio-rs/tokio/commit/21f726041cf9a4ca408d97394af220caf90312ed"><code>21f7260</code></a> chore: prepare to release 0.2.22 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2672">#2672</a>)</li> 61 <li><a href="https://github.com/tokio-rs/tokio/commit/c344aac9252c34fcce196200a99529734b5cb9e8"><code>c344aac</code></a> sync: support larger number of semaphore permits (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2607">#2607</a>)</li> 62 <li><a href="https://github.com/tokio-rs/tokio/commit/cbb4abc8aeee1f7304ce6c0d6b160ce99dd2c8cf"><code>cbb4abc</code></a> chore: add audit check (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2595">#2595</a>)</li> 63 <li><a href="https://github.com/tokio-rs/tokio/commit/14723f9786260ad115aae788c9753a44edf0394d"><code>14723f9</code></a> doc: update links in README.md and CONTRIBUTING.md (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2609">#2609</a>)</li> 64 <li><a href="https://github.com/tokio-rs/tokio/commit/04a2826084743e80762a32fcee912a3dfbb86a63"><code>04a2826</code></a> provide a way to drop a runtime in an async context (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2646">#2646</a>)</li> 65 <li><a href="https://github.com/tokio-rs/tokio/commit/28a93e604454d435476eb8bb2eee809fd86b001d"><code>28a93e6</code></a> Update doc comments (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2572">#2572</a>)</li> 66 <li><a href="https://github.com/tokio-rs/tokio/commit/dd28831e1301f09b992dabf5f9e47656ee6d981c"><code>dd28831</code></a> io: Forward poll_write_buf on BufReader (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2654">#2654</a>)</li> 67 <li><a href="https://github.com/tokio-rs/tokio/commit/6dcce1901a53f099bf10f242943b44010f264171"><code>6dcce19</code></a> sync: remove misleading comment (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2666">#2666</a>)</li> 68 <li><a href="https://github.com/tokio-rs/tokio/commit/32f46d7b883e1447833630464f168bb160fb51c9"><code>32f46d7</code></a> time: improve Entry field comment (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2671">#2671</a>)</li> 69 <li><a href="https://github.com/tokio-rs/tokio/commit/356c81c97780f69f0897f4797d87a9cc2620678c"><code>356c81c</code></a> dns: document that strings require the DNS feature (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/2663">#2663</a>)</li> 70 <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-0.2.21...tokio-0.2.22">compare view</a></li> 71 </ul> 72 </details> 73 <br /> 74 75 76 [](https://dependabot.com/compatibility-score/?dependency-name=tokio&package-manager=cargo&previous-version=0.2.21&new-version=0.2.22) 77 78 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`. 79 80 [//]: # (dependabot-automerge-start) 81 [//]: # (dependabot-automerge-end) 82 83 --- 84 85 <details> 86 <summary>Dependabot commands and options</summary> 87 <br /> 88 89 You can trigger Dependabot actions by commenting on this PR: 90 - `@dependabot rebase` will rebase this PR 91 - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it 92 - `@dependabot merge` will merge this PR after your CI passes on it 93 - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it 94 - `@dependabot cancel merge` will cancel a previously requested merge and block automerging 95 - `@dependabot reopen` will reopen this PR if it is closed 96 - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually 97 - `@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) 98 - `@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) 99 - `@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) 100 - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language 101 - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language 102 - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language 103 - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language 104 - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme 105 106 Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): 107 - Update frequency (including time of day and day of week) 108 - Pull request limits (per update run and/or open at any time) 109 - Out-of-range updates (receive only lockfile updates, if desired) 110 - Security updates (receive only security updates, if desired) 111 112 113 114 </details> 115