NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
crates.io · #3279 most downloaded on crates.io
A unix domain socket crate that supports abstract addresses, fd-passing and seqpacket sockets.
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 8 days to 2.4 years
Nearly every release is documented
notes for 14 of 14 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
14 releases · first in 2019
Reduce max path length by one on Apple OSes, Illumos and Solaris. (#19) While non-NUL-terminated paths work, the man pages says paths must be NUL-term
UnixSocketAddr::from_raw() never having worked. (#18)Tokio support is back, now for tokio 1.\*.
send_fds() or receive_fds(),
but allow binding and connecting to uds::UnixSocketAddrs, and getting information about the peer.One column per quarter.
Remove tokio support. Because 0.2 is not much used at this point. 1.\* support might be implemented later.
"mio_08": "mio" is reserved for mio 1.0.Don't return truncatedness from UnixSeqpacketConn and tokio::UnixSeqpacketConns recv() and peek() methods. For consistency with the return types of si
UnixSeqpacketConn and tokio::UnixSeqpacketConns recv() and peek() methods.
For consistency with the return types of similar methods on stream and datagram types.recv_vectored() with empty fd buffer if you want to know whether the packet was truncated.UnixDatagramExt::bind_unix_addr(), and remove Sized bound on the trait.UnixSocketaddr's Debug impl.Out-of-bounds writes could have happened if sending both credentials and file descriptors, but sending credetials is not exposed, so that code is unre
Out-of-bounds writes could have happened if sending both credentials
and file descriptors, but sending credetials is not exposed,
so that code is unreachable. Puh.
Add take_error() and into_nonblocking() to tokio seqpacket types.
take_error() and into_nonblocking() to tokio seqpacket types.AsRef to nonblocking variants for tokio seqpacket types.Add send_vectored() and recv_vectored() to ::UnixSeqpacketConn.
send_vectored() and recv_vectored() to ::tokio::UnixSeqpacketConn.peek() and peek_vectored() to ::tokio::UnixSeqpacketConn.send_fds() and recv_fds() to ::tokio::UnixSeqpacketConn.AsRawfd and IntoRawFd for tokio seqpacket types.from_raw_fd() to tokio seqpacket types.from_nonblocking() to ::tokio::UnixSeqpacketListener.initial_peer_credentials() impl for Illumos & Solaris writing to stdout.Implement peer credentials on NetBSD and DragonFly BSD.
initial_peer_selinux_context().initial_peer_credentials() to ::tokio::UnixSeqpacketConn.bind_addr() and local_addr() to ::tokio::UnixSeqpacketListener.connect_addr(), connect_from_addr(), local_addr() and peer_addr()
to ::tokio::UnixSeqpacketConn.Add send_to_unix_addr(), recv_from_unix_addr(), peek_from_unix_addr() and vectored variants to UnixDatagramExt.
send_to_unix_addr(), recv_from_unix_addr(), peek_from_unix_addr() and vectored variants to UnixDatagramExt.UnixDatagramExt::bind_unix_addr().
(with a fallback default impl that creates a nonblocking socket)as_pathname() and as_abstract() to UnixSocketAddr.name() to UnixSocketAddr and rename UnixSocketAddrRef to AddrName,
with a type alias for backwards compatibility.from_raw_bytes() and as_raw_bytes() to UnixSocketAddr.Compile on 64-bit Android (#4).
UnixDatagramExt::recv_fds_from() always returning unnamed adress.UnixSocketAddr::as_ref() and its Debug impl misrepresenting some unnamed addresses
as abstract on operating systems that don't have abstract addresses.UnixSocketAddr::as_ref() and its Debug impl having trailing NULs in paths in rare cases.
(this has only happened on OpenBSD so far).accept4() on x86 Android (based on mio #1445).Add timeout methods to blocking seqpacket types.
take_error() to all seqpacket types.peek() and peek_vectored() to seqpacket connection types.Add mio 0.7 support, behind optional feature mio_07. (mio 0.6 is still supported and enabled with mio feature.)
mio_07.mio feature.)tokio. (by @jmagnuson).shutdown() to seqpacket connection types (by @jmagnuson).SOCK_CLOEXEC, SOCK_NONBLOCK and accept4())Rename UnixSocketAddr::unspecified() to new_unspecified().
UnixSocketAddr::unspecified() to new_unspecified().peer_credentials().Add UnixSocketAddr to support abstract addresses.
UnixSocketAddr to support abstract addresses.UnixSocketAddr)Your coding agent can read these notes before it upgrades. Set up the MCP server →