@@ -28,20 +28,35 @@ This project adheres to [Semantic Versioning](https://semver.org/).
28
28
([ #2085 ] ( https://github.com/nix-rust/nix/pull/2085 ) )
29
29
- Added ` SO_RTABLE ` for OpenBSD and ` SO_ACCEPTFILTER ` for FreeBSD/NetBSD to ` nix::sys::socket::sockopt ` .
30
30
([ #2085 ] ( https://github.com/nix-rust/nix/pull/2085 ) )
31
- - Removed ` flock ` from ` ::nix::fcntl ` on Solaris. ([ #2082 ] ( https://github.com/nix-rust/nix/pull/2082 ) )
32
- - Use I/O safety with ` copy_file_range ` , and expose it on FreeBSD.
33
- (#[ 1906] ( https://github.com/nix-rust/nix/pull/1906 ) )
34
31
- Added ` MSG_WAITFORONE ` to ` MsgFlags ` on Android, Fuchsia, Linux, NetBSD,
35
32
FreeBSD, OpenBSD, and Solaris.
36
33
([ #2014 ] ( https://github.com/nix-rust/nix/pull/2014 ) )
37
34
- Added ` SO_TS_CLOCK ` for FreeBSD to ` nix::sys::socket::sockopt ` .
38
35
([ #2093 ] ( https://github.com/nix-rust/nix/pull/2093 ) )
39
36
- Added support for prctl in Linux.
40
37
(#[ 1550] ( https://github.com/nix-rust/nix/pull/1550 ) )
41
-
38
+ - ` nix::socket ` and ` nix::select ` are now available on Redox.
39
+ ([ #2012 ] ( https://github.com/nix-rust/nix/pull/2012 ) )
40
+ - Implemented AsFd, AsRawFd, FromRawFd, and IntoRawFd for ` mqueue::MqdT ` .
41
+ ([ #2097 ] ( https://github.com/nix-rust/nix/pull/2097 ) )
42
+ - Add the ability to set ` kevent_flags ` on ` SigEvent ` .
43
+ ([ #1731 ] ( https://github.com/nix-rust/nix/pull/1731 ) )
42
44
43
45
### Changed
44
46
47
+ - All Cargo features have been removed from the default set. Users will need to
48
+ specify which features they depend on in their Cargo.toml.
49
+ ([ #2091 ] ( https://github.com/nix-rust/nix/pull/2091 ) )
50
+ - Implemented I/O safety for many, but not all, of Nix's APIs. Many public
51
+ functions argument and return types have changed:
52
+ | Original Type | New Type |
53
+ | ------------- | --------------------- |
54
+ | AsRawFd | AsFd |
55
+ | RawFd | BorrowedFd or OwnedFd |
56
+
57
+ (#[ 1906] ( https://github.com/nix-rust/nix/pull/1906 ) )
58
+ - Use I/O safety with ` copy_file_range ` , and expose it on FreeBSD.
59
+ (#[ 1906] ( https://github.com/nix-rust/nix/pull/1906 ) )
45
60
- The MSRV is now 1.65
46
61
([ #1862 ] ( https://github.com/nix-rust/nix/pull/1862 ) )
47
62
([ #2104 ] ( https://github.com/nix-rust/nix/pull/2104 ) )
@@ -50,30 +65,31 @@ This project adheres to [Semantic Versioning](https://semver.org/).
50
65
- With I/O-safe type applied in ` pty::OpenptyResult ` and ` pty::ForkptyResult ` ,
51
66
users no longer need to manually close the file descriptors in these types.
52
67
([ #1921 ] ( https://github.com/nix-rust/nix/pull/1921 ) )
68
+ - Refactored ` name ` parameter of ` mq_open ` and ` mq_unlink ` to be generic over
69
+ ` NixPath ` .
70
+ ([ #2102 ] ( https://github.com/nix-rust/nix/pull/2102 ) ).
71
+ - Made ` clone ` unsafe, like ` fork ` .
72
+ ([ #1993 ] ( https://github.com/nix-rust/nix/pull/1993 ) )
73
+
74
+ ### Removed
75
+
53
76
- ` sys::event::{kevent, kevent_ts} ` are deprecated in favor of
54
77
` sys::kevent::Kqueue::kevent ` , and ` sys::event::kqueue ` is deprecated in
55
78
favor of ` sys::kevent::Kqueue::new ` .
56
79
([ #1943 ] ( https://github.com/nix-rust/nix/pull/1943 ) )
57
- - ` nix::socket ` and ` nix::select ` are now available on Redox.
58
- ([ #2012 ] ( https://github.com/nix-rust/nix/pull/2012 ) )
59
- - All features have been removed from the default set. Users will need to specify
60
- which features they depend on in their Cargo.toml.
61
- ([ #2091 ] ( https://github.com/nix-rust/nix/pull/2091 ) )
62
-
63
- - Implemented I/O safety. Many public functions argument and return types have
64
- changed:
65
- | Original Type | New Type |
66
- | ------------- | --------------------- |
67
- | AsRawFd | AsFd |
68
- | RawFd | BorrowedFd or OwnedFd |
80
+ - Removed deprecated IoVec API.
81
+ ([ #1855 ] ( https://github.com/nix-rust/nix/pull/1855 ) )
82
+ - Removed deprecated net APIs.
83
+ ([ #1861 ] ( https://github.com/nix-rust/nix/pull/1861 ) )
84
+ - ` nix::sys::signalfd::signalfd ` is deprecated. Use
85
+ ` nix::sys::signalfd::SignalFd ` instead.
86
+ ([ #1938 ] ( https://github.com/nix-rust/nix/pull/1938 ) )
87
+ - Removed ` SigEvent ` support on Fuchsia, where it was unsound.
88
+ ([ #2079 ] ( https://github.com/nix-rust/nix/pull/2079 ) )
89
+ - Removed ` flock ` from ` ::nix::fcntl ` on Solaris.
90
+ ([ #2082 ] ( https://github.com/nix-rust/nix/pull/2082 ) )
69
91
70
- (#[ 1906] ( https://github.com/nix-rust/nix/pull/1906 ) )
71
- - Implemented AsFd, AsRawFd, FromRawFd, and IntoRawFd for ` mqueue::MqdT ` .
72
- See ([ #2097 ] ( https://github.com/nix-rust/nix/pull/2097 ) )
73
- - Refactored ` name ` parameter of ` mq_open ` and ` mq_unlink ` to be generic over
74
- ` NixPath ` . See ([ #2102 ] ( https://github.com/nix-rust/nix/pull/2102 ) ).
75
- - Made ` clone ` unsafe, like ` fork ` .
76
- ([ #1993 ] ( https://github.com/nix-rust/nix/pull/1993 ) )
92
+ ## [ 0.26.3] - 2023-08-27
77
93
78
94
### Fixed
79
95
- Fix: send ` ETH_P_ALL ` in htons format
@@ -88,18 +104,6 @@ This project adheres to [Semantic Versioning](https://semver.org/).
88
104
- Fixed an incorrect lifetime returned from ` recvmsg ` .
89
105
([ #2095 ] ( https://github.com/nix-rust/nix/pull/2095 ) )
90
106
91
- ### Removed
92
-
93
- - Removed deprecated IoVec API.
94
- ([ #1855 ] ( https://github.com/nix-rust/nix/pull/1855 ) )
95
- - Removed deprecated net APIs.
96
- ([ #1861 ] ( https://github.com/nix-rust/nix/pull/1861 ) )
97
- - ` nix::sys::signalfd::signalfd ` is deprecated. Use
98
- ` nix::sys::signalfd::SignalFd ` instead.
99
- ([ #1938 ] ( https://github.com/nix-rust/nix/pull/1938 ) )
100
- - Removed ` SigEvent ` support on Fuchsia, where it was unsound.
101
- ([ #2079 ] ( https://github.com/nix-rust/nix/pull/2079 ) )
102
-
103
107
## [ 0.26.2] - 2023-01-18
104
108
105
109
### Fixed
0 commit comments