rusty-crab / warp-api-starter-template

A boilerplate template for starting a web services using Warp + SQLx (PostgreSQL) + Redis + Juniper (GraphQL). ❤️
MIT License
201 stars 17 forks source link

Bump tokio from 0.2.21 to 0.3.3 #49

Closed dependabot[bot] closed 3 years ago

dependabot[bot] commented 4 years ago

Bumps tokio from 0.2.21 to 0.3.3.

Release notes

Sourced from tokio's releases.

Tokio v0.3.3

Fixes a soundness hole by adding a missing Send bound to Runtime::spawn_blocking().

Fixed

  • rt: include missing Send, fixing soundness hole (#3089).
  • tracing: avoid huge trace span names (#3074).

Added

  • net: TcpSocket::reuseport(), TcpSocket::set_reuseport() (#3083).
  • net: TcpSocket::reuseaddr() (#3093).
  • net: TcpSocket::local_addr() (#3093).
  • net: add pid to UCred (#2633).

Tokio v0.3.2

Adds AsyncFd as a replacement for v0.2's PollEvented.

Fixed

  • io: fix a potential deadlock when shutting down the I/O driver (#2903).
  • sync: RwLockWriteGuard::downgrade() bug (#2957).

Added

  • io: AsyncFd for receiving readiness events on raw FDs (#2903).
  • net: poll_* function on UdpSocket (#2981).
  • net: UdpSocket::take_error() (#3051).
  • sync: oneshot::Sender::poll_closed() (#3032).

Tokio v0.3.1

This release fixes a use-after-free in the IO driver. Additionally, the read_buf and write_buf methods have been added back to the IO traits, as the bytes crate is now on track to reach version 1.0 together with Tokio.

Fixed

  • net: fix use-after-free (#3019).
  • fs: ensure buffered data is written on shutdown (#3009).

Added

  • io: copy_buf() (#2884).
  • io: AsyncReadExt::read_buf(), AsyncReadExt::write_buf() for working with Buf/BufMut (#3003).
  • rt: Runtime::spawn_blocking() (#2980).
  • sync: watch::Sender::is_closed() (#2991).

Tokio v0.3.0

This represents a 1.0 beta release. APIs are polished and future-proofed. APIs not included for 1.0 stabilization have been removed.

Biggest changes are:

  • I/O driver internal rewrite. The windows implementation includes significant changes.
  • Runtime API is polished, especially with how it interacts with feature flag

... (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[bot] commented 3 years ago

Superseded by #57.