Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Feb 24, 2024

This PR contains the following updates:

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

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 was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Feb 24, 2024

⚠ Artifact update problem

Renovate failed to update artifacts 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: src/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path src/qos_core/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `libc`.
    ... required by package `nix v0.28.0`
    ... which satisfies dependency `nix = "^0.28"` of package `integration v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/integration)`
versions that meet the requirements `^0.2.153` are: 0.2.154, 0.2.153

all possible versions conflict with previously selected packages.

  previously selected package `libc v0.2.148`
    ... which satisfies dependency `libc = "=0.2.148"` of package `qos_core v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/qos_core)`
    ... which satisfies path dependency `qos_core` (locked to 0.1.0) of package `integration v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/integration)`

failed to select a version for `libc` which could resolve this conflict

File name: src/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path src/integration/Cargo.toml --workspace
    Updating crates.io index
error: failed to select a version for `libc`.
    ... required by package `nix v0.28.0`
    ... which satisfies dependency `nix = "^0.28"` of package `integration v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/integration)`
versions that meet the requirements `^0.2.153` are: 0.2.154, 0.2.153

all possible versions conflict with previously selected packages.

  previously selected package `libc v0.2.148`
    ... which satisfies dependency `libc = "=0.2.148"` of package `qos_core v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/qos_core)`
    ... which satisfies path dependency `qos_core` (locked to 0.1.0) of package `integration v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/integration)`

failed to select a version for `libc` which could resolve this conflict

@renovate renovate bot force-pushed the renovate/nix-0.x branch from 79b737b to ab9a64e Compare May 3, 2024 11:39
@renovate renovate bot changed the title fix(deps): update rust crate nix to 0.28 fix(deps): update rust crate nix to 0.28.0 May 3, 2024
@renovate renovate bot force-pushed the renovate/nix-0.x branch from ab9a64e to f234c43 Compare May 5, 2024 11:23
@renovate renovate bot changed the title fix(deps): update rust crate nix to 0.28.0 fix(deps): update rust crate nix to 0.28 May 5, 2024
@renovate renovate bot force-pushed the renovate/nix-0.x branch from f234c43 to a94bc65 Compare May 24, 2024 13:48
@renovate renovate bot changed the title fix(deps): update rust crate nix to 0.28 fix(deps): update rust crate nix to 0.29 May 24, 2024
@renovate
Copy link
Contributor Author

renovate bot commented May 24, 2024

⚠️ 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: src/Cargo.lock
Command failed: cargo update --config net.git-fetch-with-cli=true --manifest-path src/Cargo.toml --package [email protected] --precise 0.30.1
    Updating crates.io index
error: failed to select a version for the requirement `nix = "^0.29.0"`
candidate versions found which didn't match: 0.30.1
location searched: crates.io index
required by package `vsock v0.5.1`
    ... which satisfies dependency `vsock = "^0.5.1"` of package `tokio-vsock v0.7.1`
    ... which satisfies dependency `tokio-vsock = "^0.7.1"` of package `qos_core v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/qos_core)`
    ... which satisfies path dependency `qos_core` (locked to 0.1.0) of package `integration v0.1.0 (/tmp/renovate/repos/github/tkhq/qos/src/integration)`

@renovate renovate bot changed the title fix(deps): update rust crate nix to 0.29 Update Rust crate nix to 0.29 Jun 7, 2024
@renovate renovate bot force-pushed the renovate/nix-0.x branch from a94bc65 to bcbd00f Compare June 21, 2024 16:30
@renovate renovate bot requested a review from a team as a code owner June 21, 2024 16:30
@renovate renovate bot force-pushed the renovate/nix-0.x branch from bcbd00f to 8e78dc5 Compare June 27, 2024 21:21
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 8e78dc5 to aa4298b Compare July 16, 2024 20:29
@lrvick
Copy link
Contributor

lrvick commented Aug 5, 2024

Remember: bots are not people, and they can't sign commits. A human must make this commit, and another human needs to review it.

@renovate renovate bot force-pushed the renovate/nix-0.x branch from aa4298b to 31f5d51 Compare November 17, 2024 15:48
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 31f5d51 to b7643c7 Compare April 7, 2025 14:45
@renovate renovate bot requested a review from a team as a code owner April 7, 2025 14:45
@renovate renovate bot force-pushed the renovate/nix-0.x branch from b7643c7 to c1fd36f Compare April 29, 2025 12:59
@renovate renovate bot changed the title Update Rust crate nix to 0.29 Update Rust crate nix to 0.30 Apr 29, 2025
@renovate renovate bot force-pushed the renovate/nix-0.x branch from c1fd36f to 60d7933 Compare May 10, 2025 18:57
@renovate renovate bot changed the title Update Rust crate nix to 0.30 fix(deps): update rust crate nix to 0.30 May 17, 2025
@renovate renovate bot changed the title fix(deps): update rust crate nix to 0.30 Update Rust crate nix to 0.30 Jun 12, 2025
@renovate renovate bot changed the title Update Rust crate nix to 0.30 fix(deps): update rust crate nix to 0.30 Jun 12, 2025
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 60d7933 to ca7b414 Compare August 10, 2025 15:40
@renovate renovate bot changed the title fix(deps): update rust crate nix to 0.30 Update Rust crate nix to 0.30 Aug 19, 2025
@renovate renovate bot force-pushed the renovate/nix-0.x branch from ca7b414 to f4df0e4 Compare August 23, 2025 01:31
@renovate renovate bot force-pushed the renovate/nix-0.x branch from f4df0e4 to 32a73c1 Compare September 11, 2025 23:19
@renovate renovate bot changed the title Update Rust crate nix to 0.30 chore(deps): update rust crate nix to 0.30.0 Sep 11, 2025
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 32a73c1 to 99e3833 Compare September 25, 2025 17:48
@renovate renovate bot force-pushed the renovate/nix-0.x branch from 99e3833 to 8022b34 Compare October 10, 2025 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants