Skip to content

Bump tokio from 0.1.22 to 1.15.0 in /node#32

Open
dependabot[bot] wants to merge 2 commits intomasterfrom
dependabot/cargo/node/tokio-1.15.0
Open

Bump tokio from 0.1.22 to 1.15.0 in /node#32
dependabot[bot] wants to merge 2 commits intomasterfrom
dependabot/cargo/node/tokio-1.15.0

Conversation

@dependabot
Copy link

@dependabot dependabot bot commented on behalf of github Jun 6, 2022

Bumps tokio from 0.1.22 to 1.15.0.

Release notes

Sourced from tokio's releases.

Tokio v1.15.0

Fixed

  • io: add cooperative yielding support to io::empty() (#4300)
  • time: make timeout robust against budget-depleting tasks (#4314)

Changed

  • update minimum supported Rust version to 1.46.

Added

  • time: add Interval::reset() (#4248)
  • io: add explicit lifetimes to AsyncFdReadyGuard (#4267)
  • process: add Command::as_std() (#4295)

Added (unstable)

  • tracing: instrument tokio::sync types (#4302)

#4302: tokio-rs/tokio#4302 #4300: tokio-rs/tokio#4300 #4295: tokio-rs/tokio#4295 #4267: tokio-rs/tokio#4267 #4248: tokio-rs/tokio#4248 #4314: tokio-rs/tokio#4314

Tokio v1.14.1

This release backports a bug fix from 1.16.1

Fixes a soundness bug in io::Take (#4428). The unsoundness is exposed when leaking memory in the given AsyncRead implementation and then overwriting the supplied buffer:

impl AsyncRead for Buggy {
    fn poll_read(
        self: Pin<&mut Self>,
        cx: &mut Context<'_>,
        buf: &mut ReadBuf<'_>
    ) -> Poll<Result<()>> {
      let new_buf = vec![0; 5].leak();
      *buf = ReadBuf::new(new_buf);
      buf.put_slice(b"hello");
      Poll::Ready(Ok(()))
    }
}

Fixed

... (truncated)

Commits

Dependabot compatibility score

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 rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will 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 version will 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 dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 6, 2022
@dependabot dependabot bot force-pushed the dependabot/cargo/node/tokio-1.15.0 branch from 639e7f0 to f6cc0bf Compare September 5, 2022 21:48
@dependabot dependabot bot force-pushed the dependabot/cargo/node/tokio-1.15.0 branch from f6cc0bf to dacfecc Compare January 9, 2023 16:47
@dependabot dependabot bot force-pushed the dependabot/cargo/node/tokio-1.15.0 branch from dacfecc to 08d7358 Compare January 9, 2023 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant