Update all non-major dependencies #496
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
0.29->0.300.10.8->0.10.93.19.1->3.20.00.8.20->0.8.22Release Notes
nix-rust/nix (nix)
v0.30.1Compare Source
Fixed
(#2634)
v0.30.0Compare Source
Added
IPV6_PKTINFOfor BSDs/Linux/Android, alsoIPV6_RECVPKTINFOfor DragonFlyBSD(#2113)
fcntl'sF_PREALLOCATEconstant for Apple targets.(#2393)
and support for DSCP (ToS / Traffic Class).
(#2425)
(nix::sys::socket::sockopt::Ipv6TClass) on Android/FreeBSD
(#2464)
SeekDataandSeekHoletoWhencefor hurd and apple targets(#2473)
Fromtrait implementation betweenSocketAddrandSockaddr,Sockaddr6(#2474)posix_spawnAPI(#2475)
(#2477)
F_RDADVISEfor Apple target(#2480)
F_RDAHEADfor Apple target(#2482)
F_LOG2PHYSandF_LOG2PHYS_EXTfor Apple target(#2483)
MAP_SHARED_VALIDATEwas added for all linux targets. &MAP_SYNCwas addedfor linux with the exclusion of mips architecures, and uclibc
(#2499)
getregs()/getregset()/setregset()for Linux/musl/aarch64(#2502)
F_TRANSFEREXTENTSconstant for Apple targets(#2504)
MapFlags::MAP_STACKinsys::manfor netbsd(#2526)
libc::LOCAL_PEERTOKENingetsockopt.(#2529)
syslog,openlog,closelogon allunix.(#2537)
TCP_FUNCTION_BLKsockopt, on FreeBSD.(#2539)
Into<OwnedFd>forPtyMaster/Fanotify/Inotify/SignalFd/TimerFd(#2548)
MremapFlags::MREMAP_DONTUNMAPtosys::mman::mremapfor linux target.(#2555)
sockopt_impl!to the public API. It's now possible for users todefine
their own sockopts without needing to make a PR to Nix.
(#2556)
TCP_FUNCTION_ALIASsockopt, on FreeBSD.(#2558)
sys::mman::MmapAdviseMADV_PAGEOUT,MADV_COLD,MADV_WIPEONFORK,MADV_KEEPONFORKfor Linux and Android targets(#2559)
Sctp, as well asMSG_NOTIFICATIONfor non-AndroidLinux targets. (#2562)
from_owned_fdconstructor toEventFd(#2563)
sys::mman::MmapAdviseMADV_POPULATE_READ,MADV_POPULATE_WRITEforLinux and Android targets
(#2565)
from_owned_fdconstructor toPtyMaster/Fanotify/Inotify/SignalFd/TimerFd(#2566)
FcntlArg::F_READAHEADfor FreeBSD target(#2569)
sockopt::LingerSecfor Apple targets(#2572)
sockopt::EsclBindfor solarish targets(#2573)
std::os::fd::AsRawFdtrait method fornix::sys::fanotify::Fanotifystruct(#2575)
setlogmaskon allunix.(#2579)
ioctl.(#2580)
sys::socket::SockProtocol::EthIp,sys::socket::SockProtocol::EthIpv6,sys::socket::SockProtocol::EthLoop(#2581)
(#2599)
setsockoptoption for apple targets(#2603)
FilAttachandFilDetachto socket::sockopt for Illumos(#2611)
PeerPidfd(SO_PEERPIDFD) tosocket::sockoptfor Linux(#2620)
socket::sockopt::AttachReusePortCbpffor Linux(#2621)
ptrace::syscall_infofor linux/glibc(#2627)
Changed
(#1936)
nameargument ofmemfd_create()from&CStrto<P: NixPath>(name: &P)(#2431)fcntl.rsanddir.rsnow use I/O-safe types.(#2434)
sys/statnow adopts I/O safety.(#2439)
(#2440)
(#2443)
IpToshas been renamed toIpv4Tos, the old symbol isdeprecated since 0.30.0 (#2465)
EventFlagtoEvFlags, andMemFdCreateFlagtoMFdFlags(#2476)
nix::sys::socket::UnknownCmsgpublic and more readable(#2520)
(#2524)
(#2582)
Fixed
(#2454)
(#2456)
nsargument ofsys::prctl::set_timerslack()should be of typec_ulong(#2505)OSStrings returned bygetsockopt.(#2557)
(#2587)
Removed
SigevNotifyis no longerPartialEq,EqandHashdue to the useof
BorrowedFd(#1936)EventFd::defuse()is removed because it does nothing,EventFd::arm()isalso removed for symmetry reasons.
(#2452)
Copytrait fromPollFd(#2631)
RustCrypto/hashes (sha2)
v0.10.9Compare Source
Stebalien/tempfile (tempfile)
v3.20.0Compare Source
This release mostly unifies the behavior/capabilities around "keeping" temporary files:
Builder::keep(bool)(via deprecation) toBuilder::disable_cleanup(bool)to make it clear that behaves differently fromNamedTempFile::keep(). The former disables automatic cleanup while the latter consumes theNamedTempFileobject entirely and unsets the "temporary file" attribute (on Windows).TempDir::into_path(via deprecation) toTempDir::keepto mirrorNamedTempFile::keep.TempDir::disable_cleanup,NamedTempFile::disable_cleanup, andTempPath::disable_cleanupmaking it possible to disable automatic cleanup in-place after creating a temporary file/directory (equivalent to callingBuilder::disable_cleanupbefore creating the file/directory).Additionally, it adds a few spooled temporary file features:
SpooledTempFile::into_filefor turning aSpooledTempFileinto a regular unnamed temporary file, writing it to the backing storage ("rolling" it) if it was still stored in-memory.spooled_tempfile_inandSpooledTempFile::new_inmethods for creating spooled temporary files in a specific directory. This makes it possible to choose the backing device for your spooled temporary file which is rather important on Linux where the default temporary directory is likely backed by memory (defeating the entire point of having a spooled temporary file).Finally, this release improves documentation, especially the top-level documentation explaining which temporary file type to use.
BREAKING for those with
deny(warnings):Builder::keepdeprecated in favor ofBuilder::disable_cleanup.TempDir::into_pathis deprecated in favor ofTempDir::keep.BREAKING:
toml-rs/toml (toml)
v0.8.22Compare Source
v0.8.21Compare Source
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 is behind base branch, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR was generated by Mend Renovate. View the repository job log.