Skip to content

Commit a98b292

Browse files
authored
chore: prepare tokio-uring v0.4.0 (#166)
# 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` for `TcpStream` ([#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 - driver: batch submit requests and add benchmark ([#78]) - Depend on io-uring version ^0.5.8 ([#153]) ### 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]) ### CI changes - chore: update actions/checkout action to v3 ([#90]) - chore: add all-systems-go ci check ([#98]) - chore: add clippy to ci ([#100]) - ci: run cargo test --doc ([#135]) [#52]: #52 [#78]: #78 [#84]: #84 [#87]: #87 [#89]: #89 [#90]: #90 [#94]: #94 [#98]: #98 [#99]: #99 [#100]: #100 [#107]: #107 [#111]: #111 [#113]: #113 [#116]: #116 [#121]: #121 [#124]: #124 [#126]: #126 [#130]: #130 [#131]: #131 [#132]: #132 [#133]: #133 [#134]: #134 [#135]: #135 [#136]: #136 [#139]: #139 [#141]: #141 [#142]: #142 [#143]: #143 [#144]: #144 [#146]: #146 [#148]: #148 [#149]: #149 [#153]: #153 [#154]: #154 [#155]: #155 [#157]: #157 [#162]: #162
1 parent 4b0e07e commit a98b292

File tree

3 files changed

+110
-11
lines changed

3 files changed

+110
-11
lines changed

CHANGELOG.md

Lines changed: 102 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,119 @@
1+
# 0.4.0 (November 5th, 2022)
2+
3+
### Fixed
4+
5+
- Fix panic in Deref/DerefMut for Slice extending into uninitialized part of the buffer ([#52])
6+
- docs: all-features = true ([#84])
7+
- fix fs unit tests to avoid parallelism ([#121])
8+
- Box the socket address to allow moving the Connect future ([#126])
9+
- rt: Fix data race ([#146])
10+
11+
### Added
12+
13+
- Implement fs::File::readv_at()/writev_at() ([#87])
14+
- fs: implement FromRawFd for File ([#89])
15+
- Implement `AsRawFd` for `TcpStream` ([#94])
16+
- net: add TcpListener.local_addr method ([#107])
17+
- net: add TcpStream.write_all ([#111])
18+
- driver: add Builder API as an option to start ([#113])
19+
- Socket and TcpStream shutdown ([#124])
20+
- fs: implement fs::File::from_std ([#131])
21+
- net: implement FromRawFd for TcpStream ([#132])
22+
- fs: implement OpenOptionsExt for OpenOptions ([#133])
23+
- Add NoOp support ([#134])
24+
- Add writev to TcpStream ([#136])
25+
- sync TcpStream, UnixStream and UdpSocket functionality ([#141])
26+
- Add benchmarks for no-op submission ([#144])
27+
- Expose runtime structure ([#148])
28+
29+
### Changed
30+
31+
- driver: batch submit requests and add benchmark ([#78])
32+
- Depend on io-uring version ^0.5.8 ([#153])
33+
34+
### Internal Improvements
35+
36+
- chore: fix clippy lints ([#99])
37+
- io: refactor post-op logic in ops into Completable ([#116])
38+
- Support multi completion events: v2 ([#130])
39+
- simplify driver operation futures ([#139])
40+
- rt: refactor runtime to avoid Rc\<RefCell\<...>> ([#142])
41+
- Remove unused dev-dependencies ([#143])
42+
- chore: types and fields explicitly named ([#149])
43+
- Ignore errors from uring while cleaning up ([#154])
44+
- rt: drop runtime before driver during shutdown ([#155])
45+
- rt: refactor drop logic ([#157])
46+
- rt: fix error when calling block_on twice ([#162])
47+
48+
### CI changes
49+
50+
- chore: update actions/checkout action to v3 ([#90])
51+
- chore: add all-systems-go ci check ([#98])
52+
- chore: add clippy to ci ([#100])
53+
- ci: run cargo test --doc ([#135])
54+
55+
56+
[#52]: https://github.com/tokio-rs/tokio-uring/pull/52
57+
[#78]: https://github.com/tokio-rs/tokio-uring/pull/78
58+
[#84]: https://github.com/tokio-rs/tokio-uring/pull/84
59+
[#87]: https://github.com/tokio-rs/tokio-uring/pull/87
60+
[#89]: https://github.com/tokio-rs/tokio-uring/pull/89
61+
[#90]: https://github.com/tokio-rs/tokio-uring/pull/90
62+
[#94]: https://github.com/tokio-rs/tokio-uring/pull/94
63+
[#98]: https://github.com/tokio-rs/tokio-uring/pull/98
64+
[#99]: https://github.com/tokio-rs/tokio-uring/pull/99
65+
[#100]: https://github.com/tokio-rs/tokio-uring/pull/100
66+
[#107]: https://github.com/tokio-rs/tokio-uring/pull/107
67+
[#111]: https://github.com/tokio-rs/tokio-uring/pull/111
68+
[#113]: https://github.com/tokio-rs/tokio-uring/pull/113
69+
[#116]: https://github.com/tokio-rs/tokio-uring/pull/116
70+
[#121]: https://github.com/tokio-rs/tokio-uring/pull/121
71+
[#124]: https://github.com/tokio-rs/tokio-uring/pull/124
72+
[#126]: https://github.com/tokio-rs/tokio-uring/pull/126
73+
[#130]: https://github.com/tokio-rs/tokio-uring/pull/130
74+
[#131]: https://github.com/tokio-rs/tokio-uring/pull/131
75+
[#132]: https://github.com/tokio-rs/tokio-uring/pull/132
76+
[#133]: https://github.com/tokio-rs/tokio-uring/pull/133
77+
[#134]: https://github.com/tokio-rs/tokio-uring/pull/134
78+
[#135]: https://github.com/tokio-rs/tokio-uring/pull/135
79+
[#136]: https://github.com/tokio-rs/tokio-uring/pull/136
80+
[#139]: https://github.com/tokio-rs/tokio-uring/pull/139
81+
[#141]: https://github.com/tokio-rs/tokio-uring/pull/141
82+
[#142]: https://github.com/tokio-rs/tokio-uring/pull/142
83+
[#143]: https://github.com/tokio-rs/tokio-uring/pull/143
84+
[#144]: https://github.com/tokio-rs/tokio-uring/pull/144
85+
[#146]: https://github.com/tokio-rs/tokio-uring/pull/146
86+
[#148]: https://github.com/tokio-rs/tokio-uring/pull/148
87+
[#149]: https://github.com/tokio-rs/tokio-uring/pull/149
88+
[#153]: https://github.com/tokio-rs/tokio-uring/pull/153
89+
[#154]: https://github.com/tokio-rs/tokio-uring/pull/154
90+
[#155]: https://github.com/tokio-rs/tokio-uring/pull/155
91+
[#157]: https://github.com/tokio-rs/tokio-uring/pull/157
92+
[#162]: https://github.com/tokio-rs/tokio-uring/pull/162
93+
194
# 0.3.0 (March 2nd, 2022)
295
### Added
3-
net: add unix stream & listener ([#74])
4-
net: add tcp and udp support ([#40])
96+
- net: add unix stream & listener ([#74])
97+
- net: add tcp and udp support ([#40])
598

699
[#74]: https://github.com/tokio-rs/tokio-uring/pull/74
7100
[#40]: https://github.com/tokio-rs/tokio-uring/pull/40
8101

9102
# 0.2.0 (January 9th, 2022)
10103

11104
### Fixed
12-
fs: fix error handling related to changes in rustc ([#69])
13-
op: fix 'already borrowed' panic ([#39])
105+
- fs: fix error handling related to changes in rustc ([#69])
106+
- op: fix 'already borrowed' panic ([#39])
14107

15108
### Added
16-
fs: add fs::remove_file ([#66])
17-
fs: implement Debug for File ([#65])
18-
fs: add remove_dir and unlink ([#63])
19-
buf: impl IoBuf/IoBufMut for bytes::Bytes/BytesMut ([#43])
109+
- fs: add fs::remove_file ([#66])
110+
- fs: implement Debug for File ([#65])
111+
- fs: add remove_dir and unlink ([#63])
112+
- buf: impl IoBuf/IoBufMut for bytes::Bytes/BytesMut ([#43])
20113

21114
[#69]: https://github.com/tokio-rs/tokio-uring/pull/69
22115
[#66]: https://github.com/tokio-rs/tokio-uring/pull/66
23116
[#65]: https://github.com/tokio-rs/tokio-uring/pull/65
24117
[#63]: https://github.com/tokio-rs/tokio-uring/pull/63
25118
[#39]: https://github.com/tokio-rs/tokio-uring/pull/39
26-
[#43]: https://github.com/tokio-rs/tokio-uring/pull/43
119+
[#43]: https://github.com/tokio-rs/tokio-uring/pull/43

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[package]
22
name = "tokio-uring"
3-
version = "0.3.0"
3+
version = "0.4.0"
44
authors = ["Tokio Contributors <[email protected]>"]
55
edition = "2018"
66
readme = "README.md"
77
license = "MIT"
8-
documentation = "https://docs.rs/tokio-uring/0.3.0/tokio-uring"
8+
documentation = "https://docs.rs/tokio-uring/0.4.0/tokio-uring"
99
repository = "https://github.com/tokio-rs/tokio-uring"
1010
homepage = "https://tokio.rs"
1111
description = """

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ provides new resource types that work with [`io-uring`].
1717
Using `tokio-uring` requires starting a [`tokio-uring`] runtime. This
1818
runtime internally manages the main Tokio runtime and a `io-uring` driver.
1919

20+
In your Cargo.toml:
21+
```toml
22+
[dependencies]
23+
tokio = { version = "0.4.0" }
24+
```
25+
In your main.rs:
2026
```rust
2127
use tokio_uring::fs::File;
2228

0 commit comments

Comments
 (0)