Releases: tokio-rs/tokio-uring
Releases · tokio-rs/tokio-uring
v0.5.0
What's Changed
- fs: impl
File::read_exact_at
andFile::write_all_at
by @songzhi in #44 - driver: MultiCqe support for Driver Drop by @ollie-etl in #164
- Simplify the fallback logic for shared_fs by @ollie-etl in #168
- Support zero-copy send by @ollie-etl in #123
- bug: send_zc should be a MultiCQEFuture by @ollie-etl in #175
- Fix crate name in README.md by @lizhanhui in #177
- remove unused dependency by @wllenyj in #179
BoundedBuf
trait to take.slice
API out ofIoBuf
by @mzabaluev in #172- chore: refactor driver module by @Noah-Kennedy in #180
- Fixed buffers to support ReadFixed and WriteFixed ops by @mzabaluev in #54
- Expose
buf_index
by @Nehliin in #187 - chore: bump io-uring dependency to 0.5.9 by @FrankReh in #182
- Add TcpStream::set_nodelay by @kaimast in #192
FixedBufPool
: a dynamic fixed buffer collection by @mzabaluev in #190- write_fixed_all by @FrankReh in #184
- net: UDP socket gets local_addr, read_fixed and write_fixed by @FrankReh in #189
- use std::future::poll_fn by @FrankReh in #194
- chore: cleanup Socket.shutdown by @FrankReh in #195
- driver: refactor the driver to be stored in a shared set of handles by @Noah-Kennedy in #196
- Add method
BoundedBuf::put_slice
by @mzabaluev in #198 - rt: refactor driver, runtime, and op by @Noah-Kennedy in #197
- Restore off-runtime creation of fixed buffer collections by @mzabaluev in #200
- Add create_dir by @kaimast in #193
- chore: reduce noise in benchmarks by @Noah-Kennedy in #151
- Add support for
fallocate
andstatx
by @hellertime in #214 - Add support for zero copy sendmsg. by @MA-ETL in #212
- Generialise FixedBufRegistry and FixedBufPool by @ollie-etl in #213
- Update docs to conform to Tokio standards by @rrichardson in #203
- fix: API IO bounds should use BoundedBuf by @FrankReh in #217
- fix: fs::create_dir mode by @FrankReh in #223
- create_dir_all and DirBuilder by @FrankReh in #224
- fix: rework SharedFd by @FrankReh in #232
- Make msghdr.msg_name optional by @redbaron in #233
- statx builder by @FrankReh in #226
- add writev_all to io modules by @FrankReh in #220
FixedBufPool::next
by @mzabaluev in #199- bump io-uring to 0.5.13 by @FrankReh in #243
- rt: add new api for oneshot op submission and creation by @Noah-Kennedy in #244
- fix: negate cqe result when it is negative to convert to valid errno by @FrankReh in #249
- Add recvmsg implmentation by @ollie-etl in #252
- Bug: iovec array not stable during sendmsg_zc op by @ollie-etl in #257
- Implement opcode sendmsg (non-zc) for UdpStream. by @Icelk in #263
- Box libc::msghdr in SendMsg by @Icelk in #264
- Implement FromRawFd, AsRawFd, and from_std for TcpListener. by @Icelk in #262
- bug: msghdr lifetime in SendMesgZc by @ollie-etl in #260
- chore: replace futures dependency with futures_util by @Icelk in #265
- Upgrade io-uring to 0.6.0 by @lizhanhui in #277
- chore: format let-else by @taiki-e in #291
- chore: update actions/checkout action to v4 by @taiki-e in #290
- chore: ignore unhelpful lint by @Noah-Kennedy in #301
- chore: prepare v0.5.0 by @Noah-Kennedy in #300
New Contributors
- @lizhanhui made their first contribution in #177
- @wllenyj made their first contribution in #179
- @Nehliin made their first contribution in #187
- @kaimast made their first contribution in #192
- @hellertime made their first contribution in #214
- @MA-ETL made their first contribution in #212
- @rrichardson made their first contribution in #203
- @redbaron made their first contribution in #233
- @Icelk made their first contribution in #263
Full Changelog: v0.4.0...v0.5.0
0.4.0 (November 5th, 2022)
Fixed
- Fix panic in Deref/DerefMut for Slice extending into uninitialized part of the buffer (#52)
- docs: all-features = true (#84)
- fix fs unit tests to avoid parallelism (#121)
- Box the socket address to allow moving the Connect future (#126)
- rt: Fix data race (#146)
Added
- Implement fs::File::readv_at()/writev_at() (#87)
- fs: implement FromRawFd for File (#89)
- Implement
AsRawFd
forTcpStream
(#94) - net: add TcpListener.local_addr method (#107)
- net: add TcpStream.write_all (#111)
- driver: add Builder API as an option to start (#113)
- Socket and TcpStream shutdown (#124)
- fs: implement fs::File::from_std (#131)
- net: implement FromRawFd for TcpStream (#132)
- fs: implement OpenOptionsExt for OpenOptions (#133)
- Add NoOp support (#134)
- Add writev to TcpStream (#136)
- sync TcpStream, UnixStream and UdpSocket functionality (#141)
- Add benchmarks for no-op submission (#144)
- Expose runtime structure (#148)
Changed
Internal Improvements
- chore: fix clippy lints (#99)
- io: refactor post-op logic in ops into Completable (#116)
- Support multi completion events: v2 (#130)
- simplify driver operation futures (#139)
- rt: refactor runtime to avoid Rc<RefCell<...>> (#142)
- Remove unused dev-dependencies (#143)
- chore: types and fields explicitly named (#149)
- Ignore errors from uring while cleaning up (#154)
- rt: drop runtime before driver during shutdown (#155)
- rt: refactor drop logic (#157)
- rt: fix error when calling block_on twice (#162)