Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.17
->1.18
Release Notes
tokio-rs/tokio
v1.18.0
Compare Source
1.18.0 (April 27, 2022)
This release adds a number of new APIs in
tokio::net
,tokio::signal
, andtokio::sync
. In addition, it adds new unstable APIs totokio::task
(Id
sfor uniquely identifying a task, and
AbortHandle
for remotely cancelling atask), as well as a number of bugfixes.
Fixed
#[track_caller]
forspawn_blocking
(#4616)select
macro to process 64 branches (#4519)try_io
methods not calling Mio'stry_io
internally (#4582)Added
#[tokio::main]
and#[tokio::test]
(#4613)UdpSocket::peer_addr
(#4611)try_read_buf
method for named pipes (#4626)SignalKind
Hash
/Eq
impls andc_int
conversion (#4540)SIGRTMAX
(#4555)watch::Sender::send_modify
method (#4310)broadcast::Receiver::len
method (#4542)watch::Receiver::same_channel
method (#4581)Clone
forRecvError
types (#4560)Changed
mio
to 0.8.1 (#4582)tokio::select!
's internalutil
module (#4543)Vec::with_capacity
when building runtime (#4553)Documented
tokio_unstable
(#4524)Handle::current
's docs to mentionEnterGuard
(#4567)Signal::recv
is cancel-safe (#4634)UnboundedReceiver
close docs (#4548)Unstable
The following changes only apply when building with
--cfg tokio_unstable
:task::Id
type (#4630)AbortHandle
type for cancelling tasks in aJoinSet
(#4530],[#4640)
doc(cfg(...))
attributes forJoinSet
(#4531)AbortHandle
RustDoc (#4545)Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ 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.
This PR has been generated by WhiteSource Renovate. View repository job log here.