Bump tokio from 1.20.1 to 1.23.0
Loading
Bumps tokio from 1.20.1 to 1.23.0.
Sourced from tokio's releases.
Tokio v1.23.0
Fixed
- net: fix Windows named pipe connect (#5208)
- io: support vectored writes for
ChildStdin
(#5216)- io: fix
async fn ready()
false positive for OS-specific events (#5231)Changed
- runtime:
yield_now
defers task until after driver poll (#5223)- runtime: reduce amount of codegen needed per spawned task (#5213)
- windows: replace
winapi
dependency withwindows-sys
(#5204)#5208: tokio-rs/tokio#5208 #5216: tokio-rs/tokio#5216 #5213: tokio-rs/tokio#5213 #5204: tokio-rs/tokio#5204 #5223: tokio-rs/tokio#5223 #5231: tokio-rs/tokio#5231
Tokio v1.22.0
Added
- runtime: add
Handle::runtime_flavor
(#5138)- sync: add
Mutex::blocking_lock_owned
(#5130)- sync: add
Semaphore::MAX_PERMITS
(#5144)- sync: add
merge()
to semaphore permits (#4948)- sync: add
mpsc::WeakUnboundedSender
(#5189)Added (unstable)
- process: add
Command::process_group
(#5114)- runtime: export metrics about the blocking thread pool (#5161)
- task: add
task::id()
andtask::try_id()
(#5171)Fixed
- macros: don't take ownership of futures in macros (#5087)
- runtime: fix Stacked Borrows violation in
LocalOwnedTasks
(#5099)- runtime: mitigate ABA with 32-bit queue indices when possible (#5042)
- task: wake local tasks to the local queue when woken by the same thread (#5095)
- time: panic in release mode when
mark_pending
called illegally (#5093)- runtime: fix typo in expect message (#5169)
- runtime: fix
unsync_load
on atomic types (#5175)- task: elaborate safety comments in task deallocation (#5172)
- runtime: fix
LocalSet
drop in thread local (#5179)- net: remove libc type leakage in a public API (#5191)
- runtime: update the alignment of
CachePadded
(#5106)Changed
... (truncated)
3ce5a26
chore: prepare Tokio v1.23 release (#5270)644cb82
rt: fix *_closed
false positives (#5231)a1316cd
io: impl std::io::BufRead
on SyncIoBridge\<T>
(#5265)86ffabe
docs: add note about current-thread + Handle::block_on (#5264)00bf5ee
sync: improve watch docs (#5261)8751010
Fix typo (#5255)2be71ad
chore: move conditional AtomicU64 impl to new file (#5256)d1b789f
rt: fix new yield_now behavior with block_in_place (#5251)2286273
rt: yield_now defers task until after driver poll (#5223)993a60b
chore: prepare tokio-macros v1.8.2 (#5246)$dependabot rebase
will rebase this MR$dependabot recreate
will recreate this MR rewriting all the manual changes and resolving conflicts