Update Rust crate tokio to 1.28.0 #32
Reference in New Issue
Block a user
No description provided.
Delete Branch "renovate/tokio-1.x"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR contains the following updates:
1.21.2->1.28.0Release Notes
tokio-rs/tokio
v1.28.0: Tokio v1.28.0Compare Source
1.28.0 (April 25th, 2023)
Added
AsyncFd::async_io(#5542)recv_bufforUdpSocketandUnixDatagram(#5583)OwnedSemaphorePermit::semaphore(#5618)same_channelto broadcast channel (#5607)watch::Receiver::wait_for(#5611)JoinSet::spawn_blockingandJoinSet::spawn_blocking_on(#5612)Changed
read_to_endnot grow unnecessarily (#5610)RwLock(#5647)Notify(#5503)Fixed
get_peer_credon AIX (#5065)broadcastwith custom wakers (#5578)Documented
Semaphore::MAX_PERMITS(#5645)tokio::sync::watch::Senderdocs (#5587)v1.27.0: Tokio v1.27.0Compare Source
1.27.0 (March 27th, 2023)
This release bumps the MSRV of Tokio to 1.56. (#5559)
Added
async_iohelper method to sockets (#5512)AsFd/AsHandle/AsSocket(#5514, #5540)UdpSocket::peek_sender()(#5520)RwLockWriteGuard::{downgrade_map, try_downgrade_map}(#5527)JoinHandle::abort_handle(#5543)Changed
memchrfromlibc(#5558)#[tokio::main](#5557)IntervalreturnsReady(#5553)Fixed
ReadDir(#5555)spawn_blockinglocation fields (#5573)Wheel::poll()(#5574)Documented
tokio::io::copy[_buf](#5575)ReaderStreamandStreamReaderin module docs (#5576)v1.26.0: Tokio v1.26.0Compare Source
Fixed
join!andtry_join!(https://github.com/tokio-rs/tokio/pull/5504)Added
fs::try_exists(https://github.com/tokio-rs/tokio/pull/4299)MappedOwnedMutexGuard(https://github.com/tokio-rs/tokio/pull/5474)Changed
#[clippy::has_significant_drop](https://github.com/tokio-rs/tokio/pull/5422)Instant::now()perf with test-util (https://github.com/tokio-rs/tokio/pull/5513)Internal Changes
poll_fnincopy_bidirectional(https://github.com/tokio-rs/tokio/pull/5486)notify_waiterscalls atomic (https://github.com/tokio-rs/tokio/pull/5458)Unstable
Documented
blocking_*methods (https://github.com/tokio-rs/tokio/pull/5448)process::Commanddocs (https://github.com/tokio-rs/tokio/pull/5413)v1.25.0: Tokio v1.25.01.25.0 (January 28, 2023)
Fixed
Added
broadcast::Sender::len(#5343)Changed
v1.24.1: Tokio v1.24.1Compare Source
This release fixes a compilation failure on targets without
AtomicU64when using rustc older than 1.63. (#5356)v1.24.0: Tokio v1.24.0Compare Source
The highlight of this release is the reduction of lock contention for all I/O operations (#5300). We have received reports of up to a 20% improvement in CPU utilization and increased throughput for real-world I/O heavy applications.
Fixed
AtomicU64support detection (#5284)Added
per tick (#5186)
threads per runtime instance (#4250)
Changed
read_dir()by chunking operations (#5309)ThreadIdimplementation (#5329)spawn_blockingtask is running (#5115)v1.23.1: Tokio v1.23.1Compare Source
This release forward ports changes from 1.18.4.
Fixed
pipe mode (#5336).
v1.23.0: Tokio v1.23.0Compare Source
Fixed
ChildStdin(#5216)async fn ready()false positive for OS-specific events (#5231)Changed
yield_nowdefers task until after driver poll (#5223)winapidependency withwindows-sys(#5204)v1.22.0: Tokio v1.22.0Compare Source
Added
Handle::runtime_flavor(#5138)Mutex::blocking_lock_owned(#5130)Semaphore::MAX_PERMITS(#5144)merge()to semaphore permits (#4948)mpsc::WeakUnboundedSender(#5189)Added (unstable)
Command::process_group(#5114)task::id()andtask::try_id()(#5171)Fixed
LocalOwnedTasks(#5099)mark_pendingcalled illegally (#5093)unsync_loadon atomic types (#5175)LocalSetdrop in thread local (#5179)CachePadded(#5106)Changed
tokio::io::copycontinue filling the buffer when writer stalls (#5066)coop::budgetfromLocalSet::run_until(#5155)Notifypanic safe (#5154)Documented
write_i8to use signed integers (#5040)set_tosmethods (#5073)UdpSocket::recvdocumentation (#5150)TryLockErrorforRwLock::try_write(#5160)timeout(#5118)timeoutchecks only before poll (#5126)oneshot::Receiverin docs (#5198)Internal changes
Mutex::newfor globals (#5061)Optionaroundmio::Eventsin io driver (#5078)io::handlerefs with scheduler:Handle (#5128)scheduler::Handle(#5135)runtime::contextmodule (#5140)driver.rs(#5141)runtime::contextto unify thread-locals (#5143)coopmod intoruntime(#5152)Runtimeinto its own file (#5159)Handle::enter(#5163)enterintocontext(#5167)CoreStagemethods toCore(#5182)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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 Renovate Bot.