NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io
crates.io, #2661 most downloaded on crates.io
Interprocess communication toolkit
Latest stable
2.4.8
Last release 14 days ago
08 Nov 2026
Release timing varies
gaps range from 2 weeks to 11 months
Nearly every release is documented
notes for 26 of 27 stable releases
1 version withdrawn
withdrawn after publishing
6 years old
28 releases · first in 2020
Drag across the ruler to compare, or tap a release to open it.
Fixed a link in unnamed pipe docs (#104).
fcntl(F_SETFL) without a preceding fcntl(F_GETFL), saving one syscall when set_nonblocking is called on local sockets. Usage of ioctl(FIONBIO) has been removed for consistency.LocalSocketStream::split has been deprecated in favor of putting the stream in an Rc or Arc to better express the behavior and performance characteris…
LocalSocketStream::split has been deprecated in favor of putting the stream in an Rc or Arc to better express the behavior and performance characteristics of the code in terms that are common to all Rust programs (since an Arc is what splitting uses under the hood).TryFrom<OwnedHandle> on named pipes no longer attempts to reopen them into overlapped mode. The old mechanism was based on a misunderstanding of what ReOpenFile does for named pipes. See #100 for more information.ConnectNamedPipe completing spuriously due to not being passed an OVERLAPPED structure (#101).Your coding agent can read these notes before it upgrades. Set up the MCP server →
Migrated from AsyncFd::with_interest to AsyncFd::register_with_interest per tokio-rs/tokio#8539.
AsyncFd::with_interest to AsyncFd::register_with_interest per tokio-rs/tokio#8539.PeerCreds has been improved on xucred platforms (FreeBSD, Dragonfly BSD, Apple platforms):
PeerCreds has been improved on xucred platforms (FreeBSD, Dragonfly BSD, Apple platforms):
cr_groups, egid now returns Some and groups no longer includes the EGID twice.PeerCreds into the standard library.PeerCreds now has a method groups_truncated for checking if the groups returned by groups are not the full set of supplementary groups due to platform limitations.Fixed a dead link in the readme and a typo in the docs.
checks-and-tests.py is no longer packaged by Cargo to avoid tricking distro package managers into thinking Interprocess requires Python (#98).A few documentation improvements have been made. In particular, the readme has been made nicer to look at, and those who are lost and not sure which I
#![doc = include_str!("../README.md")]!Some unused code has been removed for peace-of-mind reasons (particularly due to #92).
Now dual-licensed as 0BSD OR Apache-2.0. No restrictions are introduced by this change; it simply guarantees that I will not engage in patent trolling
0BSD OR Apache-2.0. No restrictions are introduced by this change; it simply guarantees that I will not engage in patent trolling.xucred being misspelled as ucred in the documentation of PeerCreds.windows-sys version 0.61.2.split on local socket streams has been soft-deprecated due to being identical in functionality and performance characteristics to putting the local so…
split on local socket streams has been soft-deprecated due to being identical in functionality and performance characteristics to putting the local socket stream into an Rc or Arc. Deprecation warnings will not be emitted for programs that use split, but replacing it with Rc or Arc is preferred.peer_pid is back in style: local socket streams now have a peer_creds method that returns the credentials of the other side of the connection. Those include the process ID, effective user and group ID, and list of supplementary groups.MaybeArc::try_make_owned (called in reunite) that was introduced in version 2.0.0. To my knowledge, it is not possible to trigger undefined behavior from safe code using this bug.NonZeroIsize, since 0 is not a valid handle value).Fixed the build failure on 32-bit Unix systems caused by an assumption that the type of tv_nsec in struct timespec implements From , which is not the
tv_nsec in struct timespec implements From<u32>, which is not the case on 32-bit Linux, where that field is signed.os::named_pipe::PipeListenerOptionsExt has been deprecated in favor of inherent methods fulfilling the same function. The deprecation warning can be f…
local_socket::ListenerOptions::try_overwrite to 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.AsSecurityDescriptorExt::write_to_security_attributes_ptr to work around windows-sys version churn (see #84).os::windows::named_pipe::tokio::PipeListenerOptionsExt has been deprecated in favor of inherent methods fulfilling the same function. The deprecation warning can be fixed by simply removing the import.SpecialDirUdSocket is 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::mode has been improved:
umask fallback has been removed – the method will now return ErrorKind::Unsupported on platforms on which the mode of a Unix domain socket listener cannot be changed atomically.set_nonblocking methods now use FIONBIO on Linux to reduce the number of system calls. Additionally, some superfluous fcntl(F_GETFL) calls have been optimized out on other platforms.Minor fixes in documentation and examples.
Fixes the build on Android.
Fixes the build on Android.
Reverted the change from hardcoded /tmp to $TMPDIR for `SpecialDirUdSocket` on non-Android platforms. On Android, the hardcoded path is now /data/loca
Reverted the change from hardcoded /tmp to $TMPDIR for SpecialDirUdSocket on non-Android platforms. On Android, the hardcoded path is now /data/local/tmp.
Tokio-based unnamed pipes, with subpar performance on Windows due to OS API limitations
Removed async Incoming and futures::Stream ("AsyncIterator") implementations on local_socket::Listener implementors – those were actually completely b
Incoming and futures::Stream ("AsyncIterator") implementations on local_socket::traits::Listener implementors – 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 in umask fallback mode and improved its documentationdoctest-file crateAdds Iterator impl on local socket listeners (closes #64)
Iterator impl on local socket listeners (closes #64)Fixed a portability bug that broke the build on Android (#62, #63)
The long-awaited 2.0.0 release brings substantial API enhancements that constitute breaking changes, countless bugfixes, better portability, some futu…
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.toml to 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.
recvmsg crate – it is now part of the public API of Interprocesssignal_hookRemoved Ud-socket ancillary data example because the API is currently being reworked and the current version is deprecated.
…processes against privilege escalation vulnerabilities
tokio_support feature gate. Ud-sockets, Windows named pipes and local sockets now have Tokio counterparts.set_destination()The os::signal and os::signal modules now require the signals feature flag (enabled by default for compatibility). This allows removing the majority o
os::unix::signal and os::windows::signal modules now require the signals feature flag (enabled by default for compatibility). This allows removing the majority of dependencies if you don't need the functionality. The next breaking release will disable the feature by default.signals feature flag.Nonblocking mode can now be activated for named pipes on Windows, Unix domain sockets and local sockets.
set_nonblocking on LocalSocketStreamset_nonblocking on LocalSocketListenerpeer_pid on LocalSocketStreamImplemented ANSI C signals for Windows. The interface is as close to Unix signals as possible, but has some intricate differences which prevent a comm
spin to spinning because the former is unmaintained and has a RustSec entry for that reason. Stay safe, friends.The nonblocking module now houses an asynchronous wrapper around local sockets. Currently, the implementation simply spawns additional threads using t
nonblocking module now houses an asynchronous wrapper around local sockets. Currently, the implementation simply spawns additional threads using the blocking crate.doc_cfg feature is enabled, displays blue notice badges on all platform-specific items.Signal handler setters can now report errors (breaking)
set_unsafe_handler and HandlerOptions::set_unsafe because ignoring SegmentationFault and MemoryBusError signals is unsoundSignalType for checking for unblockable and unsafe signal typesNothing published for this version
A pre-release with most of the originally planned features. Not thoroughly tested, some parts might be broken or non-functional. Currently the followi
A pre-release with most of the originally planned features. Not thoroughly tested, some parts might be broken or non-functional. Currently the following features are implemented:
The following are planned to be implemented shortly:
One column per quarter.