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)
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)
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)
Updates the requirements on async-io to permit the latest version.
Release notes
Sourced from async-io's releases.
Changelog
Sourced from async-io's changelog.
... (truncated)
Commits
7e89eec
v2.0.03564317
tests: Add test for #154a5da16f
Expose Async::new_nonblocking0f2af63
Avoid needless set_nonblocking calls62e3454
Migrate to Rust 2021 (#160)59ee2ea
Use set_nonblocking in Async::new on Windows (#157)d5bc619
Remove needless as_fd/as_socket calls (#158)0b5016e
m: Replace socket2 calls with rustix8c3c3bd
m: Optimize block_on by caching Parker and Waker1b1466a
Update this crate to use the new polling breaking changes (#142)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