@@ -34,21 +34,19 @@ This project adheres to [Semantic Versioning](https://semver.org/).
3434 (#[ 1503] ( https://github.com/nix-rust/nix/pull/1503 ) )
3535- Enabled ` pwritev ` and ` preadv ` for more operating systems.
3636 (#[ 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
3838 (#[ 1292] ( https://github.com/nix-rust/nix/pull/1292 ) )
3939- Added ` Ipv4RecvErr ` and ` Ipv6RecvErr ` sockopts and associated control messages.
4040 (#[ 1514] ( https://github.com/nix-rust/nix/pull/1514 ) )
4141- Added ` AsRawFd ` implementation on ` PollFd ` .
4242 (#[ 1516] ( https://github.com/nix-rust/nix/pull/1516 ) )
4343- Added ` Ipv4Ttl ` and ` Ipv6Ttl ` sockopts.
4444 (#[ 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.
4847 (#[ 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 ) )
5049 (#[ 1531] ( https://github.com/nix-rust/nix/pull/1531 ) )
51- - Added ` MAP_ANONYMOUS ` for all operating systems.
5250 (#[ 1534] ( https://github.com/nix-rust/nix/pull/1534 ) )
5351
5452### Changed
@@ -63,33 +61,29 @@ This project adheres to [Semantic Versioning](https://semver.org/).
6361 include ` sys::eventfd::eventfd ` and ` sys::eventfd::EfdFlags ` for Android
6462 builds.
6563 (#[ 1481] ( https://github.com/nix-rust/nix/pull/1481 ) )
66-
6764- Most enums that come from C, for example ` Errno ` , are now marked as
6865 ` #[non_exhaustive] ` .
6966 (#[ 1474] ( https://github.com/nix-rust/nix/pull/1474 ) )
70-
7167- Many more functions, mostly contructors, are now ` const ` .
7268 (#[ 1476] ( https://github.com/nix-rust/nix/pull/1476 ) )
7369 (#[ 1492] ( https://github.com/nix-rust/nix/pull/1492 ) )
74-
7570- ` sys::event::KEvent::filter ` now returns a ` Result ` instead of being
7671 infalliable. The only cases where it will now return an error are cases
7772 where it previously would've had undefined behavior.
7873 (#[ 1484] ( https://github.com/nix-rust/nix/pull/1484 ) )
79-
8074- Minimum supported Rust version is now 1.46.0.
8175 ([ #1492 ] ( https://github.com/nix-rust/nix/pull/1492 ) )
82-
8376- Rework ` UnixAddr ` to encapsulate internals better in order to fix soundness
8477 issues. No longer allows creating a ` UnixAddr ` from a raw ` sockaddr_un ` .
8578 ([ #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 ) )
8681
8782### Fixed
8883
8984- Added more errno definitions for better backwards compatibility with
9085 Nix 0.21.0.
9186 (#[ 1467] ( https://github.com/nix-rust/nix/pull/1467 ) )
92-
9387- Fixed potential undefined behavior in ` Signal::try_from ` on some platforms.
9488 (#[ 1484] ( https://github.com/nix-rust/nix/pull/1484 ) )
9589
@@ -98,18 +92,14 @@ This project adheres to [Semantic Versioning](https://semver.org/).
9892- Removed a couple of termios constants on redox that were never actually
9993 supported.
10094 (#[ 1483] ( https://github.com/nix-rust/nix/pull/1483 ) )
101-
10295- Removed ` nix::sys::signal::NSIG ` . It was of dubious utility, and not correct
10396 for all platforms.
10497 (#[ 1484] ( https://github.com/nix-rust/nix/pull/1484 ) )
105-
10698- Removed support for 32-bit Apple targets, since they've been dropped by both
10799 Rustc and Xcode.
108100 (#[ 1492] ( https://github.com/nix-rust/nix/pull/1492 ) )
109-
110101- Deprecated ` SockAddr/InetAddr::to_str ` in favor of ` ToString::to_string `
111102 (#[ 1495] ( https://github.com/nix-rust/nix/pull/1495 ) )
112-
113103- Removed ` SigevNotify ` on OpenBSD and Redox.
114104 (#[ 1511] ( https://github.com/nix-rust/nix/pull/1511 ) )
115105
0 commit comments