Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update async-io requirement from 1.6 to 2.0 #1696

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 23, 2023

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 <dependency name> 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)

Updates the requirements on [async-io](https://github.com/smol-rs/async-io) to permit the latest version.
- [Release notes](https://github.com/smol-rs/async-io/releases)
- [Changelog](https://github.com/smol-rs/async-io/blob/master/CHANGELOG.md)
- [Commits](smol-rs/async-io@v1.6.0...v2.0.0)

---
updated-dependencies:
- dependency-name: async-io
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies rust Pull requests that update Rust code labels Oct 23, 2023
@djc djc merged commit 6d80efe into main Oct 23, 2023
8 checks passed
@djc djc deleted the dependabot/cargo/async-io-2.0 branch October 23, 2023 13:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant