Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Bump tokio from 0.2.24 to 1.1.0 #228

Merged
merged 2 commits into from
Jan 25, 2021
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 25, 2021

Bumps tokio from 0.2.24 to 1.1.0.

Release notes

Sourced from tokio's releases.

Tokio v1.1.0

Added

  • net: add try_read_buf and try_recv_buf (#3351)
  • mpsc: Add Sender::try_reserve function (#3418)
  • sync: add RwLock try_read and try_write methods (#3400)
  • io: add ReadBuf::inner_mut (#3443)

Changed

  • macros: improve select! error message (#3352)
  • io: keep track of initialized bytes in read_to_end (#3426)
  • runtime: consolidate errors for context missing (#3441)

Fixed

  • task: wake LocalSet on spawn_local (#3369)
  • sync: fix panic in broadcast::Receiver drop (#3434)

Documented

  • stream: link to new Stream wrappers in tokio-stream (#3343)
  • docs: mention that test-util feature is not enabled with full (#3397)
  • process: add documentation to process::Child fields (#3437)
  • io: clarify AsyncFd docs about changes of the inner fd (#3430)
  • net: update datagram docs on splitting (#3448)
  • time: document that Sleep is not Unpin (#3457)
  • sync: add link to PollSemaphore (#3456)
  • task: add LocalSet example (#3438)
  • sync: improve bounded mpsc documentation (#3458)

Tokio v1.0.2

Fixed

  • io: soundness in read_to_end (#3428).

Tokio v1.0.1

This release fixes a soundness hole caused by the combination of RwLockWriteGuard::map and RwLockWriteGuard::downgrade by removing the map function. This is a breaking change, but breaking changes are allowed under our semver policy when they are required to fix a soundness hole. (See this RFC for more.)

Note that we have chosen not to do a deprecation cycle or similar because Tokio 1.0.0 was released two days ago, and therefore the impact should be minimal.

Due to the soundness hole, we have also yanked Tokio version 1.0.0.

Removed

  • sync: remove RwLockWriteGuard::map and RwLockWriteGuard::try_map (#3345)

Fixed

  • docs: remove stream feature from docs (#3335)

... (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 dependabot bot added the dependencies Pull requests that update a dependency file label Jan 25, 2021
Bumps [tokio](https://github.com/tokio-rs/tokio) from 0.2.24 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](tokio-rs/tokio@tokio-0.2.24...tokio-1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/cargo/tokio-1.1.0 branch from 6f9c689 to a9c9380 Compare January 25, 2021 09:44
@mmerklinger mmerklinger merged commit 93d70a0 into master Jan 25, 2021
@mmerklinger mmerklinger deleted the dependabot/cargo/tokio-1.1.0 branch January 25, 2021 13:01
This was referenced Jan 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant