Skip to content

Bump tokio from 1.27.0 to 1.29.1

Ghost User requested to merge dependabot-cargo-tokio-1.29.1 into master

Bumps tokio from 1.27.0 to 1.29.1.

Release notes

Sourced from tokio's releases.

Tokio v1.29.1

Fixed

  • rt: fix nesting two block_in_place with a block_on between (#5837)

#5837: tokio-rs/tokio#5837

Tokio v1.29.0

Technically a breaking change, the Send implementation is removed from runtime::EnterGuard. This change fixes a bug and should not impact most users.

Breaking

  • rt: EnterGuard should not be Send (#5766)

Fixed

  • fs: reduce blocking ops in fs::read_dir (#5653)
  • rt: fix possible starvation (#5686, #5712)
  • rt: fix stacked borrows issue in JoinSet (#5693)
  • rt: panic if EnterGuard dropped incorrect order (#5772)
  • time: do not overflow to signal value (#5710)
  • fs: wait for in-flight ops before cloning File (#5803)

Changed

  • rt: reduce time to poll tasks scheduled from outside the runtime (#5705, #5720)

Added

  • net: add uds doc alias for unix sockets (#5659)
  • rt: add metric for number of tasks (#5628)
  • sync: implement more traits for channel errors (#5666)
  • net: add nodelay methods on TcpSocket (#5672)
  • sync: add broadcast::Receiver::blocking_recv (#5690)
  • process: add raw_arg method to Command (#5704)
  • io: support PRIORITY epoll events (#5566)
  • task: add JoinSet::poll_join_next (#5721)
  • net: add support for Redox OS (#5790)

Unstable

  • rt: add the ability to dump task backtraces (#5608, #5676, #5708, #5717)
  • rt: instrument task poll times with a histogram (#5685)

#5766: tokio-rs/tokio#5766 #5653: tokio-rs/tokio#5653 #5686: tokio-rs/tokio#5686 #5712: tokio-rs/tokio#5712

... (truncated)

Commits
  • 1b1b9dc chore: prepare Tokio v1.29.1 release
  • 012c848 rt: fix nesting block_in_place with block_on (#5837)
  • 48c5576 chore: prepare Tokio v1.29.0 release (#5826)
  • 657fd88 task: add guarantee about when a spawned task may be polled (#5816)
  • 6b076a2 fs: wait for in-flight ops before cloning File (#5803)
  • 910a1e2 io: fix futures_io::AsyncSeek implementaion for Compat (#5783)
  • 6d25a00 fs: update cfg attr in fs::read_dir (#5806)
  • 78bf8a9 sync: replace Poll::Ready with Ready (#5815)
  • b8af5aa task: add spawn_blocking methods to JoinMap (#5797)
  • 2e62374 rt: pad the task struct to avoid false sharing (#5809)
  • 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

Merge request reports