Skip to content

Commit 7e89eec

Browse files
authored
v2.0.0
Signed-off-by: John Nunley <[email protected]>
1 parent 3564317 commit 7e89eec

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

CHANGELOG.md

+12
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
# Version 2.0.0
2+
3+
- **Breaking:** `Async::new()` now takes types that implement `AsFd`/`AsSocket` instead of `AsRawFd`/`AsRawSocket`, in order to implement I/O safety. (#142)
4+
- **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)
5+
- Expose miscellaneous `kqueue` filters in the `os::kqueue` module. (#112)
6+
- Expose a way to get the underlying `Poller`'s file descriptor on Unix. (#125)
7+
- Add a new `Async::new_nonblocking` method to allow users to avoid duplicating an already nonblocking socket. (#159)
8+
- Remove the unused `fastrand` and `memchr` dependencies. (#131)
9+
- Use `tracing` instead of `log`. (#140)
10+
- Support ESP-IDF. (#144)
11+
- Optimize the `block_on` function to reduce allocation, leading to a slight performance improvement. (#149)
12+
113
# Version 1.13.0
214

315
- Use [`rustix`] instead of [`libc`]/[`windows-sys`] for system calls (#76)

Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
name = "async-io"
33
# When publishing a new version:
44
# - Update CHANGELOG.md
5-
# - Create "v1.x.y" git tag
6-
version = "1.13.0"
5+
# - Create "v2.x.y" git tag
6+
version = "2.0.0"
77
authors = ["Stjepan Glavina <[email protected]>"]
88
edition = "2021"
99
rust-version = "1.63"

0 commit comments

Comments
 (0)