rss-forwarder
rss-forwarder copied to clipboard
Bump tokio from 1.21.2 to 1.22.0
Bumps tokio from 1.21.2 to 1.22.0.
Release notes
Sourced from tokio's releases.
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_pendingcalled illegally (#5093)- runtime: fix typo in expect message (#5169)
- runtime: fix
unsync_loadon atomic types (#5175)- task: elaborate safety comments in task deallocation (#5172)
- runtime: fix
LocalSetdrop in thread local (#5179)- net: remove libc type leakage in a public API (#5191)
- runtime: update the alignment of
CachePadded(#5106)Changed
- io: make
tokio::io::copycontinue filling the buffer when writer stalls (#5066)- runtime: remove
coop::budgetfromLocalSet::run_until(#5155)- sync: make
Notifypanic safe (#5154)Documented
- io: fix doc for
write_i8to use signed integers (#5040)- net: fix doc typos for TCP and UDP
set_tosmethods (#5073)- net: fix function name in
UdpSocket::recvdocumentation (#5150)- sync: typo in
TryLockErrorforRwLock::try_write(#5160)- task: document that spawned tasks execute immediately (#5117)
- time: document return type of
timeout(#5118)- time: document that
timeoutchecks only before poll (#5126)- sync: specify return type of
oneshot::Receiverin docs (#5198)Internal changes
- runtime: use const
Mutex::newfor globals (#5061)- runtime: remove
Optionaroundmio::Eventsin io driver (#5078)- runtime: remove a conditional compilation clause (#5104)
- runtime: remove a reference to internal time handle (#5107)
- runtime: misc time driver cleanup (#5120)
- runtime: move signal driver to runtime module (#5121)
- runtime: signal driver now uses I/O driver directly (#5125)
... (truncated)
Commits
bf31759chore: prepare Tokio v1.22.0 (#5203)d658262ci: remove libc types from external types allow list (#5197)1cbbcc9sync: specify return type ofoneshot::Receiverin docs (#5198)a668020net: remove libc type leakage in a public API (#5191)01f0193chore: fix compilation on master (#5190)71bd49etask: addtask::id()andtask::try_id()(#5171)582d512sync: addmpsc::WeakUnboundedSender(#5189)b7812c8rt: fixLocalSetdrop in thread local (#5179)9e3fb16rt: moveCoreStagemethods toCore(#5182)53cba02rt: fix accidental unsetting of current handle (#5178)- Additional commits viewable in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
-
@dependabot rebasewill rebase this PR -
@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it -
@dependabot mergewill merge this PR after your CI passes on it -
@dependabot squash and mergewill squash and merge this PR after your CI passes on it -
@dependabot cancel mergewill cancel a previously requested merge and block automerging -
@dependabot reopenwill reopen this PR if it is closed -
@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually -
@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) -
@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)