fix(deps): update rust crate tokio to 1.18 #26
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.14->1.18Release Notes
tokio-rs/tokio
v1.18.2Compare Source
1.18.2 (May 5, 2022)
Add missing features for the
winapidependency. (#4663)v1.18.1Compare Source
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.0Compare 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(Idsfor uniquely identifying a task, and
AbortHandlefor remotely cancelling atask), as well as a number of bugfixes.
Fixed
#[track_caller]forspawn_blocking(#4616)selectmacro to process 64 branches (#4519)try_iomethods not calling Mio'stry_iointernally (#4582)Added
#[tokio::main]and#[tokio::test](#4613)UdpSocket::peer_addr(#4611)try_read_bufmethod for named pipes (#4626)SignalKindHash/Eqimpls andc_intconversion (#4540)SIGRTMAX(#4555)watch::Sender::send_modifymethod (#4310)broadcast::Receiver::lenmethod (#4542)watch::Receiver::same_channelmethod (#4581)CloneforRecvErrortypes (#4560)Changed
mioto 0.8.1 (#4582)tokio::select!'s internalutilmodule (#4543)Vec::with_capacitywhen building runtime (#4553)Documented
tokio_unstable(#4524)Handle::current's docs to mentionEnterGuard(#4567)Signal::recvis cancel-safe (#4634)UnboundedReceiverclose docs (#4548)Unstable
The following changes only apply when building with
--cfg tokio_unstable:task::Idtype (#4630)AbortHandletype for cancelling tasks in aJoinSet(#4530],[#4640)
doc(cfg(...))attributes forJoinSet(#4531)AbortHandleRustDoc (#4545)v1.17.0Compare Source
1.17.0 (February 15, 2022)
This release updates the minimum supported Rust version (MSRV) to 1.49,
the
miodependency to v0.8, and the (optional)parking_lotdependency to v0.12. Additionally, it contains several bug fixes, as
well as internal refactoring and performance improvements.
Fixed
sleepwith large durations (#4495)Instantarithmetic on platformswhere
Instant::nowis not monotonic (#4461)DuplexStreamnot participating in cooperative yielding(#4478)
JoinHandle(#4430)Changed
parking_lotdependency to v0.12.0 (#4459)miodependency to v0.8 (#4449)(#4480)
std::future::Readyinstead of our ownReadyfuture(#4271)
atomic::spin_loop_hintwithhint::spin_loop(#4491)
Documented
tokio::process::ChildStdin(#4479)Unstable
The following changes only apply when building with
--cfg tokio_unstable:tracingspans generated byspawn_local(#4483)JoinSetfor managing sets of tasks (#4335)v1.16.1Compare Source
1.16.1 (January 28, 2022)
This release fixes a bug in #4428 with the change #4437.
v1.16.0Compare Source
Fixes a soundness bug in
io::Take(#4428). The unsoundness is exposed whenleaking memory in the given
AsyncReadimplementation and then overwriting thesupplied buffer:
Also, this release includes improvements to the multi-threaded scheduler that
can increase throughput by up to 20% in some cases (#4383).
Fixed
io::Takein edge case (#4428)File::writeresults in awritesyscall when the runtime shuts down (#4316)wait_with_output(#4315)Sendfromparking_lot::*Guard(#4359)Added
TcpSocket::linger()andset_linger()(#4324)UnwindSafefor socket types (#4384)UnwindSafeforJoinHandle(#4418)watch::Receiver::has_changed()(#4342)oneshot::Receiver::blocking_recv()(#4334)RwLockblocking operations (#4425)Unstable
The following changes only apply when building with
--cfg tokio_unstablev1.15.0Compare Source
Fixed
io::empty()(#4300)Changed
Added
Interval::reset()(#4248)AsyncFdReadyGuard(#4267)Command::as_std()(#4295)Added (unstable)
tokio::synctypes (#4302)v1.14.1Compare Source
This release backports a bug fix from 1.16.1
Fixes a soundness bug in
io::Take(#4428). The unsoundness is exposed whenleaking memory in the given
AsyncReadimplementation and then overwriting thesupplied buffer:
Fixed
io::Takein edge case (#4428)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.