Bump tokio from 1.20.1 to 1.21.2
Bumps tokio from 1.20.1 to 1.21.2.
Release notes
Sourced from tokio's releases.
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)Tokio 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)#4976: tokio-rs/tokio#4976 #5000: tokio-rs/tokio#5000
Tokio 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 thenet
feature.Added
- net: add
device
andbind_device
methods to TCP/UDP sockets (#4882)- net: add
tos
andset_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
andAbortHandle
(#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
... (truncated)
Commits
-
a79b824
chore: prepare Tokio v1.21.2 (#5058) -
3fbf314
Merge 'tokio-1.20.2' into 'tokio-1.21.x' (#5057) -
3d95a46
chore: prepare Tokio v1.20.2 (#5055) -
2063d66
Merge 'tokio-1.18.3' into 'tokio-1.20.x' (#5054) -
5c76d07
chore: prepare Tokio v1.18.3 (#5051) -
05e6614
chore: don't useonce_cell
for 1.18.x LTS release (#5048) -
dea1cd4
chore: prepare Tokio v1.21.1 (#5003) -
e4cbc70
task: ignore failure to set TLS in LocalSet Drop (#4976) -
97e981e
net: fix dependency resolution for socket2 (#5000) -
50795e6
chore: prepare Tokio v1.21.0 (#4967) - Additional commits viewable in compare view
Dependabot commands
You can trigger Dependabot actions by commenting on this MR
-
$dependabot rebase
will rebase this MR -
$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts