Update Rust crate tokio to 1.21.2 - autoclosed #6

Closed
kjuulh wants to merge 1 commits from renovate/tokio-1.x into main
Owner

This PR contains the following updates:

Package Type Update Change
tokio (source) dependencies minor 1.17.0 -> 1.21.2

Release Notes

tokio-rs/tokio

v1.21.2

1.21.2 (September 27, 2022)

This release removes the dependency on the once_cell crate to restore the MSRV of 1.21.x, which is the latest minor version at the time of release. (#​5048)

v1.21.1

1.21.1 (September 13, 2022)
Fixed
  • net: fix dependency resolution for socket2 (#​5000)
  • task: ignore failure to set TLS in LocalSet Drop (#​4976)

v1.21.0

1.21.0 (September 2, 2022)

This release is the first release of Tokio to intentionally support WASM. The sync,macros,io-util,rt,time features are stabilized on WASM. Additionally the wasm32-wasi target is given unstable support for the net feature.

Added
  • net: add device and bind_device methods to TCP/UDP sockets (#​4882)
  • net: add tos and set_tos methods to TCP and UDP sockets (#​4877)
  • net: add security flags to named pipe ServerOptions (#​4845)
  • signal: add more windows signal handlers (#​4924)
  • sync: add mpsc::Sender::max_capacity method (#​4904)
  • sync: implement Weak version of mpsc::Sender (#​4595)
  • task: add LocalSet::enter (#​4765)
  • task: stabilize JoinSet and AbortHandle (#​4920)
  • tokio: add track_caller to public APIs (#​4805, #​4848, #​4852)
  • wasm: initial support for wasm32-wasi target (#​4716)
Fixed
  • miri: improve miri compatibility by avoiding temporary references in linked_list::Link impls (#​4841)
  • signal: don't register write interest on signal pipe (#​4898)
  • sync: add #[must_use] to lock guards (#​4886)
  • sync: fix hang when calling recv on closed and reopened broadcast channel (#​4867)
  • task: propagate attributes on task-locals (#​4837)
Changed
  • fs: change panic to error in File::start_seek (#​4897)
  • io: reduce syscalls in poll_read (#​4840)
  • process: use blocking threadpool for child stdio I/O (#​4824)
  • signal: make SignalKind methods const (#​4956)
Internal changes
  • rt: extract basic_scheduler::Config (#​4935)
  • rt: move I/O driver into runtime module (#​4942)
  • rt: rename internal scheduler types (#​4945)
Documented
  • chore: fix typos and grammar (#​4858, #​4894, #​4928)
  • io: fix typo in AsyncSeekExt::rewind docs (#​4893)
  • net: add documentation to try_read() for zero-length buffers (#​4937)
  • runtime: remove incorrect panic section for Builder::worker_threads (#​4849)
  • sync: doc of watch::Sender::send improved (#​4959)
  • task: add cancel safety docs to JoinHandle (#​4901)
  • task: expand on cancellation of spawn_blocking (#​4811)
  • time: clarify that the first tick of Interval::tick happens immediately (#​4951)
Unstable
  • rt: add unstable option to disable the LIFO slot (#​4936)
  • task: fix incorrect signature in Builder::spawn_on (#​4953)
  • task: make task::Builder::spawn* methods fallible (#​4823)

v1.20.2

1.20.2 (September 27, 2022)

This release removes the dependency on the once_cell crate to restore the MSRV of the 1.20.x LTS release. (#​5048)

v1.20.1

1.20.1 (July 25, 2022)
Fixed
  • chore: fix version detection in build script (#​4860)

v1.20.0

1.20.0 (July 12, 2022)
Added
Changed
  • time: remove src/time/driver/wheel/stack.rs (#​4766)
  • rt: clean up arguments passed to basic scheduler (#​4767)
  • net: be more specific about winapi features (#​4764)
  • tokio: use const initialized thread locals where possible (#​4677)
  • task: various small improvements to LocalKey (#​4795)
Fixed
Documented
  • fs: warn about performance pitfall (#​4762)
  • chore: fix spelling (#​4769)
  • sync: document spurious failures in oneshot (#​4777)
  • sync: add warning for watch in non-Send futures (#​4741)
  • chore: fix typo (#​4798)
Unstable
  • joinset: rename join_one to join_next (#​4755)
  • rt: unhandled panic config for current thread rt (#​4770)

v1.19.2

1.19.2 (June 6, 2022)

This release fixes another bug in Notified::enable. (#​4751)

v1.19.1

1.19.1 (June 5, 2022)

This release fixes a bug in Notified::enable. (#​4747)

v1.19.0

1.19.0 (June 3, 2022)
Added
  • runtime: add is_finished method for JoinHandle and AbortHandle (#​4709)
  • runtime: make global queue and event polling intervals configurable (#​4671)
  • sync: add Notified::enable (#​4705)
  • sync: add watch::Sender::send_if_modified (#​4591)
  • sync: add resubscribe method to broadcast::Receiver (#​4607)
  • net: add take_error to TcpSocket and TcpStream (#​4739)
Changed
  • io: refactor out usage of Weak in the io handle (#​4656)
Fixed
  • macros: avoid starvation in join! and try_join! (#​4624)
Documented
  • runtime: clarify semantics of tasks outliving block_on (#​4729)
  • time: fix example for MissedTickBehavior::Burst (#​4713)
Unstable
  • metrics: correctly update atomics in IoDriverMetrics (#​4725)
  • metrics: fix compilation with unstable, process, and rt, but without net (#​4682)
  • task: add #[track_caller] to JoinSet/JoinMap (#​4697)
  • task: add Builder::{spawn_on, spawn_local_on, spawn_blocking_on} (#​4683)
  • task: add consume_budget for cooperative scheduling (#​4498)
  • task: add join_set::Builder for configuring JoinSet tasks (#​4687)
  • task: update return value of JoinSet::join_one (#​4726)

v1.18.3

1.18.3 (September 27, 2022)

This release removes the dependency on the once_cell crate to restore the MSRV of the 1.18.x LTS release. (#​5048)

v1.18.2

1.18.2 (May 5, 2022)

Add missing features for the winapi dependency. (#​4663)

v1.18.1

1.18.1 (May 2, 2022)

The 1.18.0 release broke the build for targets without 64-bit atomics when building with tokio_unstable. This release fixes that. (#​4649)

v1.18.0

Compare Source

1.18.0 (April 27, 2022)

This release adds a number of new APIs in tokio::net, tokio::signal, and
tokio::sync. In addition, it adds new unstable APIs to tokio::task (Ids
for uniquely identifying a task, and AbortHandle for remotely cancelling a
task), as well as a number of bugfixes.

Fixed
  • blocking: add missing #[track_caller] for spawn_blocking (#​4616)
  • macros: fix select macro to process 64 branches (#​4519)
  • net: fix try_io methods not calling Mio's try_io internally (#​4582)
  • runtime: recover when OS fails to spawn a new thread (#​4485)
Added
  • net: add UdpSocket::peer_addr (#​4611)
  • net: add try_read_buf method for named pipes (#​4626)
  • signal: add SignalKind Hash/Eq impls and c_int conversion (#​4540)
  • signal: add support for signals up to SIGRTMAX (#​4555)
  • sync: add watch::Sender::send_modify method (#​4310)
  • sync: add broadcast::Receiver::len method (#​4542)
  • sync: add watch::Receiver::same_channel method (#​4581)
  • sync: implement Clone for RecvError types (#​4560)
Changed
  • update mio to 0.8.1 (#​4582)
  • macros: rename tokio::select!'s internal util module (#​4543)
  • runtime: use Vec::with_capacity when building runtime (#​4553)
Documented
  • improve docs for tokio_unstable (#​4524)
  • runtime: include more documentation for thread_pool/worker (#​4511)
  • runtime: update Handle::current's docs to mention EnterGuard (#​4567)
  • time: clarify platform specific timer resolution (#​4474)
  • signal: document that Signal::recv is cancel-safe (#​4634)
  • sync: UnboundedReceiver close docs (#​4548)
Unstable

The following changes only apply when building with --cfg tokio_unstable:

  • task: add task::Id type (#​4630)
  • task: add AbortHandle type for cancelling tasks in a JoinSet (#​4530],
    [#​4640](https://github.com/tokio-rs/tokio/issues/4640))
    
  • task: fix missing doc(cfg(...)) attributes for JoinSet (#​4531)
  • task: fix broken link in AbortHandle RustDoc (#​4545)
  • metrics: add initial IO driver metrics (#​4507)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dependencies | minor | `1.17.0` -> `1.21.2` | --- ### Release Notes <details> <summary>tokio-rs/tokio</summary> ### [`v1.21.2`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.21.2) ##### 1.21.2 (September 27, 2022) This release removes the dependency on the `once_cell` crate to restore the MSRV of 1.21.x, which is the latest minor version at the time of release. ([#&#8203;5048]) [#&#8203;5048]: https://github.com/tokio-rs/tokio/pull/5048 ### [`v1.21.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.21.1) ##### 1.21.1 (September 13, 2022) ##### Fixed - net: fix dependency resolution for socket2 ([#&#8203;5000]) - task: ignore failure to set TLS in `LocalSet` Drop ([#&#8203;4976]) [#&#8203;4976]: https://github.com/tokio-rs/tokio/pull/4976 [#&#8203;5000]: https://github.com/tokio-rs/tokio/pull/5000 ### [`v1.21.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.21.0) ##### 1.21.0 (September 2, 2022) This release is the first release of Tokio to intentionally support WASM. The `sync,macros,io-util,rt,time` features are stabilized on WASM. Additionally the wasm32-wasi target is given unstable support for the `net` feature. ##### Added - net: add `device` and `bind_device` methods to TCP/UDP sockets ([#&#8203;4882]) - net: add `tos` and `set_tos` methods to TCP and UDP sockets ([#&#8203;4877]) - net: add security flags to named pipe `ServerOptions` ([#&#8203;4845]) - signal: add more windows signal handlers ([#&#8203;4924]) - sync: add `mpsc::Sender::max_capacity` method ([#&#8203;4904]) - sync: implement Weak version of `mpsc::Sender` ([#&#8203;4595]) - task: add `LocalSet::enter` ([#&#8203;4765]) - task: stabilize `JoinSet` and `AbortHandle` ([#&#8203;4920]) - tokio: add `track_caller` to public APIs ([#&#8203;4805], [#&#8203;4848], [#&#8203;4852]) - wasm: initial support for `wasm32-wasi` target ([#&#8203;4716]) ##### Fixed - miri: improve miri compatibility by avoiding temporary references in `linked_list::Link` impls ([#&#8203;4841]) - signal: don't register write interest on signal pipe ([#&#8203;4898]) - sync: add `#[must_use]` to lock guards ([#&#8203;4886]) - sync: fix hang when calling `recv` on closed and reopened broadcast channel ([#&#8203;4867]) - task: propagate attributes on task-locals ([#&#8203;4837]) ##### Changed - fs: change panic to error in `File::start_seek` ([#&#8203;4897]) - io: reduce syscalls in `poll_read` ([#&#8203;4840]) - process: use blocking threadpool for child stdio I/O ([#&#8203;4824]) - signal: make `SignalKind` methods const ([#&#8203;4956]) ##### Internal changes - rt: extract `basic_scheduler::Config` ([#&#8203;4935]) - rt: move I/O driver into `runtime` module ([#&#8203;4942]) - rt: rename internal scheduler types ([#&#8203;4945]) ##### Documented - chore: fix typos and grammar ([#&#8203;4858], [#&#8203;4894], [#&#8203;4928]) - io: fix typo in `AsyncSeekExt::rewind` docs ([#&#8203;4893]) - net: add documentation to `try_read()` for zero-length buffers ([#&#8203;4937]) - runtime: remove incorrect panic section for `Builder::worker_threads` ([#&#8203;4849]) - sync: doc of `watch::Sender::send` improved ([#&#8203;4959]) - task: add cancel safety docs to `JoinHandle` ([#&#8203;4901]) - task: expand on cancellation of `spawn_blocking` ([#&#8203;4811]) - time: clarify that the first tick of `Interval::tick` happens immediately ([#&#8203;4951]) ##### Unstable - rt: add unstable option to disable the LIFO slot ([#&#8203;4936]) - task: fix incorrect signature in `Builder::spawn_on` ([#&#8203;4953]) - task: make `task::Builder::spawn*` methods fallible ([#&#8203;4823]) [#&#8203;4595]: https://github.com/tokio-rs/tokio/pull/4595 [#&#8203;4716]: https://github.com/tokio-rs/tokio/pull/4716 [#&#8203;4765]: https://github.com/tokio-rs/tokio/pull/4765 [#&#8203;4805]: https://github.com/tokio-rs/tokio/pull/4805 [#&#8203;4811]: https://github.com/tokio-rs/tokio/pull/4811 [#&#8203;4823]: https://github.com/tokio-rs/tokio/pull/4823 [#&#8203;4824]: https://github.com/tokio-rs/tokio/pull/4824 [#&#8203;4837]: https://github.com/tokio-rs/tokio/pull/4837 [#&#8203;4840]: https://github.com/tokio-rs/tokio/pull/4840 [#&#8203;4841]: https://github.com/tokio-rs/tokio/pull/4841 [#&#8203;4845]: https://github.com/tokio-rs/tokio/pull/4845 [#&#8203;4848]: https://github.com/tokio-rs/tokio/pull/4848 [#&#8203;4849]: https://github.com/tokio-rs/tokio/pull/4849 [#&#8203;4852]: https://github.com/tokio-rs/tokio/pull/4852 [#&#8203;4858]: https://github.com/tokio-rs/tokio/pull/4858 [#&#8203;4867]: https://github.com/tokio-rs/tokio/pull/4867 [#&#8203;4877]: https://github.com/tokio-rs/tokio/pull/4877 [#&#8203;4882]: https://github.com/tokio-rs/tokio/pull/4882 [#&#8203;4886]: https://github.com/tokio-rs/tokio/pull/4886 [#&#8203;4893]: https://github.com/tokio-rs/tokio/pull/4893 [#&#8203;4894]: https://github.com/tokio-rs/tokio/pull/4894 [#&#8203;4897]: https://github.com/tokio-rs/tokio/pull/4897 [#&#8203;4898]: https://github.com/tokio-rs/tokio/pull/4898 [#&#8203;4901]: https://github.com/tokio-rs/tokio/pull/4901 [#&#8203;4904]: https://github.com/tokio-rs/tokio/pull/4904 [#&#8203;4920]: https://github.com/tokio-rs/tokio/pull/4920 [#&#8203;4924]: https://github.com/tokio-rs/tokio/pull/4924 [#&#8203;4928]: https://github.com/tokio-rs/tokio/pull/4928 [#&#8203;4935]: https://github.com/tokio-rs/tokio/pull/4935 [#&#8203;4936]: https://github.com/tokio-rs/tokio/pull/4936 [#&#8203;4937]: https://github.com/tokio-rs/tokio/pull/4937 [#&#8203;4942]: https://github.com/tokio-rs/tokio/pull/4942 [#&#8203;4945]: https://github.com/tokio-rs/tokio/pull/4945 [#&#8203;4951]: https://github.com/tokio-rs/tokio/pull/4951 [#&#8203;4953]: https://github.com/tokio-rs/tokio/pull/4953 [#&#8203;4956]: https://github.com/tokio-rs/tokio/pull/4956 [#&#8203;4959]: https://github.com/tokio-rs/tokio/pull/4959 ### [`v1.20.2`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.20.2) ##### 1.20.2 (September 27, 2022) This release removes the dependency on the `once_cell` crate to restore the MSRV of the 1.20.x LTS release. ([#&#8203;5048]) [#&#8203;5048]: https://github.com/tokio-rs/tokio/pull/5048 ### [`v1.20.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.20.1) ##### 1.20.1 (July 25, 2022) ##### Fixed - chore: fix version detection in build script ([#&#8203;4860]) [#&#8203;4860]: https://github.com/tokio-rs/tokio/pull/4860 ### [`v1.20.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.20.0) ##### 1.20.0 (July 12, 2022) ##### Added - tokio: add track_caller to public APIs ([#&#8203;4772], [#&#8203;4791], [#&#8203;4793], [#&#8203;4806], [#&#8203;4808]) - sync: Add `has_changed` method to `watch::Ref` ([#&#8203;4758]) ##### Changed - time: remove `src/time/driver/wheel/stack.rs` ([#&#8203;4766]) - rt: clean up arguments passed to basic scheduler ([#&#8203;4767]) - net: be more specific about winapi features ([#&#8203;4764]) - tokio: use const initialized thread locals where possible ([#&#8203;4677]) - task: various small improvements to LocalKey ([#&#8203;4795]) ##### Fixed ##### Documented - fs: warn about performance pitfall ([#&#8203;4762]) - chore: fix spelling ([#&#8203;4769]) - sync: document spurious failures in oneshot ([#&#8203;4777]) - sync: add warning for watch in non-Send futures ([#&#8203;4741]) - chore: fix typo ([#&#8203;4798]) ##### Unstable - joinset: rename `join_one` to `join_next` ([#&#8203;4755]) - rt: unhandled panic config for current thread rt ([#&#8203;4770]) [#&#8203;4677]: https://github.com/tokio-rs/tokio/pull/4677 [#&#8203;4741]: https://github.com/tokio-rs/tokio/pull/4741 [#&#8203;4755]: https://github.com/tokio-rs/tokio/pull/4755 [#&#8203;4758]: https://github.com/tokio-rs/tokio/pull/4758 [#&#8203;4762]: https://github.com/tokio-rs/tokio/pull/4762 [#&#8203;4764]: https://github.com/tokio-rs/tokio/pull/4764 [#&#8203;4766]: https://github.com/tokio-rs/tokio/pull/4766 [#&#8203;4767]: https://github.com/tokio-rs/tokio/pull/4767 [#&#8203;4769]: https://github.com/tokio-rs/tokio/pull/4769 [#&#8203;4770]: https://github.com/tokio-rs/tokio/pull/4770 [#&#8203;4772]: https://github.com/tokio-rs/tokio/pull/4772 [#&#8203;4777]: https://github.com/tokio-rs/tokio/pull/4777 [#&#8203;4791]: https://github.com/tokio-rs/tokio/pull/4791 [#&#8203;4793]: https://github.com/tokio-rs/tokio/pull/4793 [#&#8203;4795]: https://github.com/tokio-rs/tokio/pull/4795 [#&#8203;4798]: https://github.com/tokio-rs/tokio/pull/4798 [#&#8203;4806]: https://github.com/tokio-rs/tokio/pull/4806 [#&#8203;4808]: https://github.com/tokio-rs/tokio/pull/4808 ### [`v1.19.2`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.19.2) ##### 1.19.2 (June 6, 2022) This release fixes another bug in `Notified::enable`. ([#&#8203;4751]) [#&#8203;4751]: https://github.com/tokio-rs/tokio/pull/4751 ### [`v1.19.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.19.1) ##### 1.19.1 (June 5, 2022) This release fixes a bug in `Notified::enable`. ([#&#8203;4747]) [#&#8203;4747]: https://github.com/tokio-rs/tokio/pull/4747 ### [`v1.19.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.19.0) ##### 1.19.0 (June 3, 2022) ##### Added - runtime: add `is_finished` method for `JoinHandle` and `AbortHandle` ([#&#8203;4709]) - runtime: make global queue and event polling intervals configurable ([#&#8203;4671]) - sync: add `Notified::enable` ([#&#8203;4705]) - sync: add `watch::Sender::send_if_modified` ([#&#8203;4591]) - sync: add resubscribe method to broadcast::Receiver ([#&#8203;4607]) - net: add `take_error` to `TcpSocket` and `TcpStream` ([#&#8203;4739]) ##### Changed - io: refactor out usage of Weak in the io handle ([#&#8203;4656]) ##### Fixed - macros: avoid starvation in `join!` and `try_join!` ([#&#8203;4624]) ##### Documented - runtime: clarify semantics of tasks outliving `block_on` ([#&#8203;4729]) - time: fix example for `MissedTickBehavior::Burst` ([#&#8203;4713]) ##### Unstable - metrics: correctly update atomics in `IoDriverMetrics` ([#&#8203;4725]) - metrics: fix compilation with unstable, process, and rt, but without net ([#&#8203;4682]) - task: add `#[track_caller]` to `JoinSet`/`JoinMap` ([#&#8203;4697]) - task: add `Builder::{spawn_on, spawn_local_on, spawn_blocking_on}` ([#&#8203;4683]) - task: add `consume_budget` for cooperative scheduling ([#&#8203;4498]) - task: add `join_set::Builder` for configuring `JoinSet` tasks ([#&#8203;4687]) - task: update return value of `JoinSet::join_one` ([#&#8203;4726]) [#&#8203;4498]: https://github.com/tokio-rs/tokio/pull/4498 [#&#8203;4591]: https://github.com/tokio-rs/tokio/pull/4591 [#&#8203;4607]: https://github.com/tokio-rs/tokio/pull/4607 [#&#8203;4624]: https://github.com/tokio-rs/tokio/pull/4624 [#&#8203;4656]: https://github.com/tokio-rs/tokio/pull/4656 [#&#8203;4671]: https://github.com/tokio-rs/tokio/pull/4671 [#&#8203;4682]: https://github.com/tokio-rs/tokio/pull/4682 [#&#8203;4683]: https://github.com/tokio-rs/tokio/pull/4683 [#&#8203;4687]: https://github.com/tokio-rs/tokio/pull/4687 [#&#8203;4697]: https://github.com/tokio-rs/tokio/pull/4697 [#&#8203;4705]: https://github.com/tokio-rs/tokio/pull/4705 [#&#8203;4709]: https://github.com/tokio-rs/tokio/pull/4709 [#&#8203;4713]: https://github.com/tokio-rs/tokio/pull/4713 [#&#8203;4725]: https://github.com/tokio-rs/tokio/pull/4725 [#&#8203;4726]: https://github.com/tokio-rs/tokio/pull/4726 [#&#8203;4729]: https://github.com/tokio-rs/tokio/pull/4729 [#&#8203;4739]: https://github.com/tokio-rs/tokio/pull/4739 ### [`v1.18.3`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.18.3) ##### 1.18.3 (September 27, 2022) This release removes the dependency on the `once_cell` crate to restore the MSRV of the 1.18.x LTS release. ([#&#8203;5048]) [#&#8203;5048]: https://github.com/tokio-rs/tokio/pull/5048 ### [`v1.18.2`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.18.2) ##### 1.18.2 (May 5, 2022) Add missing features for the `winapi` dependency. ([#&#8203;4663]) [#&#8203;4663]: https://github.com/tokio-rs/tokio/pull/4663 ### [`v1.18.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.18.1) ##### 1.18.1 (May 2, 2022) The 1.18.0 release broke the build for targets without 64-bit atomics when building with `tokio_unstable`. This release fixes that. ([#&#8203;4649]) [#&#8203;4649]: https://github.com/tokio-rs/tokio/pull/4649 ### [`v1.18.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.18.0) [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.17.0...tokio-1.18.0) ##### 1.18.0 (April 27, 2022) This release adds a number of new APIs in `tokio::net`, `tokio::signal`, and `tokio::sync`. In addition, it adds new unstable APIs to `tokio::task` (`Id`s for uniquely identifying a task, and `AbortHandle` for remotely cancelling a task), as well as a number of bugfixes. ##### Fixed - blocking: add missing `#[track_caller]` for `spawn_blocking` ([#&#8203;4616](https://github.com/tokio-rs/tokio/issues/4616)) - macros: fix `select` macro to process 64 branches ([#&#8203;4519](https://github.com/tokio-rs/tokio/issues/4519)) - net: fix `try_io` methods not calling Mio's `try_io` internally ([#&#8203;4582](https://github.com/tokio-rs/tokio/issues/4582)) - runtime: recover when OS fails to spawn a new thread ([#&#8203;4485](https://github.com/tokio-rs/tokio/issues/4485)) ##### Added - net: add `UdpSocket::peer_addr` ([#&#8203;4611](https://github.com/tokio-rs/tokio/issues/4611)) - net: add `try_read_buf` method for named pipes ([#&#8203;4626](https://github.com/tokio-rs/tokio/issues/4626)) - signal: add `SignalKind` `Hash`/`Eq` impls and `c_int` conversion ([#&#8203;4540](https://github.com/tokio-rs/tokio/issues/4540)) - signal: add support for signals up to `SIGRTMAX` ([#&#8203;4555](https://github.com/tokio-rs/tokio/issues/4555)) - sync: add `watch::Sender::send_modify` method ([#&#8203;4310](https://github.com/tokio-rs/tokio/issues/4310)) - sync: add `broadcast::Receiver::len` method ([#&#8203;4542](https://github.com/tokio-rs/tokio/issues/4542)) - sync: add `watch::Receiver::same_channel` method ([#&#8203;4581](https://github.com/tokio-rs/tokio/issues/4581)) - sync: implement `Clone` for `RecvError` types ([#&#8203;4560](https://github.com/tokio-rs/tokio/issues/4560)) ##### Changed - update `mio` to 0.8.1 ([#&#8203;4582](https://github.com/tokio-rs/tokio/issues/4582)) - macros: rename `tokio::select!`'s internal `util` module ([#&#8203;4543](https://github.com/tokio-rs/tokio/issues/4543)) - runtime: use `Vec::with_capacity` when building runtime ([#&#8203;4553](https://github.com/tokio-rs/tokio/issues/4553)) ##### Documented - improve docs for `tokio_unstable` ([#&#8203;4524](https://github.com/tokio-rs/tokio/issues/4524)) - runtime: include more documentation for thread_pool/worker ([#&#8203;4511](https://github.com/tokio-rs/tokio/issues/4511)) - runtime: update `Handle::current`'s docs to mention `EnterGuard` ([#&#8203;4567](https://github.com/tokio-rs/tokio/issues/4567)) - time: clarify platform specific timer resolution ([#&#8203;4474](https://github.com/tokio-rs/tokio/issues/4474)) - signal: document that `Signal::recv` is cancel-safe ([#&#8203;4634](https://github.com/tokio-rs/tokio/issues/4634)) - sync: `UnboundedReceiver` close docs ([#&#8203;4548](https://github.com/tokio-rs/tokio/issues/4548)) ##### Unstable The following changes only apply when building with `--cfg tokio_unstable`: - task: add `task::Id` type ([#&#8203;4630](https://github.com/tokio-rs/tokio/issues/4630)) - task: add `AbortHandle` type for cancelling tasks in a `JoinSet` ([#&#8203;4530](https://github.com/tokio-rs/tokio/issues/4530)], \[[#&#8203;4640](https://github.com/tokio-rs/tokio/issues/4640)) - task: fix missing `doc(cfg(...))` attributes for `JoinSet` ([#&#8203;4531](https://github.com/tokio-rs/tokio/issues/4531)) - task: fix broken link in `AbortHandle` RustDoc ([#&#8203;4545](https://github.com/tokio-rs/tokio/issues/4545)) - metrics: add initial IO driver metrics ([#&#8203;4507](https://github.com/tokio-rs/tokio/issues/4507)) </details> --- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox. --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
kjuulh added 1 commit 2022-10-26 09:20:34 +02:00
kjuulh changed title from Update Rust crate tokio to 1.21.2 to Update Rust crate tokio to 1.21.2 - autoclosed 2022-10-26 20:25:26 +02:00
kjuulh closed this pull request 2022-10-26 20:25:26 +02:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
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: kjuulh/twatch#6
No description provided.