Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 9ac60c5

Browse files
committed
chore: release 0.31.0
1 parent 6789793 commit 9ac60c5

15 files changed

Lines changed: 61 additions & 28 deletions

CHANGELOG.md

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,66 @@ This project adheres to [Semantic Versioning](https://semver.org/).
33

44
# Change Log
55

6+
## [0.31.0] - 2026-01-22
7+
8+
### Added
9+
10+
- Added the UDP GSO/GRO socket options and CMsgs on Android. This includes the
11+
following types:
12+
- UdpGsoSegment
13+
- UdpGroSegment
14+
- ControlMessage::UdpGsoSegments
15+
- ControlMessageOwned::UdpGroSegments
16+
17+
([#2666](https://github.com/nix-rust/nix/pull/2666))
18+
- Define errno EWOULDBLOCK as an alias of EAGAIN to match the AIX libc
19+
definition. ([#2692](https://github.com/nix-rust/nix/pull/2692))
20+
- Enable module `ifaddrs` on GNU Hurd
21+
([#2697](https://github.com/nix-rust/nix/pull/2697))
22+
- Add termios `OutputFlags::OFILL` for Linux, Android, Aix, Cygwin, Fuchsia,
23+
Haiku,
24+
GNU/Hurd, Nto, Redox, Illumos, Solaris and Apple OSes.
25+
([#2701](https://github.com/nix-rust/nix/pull/2701))
26+
- add sync() for cygwin ([#2708](https://github.com/nix-rust/nix/pull/2708))
27+
28+
### Changed
29+
30+
- changed `EpollEvent` methods to be `const`
31+
([#2656](https://github.com/nix-rust/nix/pull/2656))
32+
- Bumped libc to
33+
[0.2.180](https://github.com/rust-lang/libc/releases/tag/0.2.180)
34+
([#2724](https://github.com/nix-rust/nix/pull/2724))
35+
36+
### Fixed
37+
38+
- Fixed `nix::sys::ptrace::syscall_info`, which was not setting the `data`
39+
argument properly, causing garbage values to be returned.
40+
([#2653](https://github.com/nix-rust/nix/pull/2653))
41+
- Cast the 'addr' argument of 'madvise()' to '*mut u8' on AIX to match the
42+
signature in the AIX libc.
43+
([#2655](https://github.com/nix-rust/nix/pull/2655))
44+
- Fixed the Dir module on NTO, Solaris, Hurd, and possibly other platforms.
45+
The
46+
d_name field was not copied correctly on those platforms. For some other
47+
platforms, it could be copied incorrectly for files with very long pathnames.
48+
([#2674](https://github.com/nix-rust/nix/pull/2674))
49+
- Fix the build on Illumos ([#2694](https://github.com/nix-rust/nix/pull/2694))
50+
51+
### Removed
52+
53+
- Removed `Eq` and `PartialEq` implementations from `SigHandler`, because they
54+
never worked reliably. The suggested alternative is `matches!`. For
55+
example:
56+
```
57+
let h: SigHandler = ...
58+
if matches!(h, SigHandler::SigIgn) {
59+
...
60+
}
61+
``` ([#2642](https://github.com/nix-rust/nix/pull/2642))
62+
- Removed `IFF_NOTRAILERS` by NetBSD, as it has been removed upstream and from
63+
libc ([#2724](https://github.com/nix-rust/nix/pull/2724))
64+
65+
666
## [0.30.1] - 2025-05-04
767
868
### Fixed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "nix"
33
description = "Rust friendly bindings to *nix APIs"
44
edition = "2021"
5-
version = "0.30.1"
5+
version = "0.31.0"
66
rust-version = "1.69"
77
authors = ["The nix-rust Project Developers"]
88
repository = "https://github.com/nix-rust/nix"

changelog/2642.removed.md

Lines changed: 0 additions & 8 deletions
This file was deleted.

changelog/2653.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/2655.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/2656.changed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/2666.added.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

changelog/2674.fixed.md

Lines changed: 0 additions & 3 deletions
This file was deleted.

changelog/2692.added.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

changelog/2694.fixed.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)