Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(deps): Bump tokio from 1.36.0 to 1.37.0 (#400)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.36.0 to 1.37.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.37.0</h2> <h1>1.37.0 (March 28th, 2024)</h1> <h3>Added</h3> <ul> <li>fs: add <code>set_max_buf_size</code> to <code>tokio::fs::File</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6411">#6411</a>)</li> <li>io: add <code>try_new</code> and <code>try_with_interest</code> to <code>AsyncFd</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6345">#6345</a>)</li> <li>sync: add <code>forget_permits</code> method to semaphore (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6331">#6331</a>)</li> <li>sync: add <code>is_closed</code>, <code>is_empty</code>, and <code>len</code> to mpsc receivers (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6348">#6348</a>)</li> <li>sync: add a <code>rwlock()</code> method to owned <code>RwLock</code> guards (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6418">#6418</a>)</li> <li>sync: expose strong and weak counts of mpsc sender handles (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6405">#6405</a>)</li> <li>sync: implement <code>Clone</code> for <code>watch::Sender</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6388">#6388</a>)</li> <li>task: add <code>TaskLocalFuture::take_value</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6340">#6340</a>)</li> <li>task: implement <code>FromIterator</code> for <code>JoinSet</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6300">#6300</a>)</li> </ul> <h3>Changed</h3> <ul> <li>io: make <code>io::split</code> use a mutex instead of a spinlock (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6403">#6403</a>)</li> </ul> <h3>Fixed</h3> <ul> <li>docs: fix docsrs build without net feature (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6360">#6360</a>)</li> <li>macros: allow select with only else branch (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6339">#6339</a>)</li> <li>runtime: fix leaking registration entries when os registration fails (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6329">#6329</a>)</li> </ul> <h3>Documented</h3> <ul> <li>io: document cancel safety of <code>AsyncBufReadExt::fill_buf</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6431">#6431</a>)</li> <li>io: document cancel safety of <code>AsyncReadExt</code>'s primitive read functions (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6337">#6337</a>)</li> <li>runtime: add doc link from <code>Runtime</code> to <code>#[tokio::main]</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6366">#6366</a>)</li> <li>runtime: make the <code>enter</code> example deterministic (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6351">#6351</a>)</li> <li>sync: add Semaphore example for limiting the number of outgoing requests (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6419">#6419</a>)</li> <li>sync: fix missing period in broadcast docs (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6377">#6377</a>)</li> <li>sync: mark <code>mpsc::Sender::downgrade</code> with <code>#[must_use]</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6326">#6326</a>)</li> <li>sync: reorder <code>const_new</code> before <code>new_with</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6392">#6392</a>)</li> <li>sync: update watch channel docs (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6395">#6395</a>)</li> <li>task: fix documentation links (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6336">#6336</a>)</li> </ul> <h3>Changed (unstable)</h3> <ul> <li>runtime: include task <code>Id</code> in taskdumps (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6328">#6328</a>)</li> <li>runtime: panic if <code>unhandled_panic</code> is enabled when not supported (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6410">#6410</a>)</li> </ul> <p><a href="https://redirect.github.com/tokio-rs/tokio/issues/6300">#6300</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/6300">tokio-rs/tokio#6300</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/6326">#6326</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/6326">tokio-rs/tokio#6326</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/6328">#6328</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/6328">tokio-rs/tokio#6328</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/6329">#6329</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/6329">tokio-rs/tokio#6329</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/6331">#6331</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/6331">tokio-rs/tokio#6331</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/6336">#6336</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/6336">tokio-rs/tokio#6336</a> <a href="https://redirect.github.com/tokio-rs/tokio/issues/6337">#6337</a>: <a href="https://redirect.github.com/tokio-rs/tokio/pull/6337">tokio-rs/tokio#6337</a></p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tokio/commit/9c337ca1a306be38e3474082be14bdef4bcb45b5"><code>9c337ca</code></a> chore: prepare Tokio v1.37.0 (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6435">#6435</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/e5425014392de0a44c27fac054472b4c3926ef26"><code>e542501</code></a> io: document cancel safety of <code>AsyncBufReadExt::fill_buf</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6431">#6431</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/4601c84718aafa9e46fed1c16f31dd500052b368"><code>4601c84</code></a> stream: add <code>next_many</code> and <code>poll_next_many</code> to <code>StreamMap</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6409">#6409</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/deff2524c354d3d3038e1c3813032701946a5c68"><code>deff252</code></a> util: document cancel safety of <code>SinkExt::send</code> and <code>StreamExt::next</code> (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6417">#6417</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/4565b81097e8938761431592c0ad36df3bd20cd2"><code>4565b81</code></a> sync: add a <code>rwlock()</code> method to owned <code>RwLock</code> guards (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6418">#6418</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/3ce4720a4532e40c78f7d851b1cfb8ea26542177"><code>3ce4720</code></a> sync: add <code>is_closed</code>, <code>is_empty</code>, and <code>len</code> to mpsc receivers (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6348">#6348</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/8342e4b524984d5e80168da89760799aa1a2bfba"><code>8342e4b</code></a> util: assert compatibility between <code>LengthDelimitedCodec</code> options (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6414">#6414</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/4c453e9790d1cc5a2fd5c13fc2f63a145a3fd8da"><code>4c453e9</code></a> readme: add description about benchmarks (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6425">#6425</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/1846483f1953f6ac4dd89f434e78ff99eb0c92f9"><code>1846483</code></a> sync: expose strong and weak counts of mpsc sender handles (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6405">#6405</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/baad270b98acbc735f9e8baddc93ae8a18a652ce"><code>baad270</code></a> sync: add Semaphore example for limiting the number of outgoing requests (<a href="https://redirect.github.com/tokio-rs/tokio/issues/6419">#6419</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-1.36.0...tokio-1.37.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=tokio&package-manager=cargo&previous-version=1.36.0&new-version=1.37.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Gil Mizrahi <[email protected]>
- Loading branch information