quinn-rs / quinn

Async-friendly QUIC implementation in Rust
Apache License 2.0
3.76k stars 380 forks source link

Update async-io requirement from 1.6 to 2.0 #1696

Closed dependabot[bot] closed 11 months ago

dependabot[bot] commented 11 months ago

Updates the requirements on async-io to permit the latest version.

Release notes

Sourced from async-io's releases.

v2.0.0

  • Breaking: Async::new() now takes types that implement AsFd/AsSocket instead of AsRawFd/AsRawSocket, in order to implement I/O safety. (#142)
  • Breaking: Async::get_mut(), Async::read_with_mut() and Async::write_with_mut() are now unsafe. The underlying source is technically "borrowed" by the polling instance, so moving it out would be unsound. (#142)
  • Expose miscellaneous kqueue filters in the os::kqueue module. (#112)
  • Expose a way to get the underlying Poller's file descriptor on Unix. (#125)
  • Add a new Async::new_nonblocking method to allow users to avoid duplicating an already nonblocking socket. (#159)
  • Remove the unused fastrand and memchr dependencies. (#131)
  • Use tracing instead of log. (#140)
  • Support ESP-IDF. (#144)
  • Optimize the block_on function to reduce allocation, leading to a slight performance improvement. (#149)
Changelog

Sourced from async-io's changelog.

Version 2.0.0

  • Breaking: Async::new() now takes types that implement AsFd/AsSocket instead of AsRawFd/AsRawSocket, in order to implement I/O safety. (#142)
  • Breaking: Async::get_mut(), Async::read_with_mut() and Async::write_with_mut() are now unsafe. The underlying source is technically "borrowed" by the polling instance, so moving it out would be unsound. (#142)
  • Expose miscellaneous kqueue filters in the os::kqueue module. (#112)
  • Expose a way to get the underlying Poller's file descriptor on Unix. (#125)
  • Add a new Async::new_nonblocking method to allow users to avoid duplicating an already nonblocking socket. (#159)
  • Remove the unused fastrand and memchr dependencies. (#131)
  • Use tracing instead of log. (#140)
  • Support ESP-IDF. (#144)
  • Optimize the block_on function to reduce allocation, leading to a slight performance improvement. (#149)

Version 1.13.0

  • Use rustix instead of libc/windows-sys for system calls (#76)
  • Add a will_fire method to Timer to test if it will ever fire (#106)
  • Reduce syscalls in Async::new (#107)
  • Improve the drop ergonomics of Readable and Writable (#109)
  • Change the "wepoll" in documentation to "IOCP" (#116)

Version 1.12.0

  • Switch from winapi to windows-sys (#102)

Version 1.11.0

  • Update concurrent-queue to v2. (#99)

Version 1.10.0

  • Remove the dependency on the once_cell crate to restore the MSRV. (#95)

Version 1.9.0

  • Fix panic on very large durations. (#87)
  • Add Timer::never (#87)

Version 1.8.0

  • Implement I/O safety traits on Rust 1.63+ (#84)

Version 1.7.0

  • Process timers set for exactly now. (#73)

Version 1.6.0

... (truncated)

Commits


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 show ignore conditions` will show all of the ignore conditions of the specified dependency - `@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)