async-io breaking changes

cargo

5 curated breaking changes across major versions of async-io. Use this as a migration checklist before bumping dependencies.

5
changes
Breaking changes by transition
  • v1.13.0 \u2192 v2.0.0breaking

    **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)

  • v1.13.0 \u2192 v2.0.0breaking

    Expose miscellaneous `kqueue` filters in the `os::kqueue` module. (#112)

  • v1.13.0 \u2192 v2.0.0breaking

    Expose a way to get the underlying `Poller`'s file descriptor on Unix. (#125)

  • v1.13.0 \u2192 v2.0.0breaking

    Add a new `Async::new_nonblocking` method to allow users to avoid duplicating an already nonblocking socket. (#159)

  • v1.13.0 \u2192 v2.0.0breaking

    Remove the unused `fastrand` and `memchr` dependencies. (#131)

API access

Get this data programmatically \u2014 free, no authentication.

curl https://depscope.dev/api/breaking/cargo/async-io