@@ -34,21 +34,19 @@ This project adheres to [Semantic Versioning](https://semver.org/).
34
34
(#[ 1503] ( https://github.com/nix-rust/nix/pull/1503 ) )
35
35
- Enabled ` pwritev ` and ` preadv ` for more operating systems.
36
36
(#[ 1511] ( https://github.com/nix-rust/nix/pull/1511 ) )
37
- Added support for ` TCP_MAXSEG ` TCP Maximum Segment Size socket options
37
+ - Added support for ` TCP_MAXSEG ` TCP Maximum Segment Size socket options
38
38
(#[ 1292] ( https://github.com/nix-rust/nix/pull/1292 ) )
39
39
- Added ` Ipv4RecvErr ` and ` Ipv6RecvErr ` sockopts and associated control messages.
40
40
(#[ 1514] ( https://github.com/nix-rust/nix/pull/1514 ) )
41
41
- Added ` AsRawFd ` implementation on ` PollFd ` .
42
42
(#[ 1516] ( https://github.com/nix-rust/nix/pull/1516 ) )
43
43
- Added ` Ipv4Ttl ` and ` Ipv6Ttl ` sockopts.
44
44
(#[ 1515] ( https://github.com/nix-rust/nix/pull/1515 ) )
45
- - Added ` MAP_EXCL ` mmap flag for freebsd.
46
- (#[ 1525] ( https://github.com/nix-rust/nix/pull/1525 ) )
47
- - Added ` MAP_ALIGNED_SUPER ` mmap flag for freebsd.
45
+ - Added ` MAP_EXCL ` , ` MAP_ALIGNED_SUPER ` , and ` MAP_CONCEAL ` mmap flags, and
46
+ exposed ` MAP_ANONYMOUS ` for all operating systems.
48
47
(#[ 1522] ( https://github.com/nix-rust/nix/pull/1522 ) )
49
- - Added ` MAP_CONCEAL ` mmap flag for openbsd.
48
+ (# [ 1525 ] ( https://github.com/nix-rust/nix/pull/1525 ) )
50
49
(#[ 1531] ( https://github.com/nix-rust/nix/pull/1531 ) )
51
- - Added ` MAP_ANONYMOUS ` for all operating systems.
52
50
(#[ 1534] ( https://github.com/nix-rust/nix/pull/1534 ) )
53
51
54
52
### Changed
@@ -63,33 +61,29 @@ This project adheres to [Semantic Versioning](https://semver.org/).
63
61
include ` sys::eventfd::eventfd ` and ` sys::eventfd::EfdFlags ` for Android
64
62
builds.
65
63
(#[ 1481] ( https://github.com/nix-rust/nix/pull/1481 ) )
66
-
67
64
- Most enums that come from C, for example ` Errno ` , are now marked as
68
65
` #[non_exhaustive] ` .
69
66
(#[ 1474] ( https://github.com/nix-rust/nix/pull/1474 ) )
70
-
71
67
- Many more functions, mostly contructors, are now ` const ` .
72
68
(#[ 1476] ( https://github.com/nix-rust/nix/pull/1476 ) )
73
69
(#[ 1492] ( https://github.com/nix-rust/nix/pull/1492 ) )
74
-
75
70
- ` sys::event::KEvent::filter ` now returns a ` Result ` instead of being
76
71
infalliable. The only cases where it will now return an error are cases
77
72
where it previously would've had undefined behavior.
78
73
(#[ 1484] ( https://github.com/nix-rust/nix/pull/1484 ) )
79
-
80
74
- Minimum supported Rust version is now 1.46.0.
81
75
([ #1492 ] ( https://github.com/nix-rust/nix/pull/1492 ) )
82
-
83
76
- Rework ` UnixAddr ` to encapsulate internals better in order to fix soundness
84
77
issues. No longer allows creating a ` UnixAddr ` from a raw ` sockaddr_un ` .
85
78
([ #1496 ] ( https://github.com/nix-rust/nix/pull/1496 ) )
79
+ - Raised bitflags to 1.3.0 and the MSRV to 1.46.0.
80
+ ([ #1492 ] ( https://github.com/nix-rust/nix/pull/1492 ) )
86
81
87
82
### Fixed
88
83
89
84
- Added more errno definitions for better backwards compatibility with
90
85
Nix 0.21.0.
91
86
(#[ 1467] ( https://github.com/nix-rust/nix/pull/1467 ) )
92
-
93
87
- Fixed potential undefined behavior in ` Signal::try_from ` on some platforms.
94
88
(#[ 1484] ( https://github.com/nix-rust/nix/pull/1484 ) )
95
89
@@ -98,18 +92,14 @@ This project adheres to [Semantic Versioning](https://semver.org/).
98
92
- Removed a couple of termios constants on redox that were never actually
99
93
supported.
100
94
(#[ 1483] ( https://github.com/nix-rust/nix/pull/1483 ) )
101
-
102
95
- Removed ` nix::sys::signal::NSIG ` . It was of dubious utility, and not correct
103
96
for all platforms.
104
97
(#[ 1484] ( https://github.com/nix-rust/nix/pull/1484 ) )
105
-
106
98
- Removed support for 32-bit Apple targets, since they've been dropped by both
107
99
Rustc and Xcode.
108
100
(#[ 1492] ( https://github.com/nix-rust/nix/pull/1492 ) )
109
-
110
101
- Deprecated ` SockAddr/InetAddr::to_str ` in favor of ` ToString::to_string `
111
102
(#[ 1495] ( https://github.com/nix-rust/nix/pull/1495 ) )
112
-
113
103
- Removed ` SigevNotify ` on OpenBSD and Redox.
114
104
(#[ 1511] ( https://github.com/nix-rust/nix/pull/1511 ) )
115
105
0 commit comments