v0.5.0
版本发布时间: 2024-05-28 05:23:39
tokio-rs/tokio-uring最新发布版本:v0.5.0(2024-05-28 05:23:39)
What's Changed
- fs: impl
File::read_exact_at
andFile::write_all_at
by @songzhi in https://github.com/tokio-rs/tokio-uring/pull/44 - driver: MultiCqe support for Driver Drop by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/164
- Simplify the fallback logic for shared_fs by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/168
- Support zero-copy send by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/123
- bug: send_zc should be a MultiCQEFuture by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/175
- Fix crate name in README.md by @lizhanhui in https://github.com/tokio-rs/tokio-uring/pull/177
- remove unused dependency by @wllenyj in https://github.com/tokio-rs/tokio-uring/pull/179
-
BoundedBuf
trait to take.slice
API out ofIoBuf
by @mzabaluev in https://github.com/tokio-rs/tokio-uring/pull/172 - chore: refactor driver module by @Noah-Kennedy in https://github.com/tokio-rs/tokio-uring/pull/180
- Fixed buffers to support ReadFixed and WriteFixed ops by @mzabaluev in https://github.com/tokio-rs/tokio-uring/pull/54
- Expose
buf_index
by @Nehliin in https://github.com/tokio-rs/tokio-uring/pull/187 - chore: bump io-uring dependency to 0.5.9 by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/182
- Add TcpStream::set_nodelay by @kaimast in https://github.com/tokio-rs/tokio-uring/pull/192
-
FixedBufPool
: a dynamic fixed buffer collection by @mzabaluev in https://github.com/tokio-rs/tokio-uring/pull/190 - write_fixed_all by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/184
- net: UDP socket gets local_addr, read_fixed and write_fixed by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/189
- use std::future::poll_fn by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/194
- chore: cleanup Socket.shutdown by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/195
- driver: refactor the driver to be stored in a shared set of handles by @Noah-Kennedy in https://github.com/tokio-rs/tokio-uring/pull/196
- Add method
BoundedBuf::put_slice
by @mzabaluev in https://github.com/tokio-rs/tokio-uring/pull/198 - rt: refactor driver, runtime, and op by @Noah-Kennedy in https://github.com/tokio-rs/tokio-uring/pull/197
- Restore off-runtime creation of fixed buffer collections by @mzabaluev in https://github.com/tokio-rs/tokio-uring/pull/200
- Add create_dir by @kaimast in https://github.com/tokio-rs/tokio-uring/pull/193
- chore: reduce noise in benchmarks by @Noah-Kennedy in https://github.com/tokio-rs/tokio-uring/pull/151
- Add support for
fallocate
andstatx
by @hellertime in https://github.com/tokio-rs/tokio-uring/pull/214 - Add support for zero copy sendmsg. by @MA-ETL in https://github.com/tokio-rs/tokio-uring/pull/212
- Generialise FixedBufRegistry and FixedBufPool by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/213
- Update docs to conform to Tokio standards by @rrichardson in https://github.com/tokio-rs/tokio-uring/pull/203
- fix: API IO bounds should use BoundedBuf by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/217
- fix: fs::create_dir mode by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/223
- create_dir_all and DirBuilder by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/224
- fix: rework SharedFd by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/232
- Make msghdr.msg_name optional by @redbaron in https://github.com/tokio-rs/tokio-uring/pull/233
- statx builder by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/226
- add writev_all to io modules by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/220
-
FixedBufPool::next
by @mzabaluev in https://github.com/tokio-rs/tokio-uring/pull/199 - bump io-uring to 0.5.13 by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/243
- rt: add new api for oneshot op submission and creation by @Noah-Kennedy in https://github.com/tokio-rs/tokio-uring/pull/244
- fix: negate cqe result when it is negative to convert to valid errno by @FrankReh in https://github.com/tokio-rs/tokio-uring/pull/249
- Add recvmsg implmentation by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/252
- Bug: iovec array not stable during sendmsg_zc op by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/257
- Implement opcode sendmsg (non-zc) for UdpStream. by @Icelk in https://github.com/tokio-rs/tokio-uring/pull/263
- Box libc::msghdr in SendMsg by @Icelk in https://github.com/tokio-rs/tokio-uring/pull/264
- Implement FromRawFd, AsRawFd, and from_std for TcpListener. by @Icelk in https://github.com/tokio-rs/tokio-uring/pull/262
- bug: msghdr lifetime in SendMesgZc by @ollie-etl in https://github.com/tokio-rs/tokio-uring/pull/260
- chore: replace futures dependency with futures_util by @Icelk in https://github.com/tokio-rs/tokio-uring/pull/265
- Upgrade io-uring to 0.6.0 by @lizhanhui in https://github.com/tokio-rs/tokio-uring/pull/277
- chore: format let-else by @taiki-e in https://github.com/tokio-rs/tokio-uring/pull/291
- chore: update actions/checkout action to v4 by @taiki-e in https://github.com/tokio-rs/tokio-uring/pull/290
- chore: ignore unhelpful lint by @Noah-Kennedy in https://github.com/tokio-rs/tokio-uring/pull/301
- chore: prepare v0.5.0 by @Noah-Kennedy in https://github.com/tokio-rs/tokio-uring/pull/300
New Contributors
- @lizhanhui made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/177
- @wllenyj made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/179
- @Nehliin made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/187
- @kaimast made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/192
- @hellertime made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/214
- @MA-ETL made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/212
- @rrichardson made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/203
- @redbaron made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/233
- @Icelk made their first contribution in https://github.com/tokio-rs/tokio-uring/pull/263
Full Changelog: https://github.com/tokio-rs/tokio-uring/compare/v0.4.0...v0.5.0