timer
timer copied to clipboard
build(deps): Update Rust crate nix to 0.30
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| nix | dependencies | minor | 0.29 -> 0.30 |
Release Notes
nix-rust/nix (nix)
v0.30.0
Added
- Add socket option
IPV6_PKTINFOfor BSDs/Linux/Android, alsoIPV6_RECVPKTINFOfor DragonFlyBSD (#2113) - Add
fcntl'sF_PREALLOCATEconstant 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
SeekDataandSeekHoletoWhencefor hurd and apple targets (#2473) - Add
Fromtrait implementation betweenSocketAddrandSockaddr,Sockaddr6(#2474) - Added wrappers for
posix_spawnAPI (#2475) - Add the support for Emscripten. (#2477)
- Add fcntl constant
F_RDADVISEfor Apple target (#2480) - Add fcntl constant
F_RDAHEADfor Apple target (#2482) - Add
F_LOG2PHYSandF_LOG2PHYS_EXTfor Apple target (#2483) MAP_SHARED_VALIDATEwas added for all linux targets. &MAP_SYNCwas added for linux with the exclusion of mips architecures, and uclibc (#2499)- Add
getregs()/getregset()/setregset()for Linux/musl/aarch64 (#2502) - Add FcntlArgs
F_TRANSFEREXTENTSconstant for Apple targets (#2504) - Add
MapFlags::MAP_STACKinsys::manfor netbsd (#2526) - Add support for
libc::LOCAL_PEERTOKENingetsockopt. (#2529) - Add support for
syslog,openlog,closelogon allunix. (#2537) - Add the
TCP_FUNCTION_BLKsockopt, on FreeBSD. (#2539) - Implements
Into<OwnedFd>forPtyMaster/Fanotify/Inotify/SignalFd/TimerFd(#2548) - Add
MremapFlags::MREMAP_DONTUNMAPtosys::mman::mremapfor 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_ALIASsockopt, on FreeBSD. (#2558) - Add
sys::mman::MmapAdviseMADV_PAGEOUT,MADV_COLD,MADV_WIPEONFORK,MADV_KEEPONFORKfor Linux and Android targets (#2559) - Add socket protocol
Sctp, as well asMSG_NOTIFICATIONfor non-Android Linux targets. (#2562) - Added
from_owned_fdconstructor toEventFd(#2563) - Add
sys::mman::MmapAdviseMADV_POPULATE_READ,MADV_POPULATE_WRITEfor Linux and Android targets (#2565) - Added
from_owned_fdconstructor toPtyMaster/Fanotify/Inotify/SignalFd/TimerFd(#2566) - Added
FcntlArg::F_READAHEADfor FreeBSD target (#2569) - Added
sockopt::LingerSecfor Apple targets (#2572) - Added
sockopt::EsclBindfor solarish targets (#2573) - Exposed the
std::os::fd::AsRawFdtrait method fornix::sys::fanotify::Fanotifystruct (#2575) - Add support for syslog's
setlogmaskon allunix. (#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
setsockoptoption for apple targets (#2603) - Add
FilAttachandFilDetachto socket::sockopt for Illumos (#2611) - Add
PeerPidfd(SO_PEERPIDFD) tosocket::sockoptfor Linux (#2620) - Added
socket::sockopt::AttachReusePortCbpffor Linux (#2621) - Add
ptrace::syscall_infofor linux/glibc (#2627)
Changed
- Module sys/signal now adopts I/O safety (#1936)
- Change the type of the
nameargument ofmemfd_create()from&CStrto<P: NixPath>(name: &P)(#2431) - Public interfaces in
fcntl.rsanddir.rsnow use I/O-safe types. (#2434) - Module
sys/statnow adopts I/O safety. (#2439) - Module unistd now adopts I/O safety. (#2440)
- Module sys/fanotify now adopts I/O safety (#2443)
- Socket option
IpToshas been renamed toIpv4Tos, the old symbol is deprecated since 0.30.0 (#2465) - Rename Flags
EventFlagtoEvFlags, andMemFdCreateFlagtoMFdFlags(#2476) - Made
nix::sys::socket::UnknownCmsgpublic 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
nsargument ofsys::prctl::set_timerslack()should be of typec_ulong(#2505) - Properly exclude NUL characters from
OSStrings returned bygetsockopt. (#2557) - Fixes the build on OpenHarmony (#2587)
Removed
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.