[PR #169] [CLOSED] Update tokio requirement from 0.2.22 to 1.0.0 #284

Closed
opened 2026-02-27 20:24:05 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ramsayleung/rspotify/pull/169
Author: @dependabot[bot]
Created: 12/23/2020
Status: Closed

Base: masterHead: dependabot/cargo/tokio-1.0.0


📝 Commits (1)

  • f7f5677 Update tokio requirement from 0.2.22 to 1.0.0

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 Cargo.toml (+1 -1)

📄 Description

Updates the requirements on tokio to permit the latest version.

Release notes

Sourced from tokio's releases.

Tokio v1.0.0

Commit to the API and long-term support.

Announcement and more details.

Fixed

  • sync: spurious wakeup in watch (#3234).

Changed

  • io: rename AsyncFd::with_io() to try_io() (#3306)
  • fs: avoid OS specific *Ext traits in favor of conditionally defining the fn (#3264).
  • fs: Sleep is !Unpin (#3278).
  • net: pass SocketAddr by value (#3125).
  • net: TcpStream::poll_peek takes ReadBuf (#3259).
  • rt: rename runtime::Builder::max_threads() to max_blocking_threads() (#3287).
  • time: require current_thread runtime when calling time::pause() (#3289).

Removed

  • remove tokio::prelude (#3299).
  • io: remove AsyncFd::with_poll() (#3306).
  • net: remove {Tcp,Unix}Stream::shutdown() in favor of AsyncWrite::shutdown() (#3298).
  • stream: move all stream utilities to tokio-stream until Stream is added to std (#3277).
  • sync: mpsc try_recv() due to unexpected behavior (#3263).
  • tracing: make unstable as tracing-core is not 1.0 yet (#3266).

Added

  • fs: poll_* fns to DirEntry (#3308).
  • io: poll_* fns to io::Lines, io::Split (#3308).
  • io: _mut method variants to AsyncFd (#3304).
  • net: poll_* fns to UnixDatagram (#3223).
  • net: UnixStream readiness and non-blocking ops (#3246).
  • sync: UnboundedReceiver::blocking_recv() (#3262).
  • sync: watch::Sender::borrow() (#3269).
  • sync: Semaphore::close() (#3065).
  • sync: poll_recv fns to mpsc::Receiver, mpsc::UnboundedReceiver (#3308).
  • time: poll_tick fn to time::Interval (#3316).
Commits

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 commands and options

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 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)

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ramsayleung/rspotify/pull/169 **Author:** [@dependabot[bot]](https://github.com/apps/dependabot) **Created:** 12/23/2020 **Status:** ❌ Closed **Base:** `master` ← **Head:** `dependabot/cargo/tokio-1.0.0` --- ### 📝 Commits (1) - [`f7f5677`](https://github.com/ramsayleung/rspotify/commit/f7f567774dcaced8963e16079cede2e18b89a322) Update tokio requirement from 0.2.22 to 1.0.0 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `Cargo.toml` (+1 -1) </details> ### 📄 Description Updates the requirements on [tokio](https://github.com/tokio-rs/tokio) to permit the latest version. <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.0.0</h2> <p>Commit to the API and long-term support.</p> <p><a href="https://tokio.rs/blog/2020-12-tokio-1-0">Announcement and more details.</a></p> <h3>Fixed</h3> <ul> <li>sync: spurious wakeup in <code>watch</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3234">#3234</a>).</li> </ul> <h3>Changed</h3> <ul> <li>io: rename <code>AsyncFd::with_io()</code> to <code>try_io()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3306">#3306</a>)</li> <li>fs: avoid OS specific <code>*Ext</code> traits in favor of conditionally defining the fn (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3264">#3264</a>).</li> <li>fs: <code>Sleep</code> is <code>!Unpin</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3278">#3278</a>).</li> <li>net: pass <code>SocketAddr</code> by value (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3125">#3125</a>).</li> <li>net: <code>TcpStream::poll_peek</code> takes <code>ReadBuf</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3259">#3259</a>).</li> <li>rt: rename <code>runtime::Builder::max_threads()</code> to <code>max_blocking_threads()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3287">#3287</a>).</li> <li>time: require <code>current_thread</code> runtime when calling <code>time::pause()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3289">#3289</a>).</li> </ul> <h3>Removed</h3> <ul> <li>remove <code>tokio::prelude</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3299">#3299</a>).</li> <li>io: remove <code>AsyncFd::with_poll()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3306">#3306</a>).</li> <li>net: remove <code>{Tcp,Unix}Stream::shutdown()</code> in favor of <code>AsyncWrite::shutdown()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3298">#3298</a>).</li> <li>stream: move all stream utilities to <code>tokio-stream</code> until <code>Stream</code> is added to <code>std</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3277">#3277</a>).</li> <li>sync: mpsc <code>try_recv()</code> due to unexpected behavior (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3263">#3263</a>).</li> <li>tracing: make unstable as <code>tracing-core</code> is not 1.0 yet (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3266">#3266</a>).</li> </ul> <h3>Added</h3> <ul> <li>fs: <code>poll_*</code> fns to <code>DirEntry</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3308">#3308</a>).</li> <li>io: <code>poll_*</code> fns to <code>io::Lines</code>, <code>io::Split</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3308">#3308</a>).</li> <li>io: <code>_mut</code> method variants to <code>AsyncFd</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3304">#3304</a>).</li> <li>net: <code>poll_*</code> fns to <code>UnixDatagram</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3223">#3223</a>).</li> <li>net: <code>UnixStream</code> readiness and non-blocking ops (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3246">#3246</a>).</li> <li>sync: <code>UnboundedReceiver::blocking_recv()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3262">#3262</a>).</li> <li>sync: <code>watch::Sender::borrow()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3269">#3269</a>).</li> <li>sync: <code>Semaphore::close()</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3065">#3065</a>).</li> <li>sync: <code>poll_recv</code> fns to <code>mpsc::Receiver</code>, <code>mpsc::UnboundedReceiver</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3308">#3308</a>).</li> <li>time: <code>poll_tick</code> fn to <code>time::Interval</code> (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3316">#3316</a>).</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/tokio-rs/tokio/commit/a66017f04985f5e7b7cb981e370e78a7291a5537"><code>a66017f</code></a> chore: prepare Tokio 1.0 release (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3319">#3319</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/aa6597ba66b10fa9175ccd7b3c0335f4a49b91c5"><code>aa6597b</code></a> compat: update traits naming to match tokio 1.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3324">#3324</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/ce0e9c67cfe61c7a91a284331ecc53fa01c32879"><code>ce0e9c6</code></a> chore: Revert &quot;use #[non_exhaustive] instead of private unit field&quot; (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3323">#3323</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/575938d4579e6fe6a89b700aadb0ae2bbab5483b"><code>575938d</code></a> chore: use #[non_exhaustive] instead of private unit field (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3320">#3320</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/0deaeb84948f253b76b7fe64d7fe9d4527cd4275"><code>0deaeb8</code></a> chore: remove unused <code>slab</code> dependency (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3318">#3318</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/a8dda19da4e94acd45f34b5eb359b4cffafa833f"><code>a8dda19</code></a> chore: update to released <code>bytes</code> 1.0 (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3317">#3317</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/be9fdb697dd62e00ad3a9e492778c1b5af7cbf0b"><code>be9fdb6</code></a> time: make Interval::poll_tick() public (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3316">#3316</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/2ee9520d10c1089230fc66eaa81f0574038faa82"><code>2ee9520</code></a> fs: misc small API tweaks (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3315">#3315</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/7d28e4cdbb63b0ad19e66d1b077690cbebf71353"><code>7d28e4c</code></a> examples: add futures executor threadpool (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3198">#3198</a>)</li> <li><a href="https://github.com/tokio-rs/tokio/commit/0b83b3b8cc61e9d911abec00c33ec3762b2a6437"><code>0b83b3b</code></a> fs,sync: expose poll_ fns on misc types (<a href="https://github-redirect.dependabot.com/tokio-rs/tokio/issues/3308">#3308</a>)</li> <li>Additional commits viewable in <a href="https://github.com/tokio-rs/tokio/compare/tokio-0.2.22...tokio-1.0.0">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 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> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 20:24:05 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/rspotify#284
No description provided.