chore(deps): update rust crate interprocess to v2 #43
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:
1.2→2.0Release Notes
kotauskas/interprocess (interprocess)
v2.3.1Compare Source
tv_nsecinstruct timespecimplementsFrom<u32>, which is not the case on 32-bit Linux, where that field is signed.v2.3.0Compare Source
General
local_socket::ListenerOptions::try_overwriteto streamline the common case of dealing with "address in use" errors.local_socket::ConnectOptions, allowing clients to specify the connection timeout and make use of zero-cost nonblocking mode enablement.os::unix::uds_local_socket::Stream::inner,os::windows::named_pipe::local_socket::Stream::inner, and so on).inspect-platform, has been added to help investigate the behavior of platforms that Interprocess has previously not been ported to.Windows
AsSecurityDescriptorExt::write_to_security_attributes_ptrto work aroundwindows-sysversion churn (see #84).os::windows::named_pipe::tokio::PipeListenerOptionsExthas been deprecated in favor of inherent methods fulfilling the same function. The deprecation warning can be fixed by simply removing the import.Unix
SpecialDirUdSocketis now deprecated due to complicated and potentially undesirable fallback behavior./run/user/<uid>), "world-writable" (/tmp), "root-writable and world-readable" (/run) will be added in a future version.ListenerOptionsExt::modehas been improved:umaskfallback has been removed – the method will now returnErrorKind::Unsupportedon platforms on which the mode of a Unix domain socket listener cannot be changed atomically.set_nonblockingmethods now useFIONBIOon Linux to reduce the number of system calls. Additionally, some superfluousfcntl(F_GETFL)calls have been optimized out on other platforms.v2.2.3Compare Source
v2.2.2: – fix for AndroidCompare Source
Fixes the build on Android.
v2.2.1Compare Source
Reverted the change from hardcoded
/tmpto$TMPDIRforSpecialDirUdSocketon non-Android platforms. On Android, the hardcoded path is now/data/local/tmp.v2.2.0: – Tokio unnamed pipesCompare Source
v2.1.1Compare Source
Incomingandfutures::Stream("AsyncIterator") implementations onlocal_socket::traits::Listenerimplementors – those were actually completely broken, so this change is not breaking in practice and thus does not warrant a bump to 3.0.0ListenerOptionsExt::mode()behavior inumaskfallback mode and improved its documentationdoctest-filecratev2.1.0: – listeners are now iteratorsCompare Source
Iteratorimpl on local socket listeners (closes #64)v2.0.1: – fix for non-x86 platformsCompare Source
v2.0.0Compare Source
The long-awaited 2.0.0 release brings substantial API enhancements that constitute breaking changes, countless bugfixes, better portability, some future-proofing, a grand refactor and significant scope creep mitigation.
You can upgrade to the new version by changing your
Cargo.tomlto depend on Interprocess 2.0.0 instead of 1.2.1 and fixing the compilation errors that ensue. The behavioral changes have been made in a manner that avoids the introduction of bugs that successfully compile. The Rustdoc documentation contains all the information that's needed to write code that uses Interprocess 2.0.0, and, by extension, all the information that's needed to port dependents of Interprocess 1.2.1.recvmsgcrate – it is now part of the public API of Interprocesssignal_hookConfiguration
📅 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.
This PR was generated by Mend Renovate. View the repository job log.