chore(deps): update rust crate nix to 0.30.0 #954

Open
renovate wants to merge 1 commit from renovate/nix-0.x into main
Collaborator

This PR contains the following updates:

Package Type Update Change
nix workspace.dependencies minor 0.29.0 -> 0.30.0

⚠️ Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

nix-rust/nix (nix)

v0.30.1

Compare Source

Fixed

v0.30.0

Compare Source

Added
  • Add socket option IPV6_PKTINFO for BSDs/Linux/Android, also
    IPV6_RECVPKTINFO for DragonFlyBSD
    (#​2113)
  • Add fcntl's F_PREALLOCATE constant for Apple targets.
    (#​2393)
  • Improve support for extracting the TTL / Hop Limit from incoming packets
    and support for DSCP (ToS / Traffic Class).
    (#​2425)
  • Add socket option IP_TOS (nix::sys::socket::sockopt::IpTos) IPV6_TCLASS
    (nix::sys::socket::sockopt::Ipv6TClass) on Android/FreeBSD
    (#​2464)
  • Add SeekData and SeekHole to Whence for hurd and apple targets
    (#​2473)
  • Add From trait implementation between SocketAddr and Sockaddr,
    Sockaddr6 (#​2474)
  • Added wrappers for posix_spawn API
    (#​2475)
  • Add the support for Emscripten.
    (#​2477)
  • Add fcntl constant F_RDADVISE for Apple target
    (#​2480)
  • Add fcntl constant F_RDAHEAD for Apple target
    (#​2482)
  • Add F_LOG2PHYS and F_LOG2PHYS_EXT for Apple target
    (#​2483)
  • MAP_SHARED_VALIDATE was added for all linux targets. & MAP_SYNC was added
    for linux with the exclusion of mips architecures, and uclibc
    (#​2499)
  • Add getregs()/getregset()/setregset() for Linux/musl/aarch64
    (#​2502)
  • Add FcntlArgs F_TRANSFEREXTENTS constant for Apple targets
    (#​2504)
  • Add MapFlags::MAP_STACK in sys::man for netbsd
    (#​2526)
  • Add support for libc::LOCAL_PEERTOKEN in getsockopt.
    (#​2529)
  • Add support for syslog, openlog, closelog on all unix.
    (#​2537)
  • Add the TCP_FUNCTION_BLK sockopt, on FreeBSD.
    (#​2539)
  • Implements Into<OwnedFd> for PtyMaster/Fanotify/Inotify/SignalFd/TimerFd
    (#​2548)
  • Add MremapFlags::MREMAP_DONTUNMAP to sys::mman::mremap for linux target.
    (#​2555)
  • Added sockopt_impl! to the public API. It's now possible for users to
    define
    their own sockopts without needing to make a PR to Nix.
    (#​2556)
  • Add the TCP_FUNCTION_ALIAS sockopt, on FreeBSD.
    (#​2558)
  • Add sys::mman::MmapAdvise MADV_PAGEOUT, MADV_COLD, MADV_WIPEONFORK,
    MADV_KEEPONFORK for Linux and Android targets
    (#​2559)
  • Add socket protocol Sctp, as well as MSG_NOTIFICATION for non-Android
    Linux targets. (#​2562)
  • Added from_owned_fd constructor to EventFd
    (#​2563)
  • Add sys::mman::MmapAdvise MADV_POPULATE_READ, MADV_POPULATE_WRITE for
    Linux and Android targets
    (#​2565)
  • Added from_owned_fd constructor to
    PtyMaster/Fanotify/Inotify/SignalFd/TimerFd
    (#​2566)
  • Added FcntlArg::F_READAHEAD for FreeBSD target
    (#​2569)
  • Added sockopt::LingerSec for Apple targets
    (#​2572)
  • Added sockopt::EsclBind for solarish targets
    (#​2573)
  • Exposed the std::os::fd::AsRawFd trait method for
    nix::sys::fanotify::Fanotify struct
    (#​2575)
  • Add support for syslog's setlogmask on all unix.
    (#​2579)
  • Added Fuchsia support for ioctl.
    (#​2580)
  • Add sys::socket::SockProtocol::EthIp,
    sys::socket::SockProtocol::EthIpv6,
    sys::socket::SockProtocol::EthLoop
    (#​2581)
  • Add OpenHarmony target into CI and Update documents.
    (#​2599)
  • Added the TcpMaxSeg setsockopt option for apple targets
    (#​2603)
  • Add FilAttach and FilDetach to socket::sockopt for Illumos
    (#​2611)
  • Add PeerPidfd (SO_PEERPIDFD) to socket::sockopt for Linux
    (#​2620)
  • Added socket::sockopt::AttachReusePortCbpf for Linux
    (#​2621)
  • Add ptrace::syscall_info for linux/glibc
    (#​2627)
Changed
  • Module sys/signal now adopts I/O safety
    (#​1936)
  • Change the type of the name argument of memfd_create() from &CStr to
    <P: NixPath>(name: &P) (#​2431)
  • Public interfaces in fcntl.rs and dir.rs now use I/O-safe types.
    (#​2434)
  • Module sys/stat now adopts I/O safety.
    (#​2439)
  • Module unistd now adopts I/O safety.
    (#​2440)
  • Module sys/fanotify now adopts I/O safety
    (#​2443)
  • Socket option IpTos has been renamed to Ipv4Tos, the old symbol is
    deprecated since 0.30.0 (#​2465)
  • Rename Flags EventFlag to EvFlags, and MemFdCreateFlag to MFdFlags
    (#​2476)
  • Made nix::sys::socket::UnknownCmsg public and more readable
    (#​2520)
  • recvmsg: take slice for cmsg_buffer instead of Vec
    (#​2524)
  • linkat: allow distinct types for path arguments
    (#​2582)
Fixed
  • Disable unsupported signals on sparc-linux
    (#​2454)
  • Fix cmsg_len() return type on OpenHarmony
    (#​2456)
  • The ns argument of sys::prctl::set_timerslack() should be of type
    c_ulong (#​2505)
  • Properly exclude NUL characters from OSStrings returned by getsockopt.
    (#​2557)
  • Fixes the build on OpenHarmony
    (#​2587)
Removed
  • Type SigevNotify is no longer PartialEq, Eq and Hash due to the use
    of BorrowedFd (#​1936)
  • EventFd::defuse() is removed because it does nothing, EventFd::arm() is
    also removed for symmetry reasons.
    (#​2452)
  • Removed the Copy trait from PollFd
    (#​2631)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [nix](https://github.com/nix-rust/nix) | workspace.dependencies | minor | `0.29.0` -> `0.30.0` | --- > ⚠️ **Warning** > > Some dependencies could not be looked up. Check the Dependency Dashboard for more information. --- ### Release Notes <details> <summary>nix-rust/nix (nix)</summary> ### [`v0.30.1`](https://github.com/nix-rust/nix/blob/HEAD/CHANGELOG.md#0301---2025-05-04) [Compare Source](https://github.com/nix-rust/nix/compare/v0.30.0...v0.30.1) ##### Fixed - doc.rs build ([#&#8203;2634](https://github.com/nix-rust/nix/pull/2634)) ### [`v0.30.0`](https://github.com/nix-rust/nix/blob/HEAD/CHANGELOG.md#0300---2025-04-29) [Compare Source](https://github.com/nix-rust/nix/compare/v0.29.0...v0.30.0) ##### Added - Add socket option `IPV6_PKTINFO` for BSDs/Linux/Android, also `IPV6_RECVPKTINFO` for DragonFlyBSD ([#&#8203;2113](https://github.com/nix-rust/nix/pull/2113)) - Add `fcntl`'s `F_PREALLOCATE` constant for Apple targets. ([#&#8203;2393](https://github.com/nix-rust/nix/pull/2393)) - Improve support for extracting the TTL / Hop Limit from incoming packets and support for DSCP (ToS / Traffic Class). ([#&#8203;2425](https://github.com/nix-rust/nix/pull/2425)) - Add socket option IP\_TOS (nix::sys::socket::sockopt::IpTos) IPV6\_TCLASS (nix::sys::socket::sockopt::Ipv6TClass) on Android/FreeBSD ([#&#8203;2464](https://github.com/nix-rust/nix/pull/2464)) - Add `SeekData` and `SeekHole` to `Whence` for hurd and apple targets ([#&#8203;2473](https://github.com/nix-rust/nix/pull/2473)) - Add `From` trait implementation between `SocketAddr` and `Sockaddr`, `Sockaddr6` ([#&#8203;2474](https://github.com/nix-rust/nix/pull/2474)) - Added wrappers for `posix_spawn` API ([#&#8203;2475](https://github.com/nix-rust/nix/pull/2475)) - Add the support for Emscripten. ([#&#8203;2477](https://github.com/nix-rust/nix/pull/2477)) - Add fcntl constant `F_RDADVISE` for Apple target ([#&#8203;2480](https://github.com/nix-rust/nix/pull/2480)) - Add fcntl constant `F_RDAHEAD` for Apple target ([#&#8203;2482](https://github.com/nix-rust/nix/pull/2482)) - Add `F_LOG2PHYS` and `F_LOG2PHYS_EXT` for Apple target ([#&#8203;2483](https://github.com/nix-rust/nix/pull/2483)) - `MAP_SHARED_VALIDATE` was added for all linux targets. & `MAP_SYNC` was added for linux with the exclusion of mips architecures, and uclibc ([#&#8203;2499](https://github.com/nix-rust/nix/pull/2499)) - Add `getregs()`/`getregset()`/`setregset()` for Linux/musl/aarch64 ([#&#8203;2502](https://github.com/nix-rust/nix/pull/2502)) - Add FcntlArgs `F_TRANSFEREXTENTS` constant for Apple targets ([#&#8203;2504](https://github.com/nix-rust/nix/pull/2504)) - Add `MapFlags::MAP_STACK` in `sys::man` for netbsd ([#&#8203;2526](https://github.com/nix-rust/nix/pull/2526)) - Add support for `libc::LOCAL_PEERTOKEN` in `getsockopt`. ([#&#8203;2529](https://github.com/nix-rust/nix/pull/2529)) - Add support for `syslog`, `openlog`, `closelog` on all `unix`. ([#&#8203;2537](https://github.com/nix-rust/nix/pull/2537)) - Add the `TCP_FUNCTION_BLK` sockopt, on FreeBSD. ([#&#8203;2539](https://github.com/nix-rust/nix/pull/2539)) - Implements `Into<OwnedFd>` for `PtyMaster/Fanotify/Inotify/SignalFd/TimerFd` ([#&#8203;2548](https://github.com/nix-rust/nix/pull/2548)) - Add `MremapFlags::MREMAP_DONTUNMAP` to `sys::mman::mremap` for linux target. ([#&#8203;2555](https://github.com/nix-rust/nix/pull/2555)) - Added `sockopt_impl!` to the public API. It's now possible for users to define their own sockopts without needing to make a PR to Nix. ([#&#8203;2556](https://github.com/nix-rust/nix/pull/2556)) - Add the `TCP_FUNCTION_ALIAS` sockopt, on FreeBSD. ([#&#8203;2558](https://github.com/nix-rust/nix/pull/2558)) - Add `sys::mman::MmapAdvise` `MADV_PAGEOUT`, `MADV_COLD`, `MADV_WIPEONFORK`, `MADV_KEEPONFORK` for Linux and Android targets ([#&#8203;2559](https://github.com/nix-rust/nix/pull/2559)) - Add socket protocol `Sctp`, as well as `MSG_NOTIFICATION` for non-Android Linux targets. ([#&#8203;2562](https://github.com/nix-rust/nix/pull/2562)) - Added `from_owned_fd` constructor to `EventFd` ([#&#8203;2563](https://github.com/nix-rust/nix/pull/2563)) - Add `sys::mman::MmapAdvise` `MADV_POPULATE_READ`, `MADV_POPULATE_WRITE` for Linux and Android targets ([#&#8203;2565](https://github.com/nix-rust/nix/pull/2565)) - Added `from_owned_fd` constructor to `PtyMaster/Fanotify/Inotify/SignalFd/TimerFd` ([#&#8203;2566](https://github.com/nix-rust/nix/pull/2566)) - Added `FcntlArg::F_READAHEAD` for FreeBSD target ([#&#8203;2569](https://github.com/nix-rust/nix/pull/2569)) - Added `sockopt::LingerSec` for Apple targets ([#&#8203;2572](https://github.com/nix-rust/nix/pull/2572)) - Added `sockopt::EsclBind` for solarish targets ([#&#8203;2573](https://github.com/nix-rust/nix/pull/2573)) - Exposed the `std::os::fd::AsRawFd` trait method for `nix::sys::fanotify::Fanotify` struct ([#&#8203;2575](https://github.com/nix-rust/nix/pull/2575)) - Add support for syslog's `setlogmask` on all `unix`. ([#&#8203;2579](https://github.com/nix-rust/nix/pull/2579)) - Added Fuchsia support for `ioctl`. ([#&#8203;2580](https://github.com/nix-rust/nix/pull/2580)) - Add `sys::socket::SockProtocol::EthIp`, `sys::socket::SockProtocol::EthIpv6`, `sys::socket::SockProtocol::EthLoop` ([#&#8203;2581](https://github.com/nix-rust/nix/pull/2581)) - Add OpenHarmony target into CI and Update documents. ([#&#8203;2599](https://github.com/nix-rust/nix/pull/2599)) - Added the TcpMaxSeg `setsockopt` option for apple targets ([#&#8203;2603](https://github.com/nix-rust/nix/pull/2603)) - Add `FilAttach` and `FilDetach` to socket::sockopt for Illumos ([#&#8203;2611](https://github.com/nix-rust/nix/pull/2611)) - Add `PeerPidfd` (`SO_PEERPIDFD`) to `socket::sockopt` for Linux ([#&#8203;2620](https://github.com/nix-rust/nix/pull/2620)) - Added `socket::sockopt::AttachReusePortCbpf` for Linux ([#&#8203;2621](https://github.com/nix-rust/nix/pull/2621)) - Add `ptrace::syscall_info` for linux/glibc ([#&#8203;2627](https://github.com/nix-rust/nix/pull/2627)) ##### Changed - Module sys/signal now adopts I/O safety ([#&#8203;1936](https://github.com/nix-rust/nix/pull/1936)) - Change the type of the `name` argument of `memfd_create()` from `&CStr` to `<P: NixPath>(name: &P)` ([#&#8203;2431](https://github.com/nix-rust/nix/pull/2431)) - Public interfaces in `fcntl.rs` and `dir.rs` now use I/O-safe types. ([#&#8203;2434](https://github.com/nix-rust/nix/pull/2434)) - Module `sys/stat` now adopts I/O safety. ([#&#8203;2439](https://github.com/nix-rust/nix/pull/2439)) - Module unistd now adopts I/O safety. ([#&#8203;2440](https://github.com/nix-rust/nix/pull/2440)) - Module sys/fanotify now adopts I/O safety ([#&#8203;2443](https://github.com/nix-rust/nix/pull/2443)) - Socket option `IpTos` has been renamed to `Ipv4Tos`, the old symbol is deprecated since 0.30.0 ([#&#8203;2465](https://github.com/nix-rust/nix/pull/2465)) - Rename Flags `EventFlag` to `EvFlags`, and `MemFdCreateFlag` to `MFdFlags` ([#&#8203;2476](https://github.com/nix-rust/nix/pull/2476)) - Made `nix::sys::socket::UnknownCmsg` public and more readable ([#&#8203;2520](https://github.com/nix-rust/nix/pull/2520)) - recvmsg: take slice for cmsg\_buffer instead of Vec ([#&#8203;2524](https://github.com/nix-rust/nix/pull/2524)) - linkat: allow distinct types for path arguments ([#&#8203;2582](https://github.com/nix-rust/nix/pull/2582)) ##### Fixed - Disable unsupported signals on sparc-linux ([#&#8203;2454](https://github.com/nix-rust/nix/pull/2454)) - Fix cmsg\_len() return type on OpenHarmony ([#&#8203;2456](https://github.com/nix-rust/nix/pull/2456)) - The `ns` argument of `sys::prctl::set_timerslack()` should be of type `c_ulong` ([#&#8203;2505](https://github.com/nix-rust/nix/pull/2505)) - Properly exclude NUL characters from `OSString`s returned by `getsockopt`. ([#&#8203;2557](https://github.com/nix-rust/nix/pull/2557)) - Fixes the build on OpenHarmony ([#&#8203;2587](https://github.com/nix-rust/nix/pull/2587)) ##### Removed - Type `SigevNotify` is no longer `PartialEq`, `Eq` and `Hash` due to the use of `BorrowedFd` ([#&#8203;1936](https://github.com/nix-rust/nix/pull/1936)) - `EventFd::defuse()` is removed because it does nothing, `EventFd::arm()` is also removed for symmetry reasons. ([#&#8203;2452](https://github.com/nix-rust/nix/pull/2452)) - Removed the `Copy` trait from `PollFd` ([#&#8203;2631](https://github.com/nix-rust/nix/pull/2631)) </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44OS4zIiwidXBkYXRlZEluVmVyIjoiNDEuOTEuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiRGVwZW5kZW5jaWVzIiwiRGVwZW5kZW5jaWVzL1Jlbm92YXRlIl19-->
chore(deps): update rust crate nix to 0.30.0
Some checks failed
renovate/artifacts Artifact file update failure
Documentation / Build and Deploy Documentation (pull_request) Successful in 57s
Checks / Prek / Pre-commit & Formatting (push) Failing after 52s
Release Docker Image / define-variables (push) Successful in 16s
Checks / Prek / Clippy and Cargo Tests (push) Failing after 2m9s
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Failing after 6m26s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Failing after 6m14s
Release Docker Image / merge (push) Has been skipped
9bc79d3eb8
Author
Collaborator

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: Cargo.lock
Command failed: install-tool rust 1.89.0

### ⚠️ Artifact update problem Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is. ♻ Renovate will retry this branch, including artifacts, only when one of the following happens: - any of the package files in this branch needs updating, or - the branch becomes conflicted, or - you click the rebase/retry checkbox if found above, or - you rename this PR's title to start with "rebase!" to trigger it manually The artifact failure details are included below: ##### File name: Cargo.lock ``` Command failed: install-tool rust 1.89.0 ```
Some checks failed
renovate/artifacts Artifact file update failure
Documentation / Build and Deploy Documentation (pull_request) Successful in 57s
Checks / Prek / Pre-commit & Formatting (push) Failing after 52s
Required
Details
Release Docker Image / define-variables (push) Successful in 16s
Checks / Prek / Clippy and Cargo Tests (push) Failing after 2m9s
Required
Details
Release Docker Image / build-image (linux/amd64, release, linux-amd64, base) (push) Failing after 6m26s
Release Docker Image / build-image (linux/arm64, release, linux-arm64, base) (push) Failing after 6m14s
Release Docker Image / merge (push) Has been skipped
This pull request is blocked because it's outdated.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin renovate/nix-0.x:renovate/nix-0.x
git switch renovate/nix-0.x
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: continuwuation/continuwuity#954
No description provided.