10 releases
Uses old Rust 2015
0.4.3 | Jul 1, 2022 |
---|---|
0.4.1 | Feb 9, 2022 |
0.4.0 | Sep 15, 2021 |
0.3.3 | Oct 28, 2020 |
0.1.0 | Nov 9, 2016 |
#470 in Network programming
121,738 downloads per month
Used in 22 crates
(9 directly)
24KB
317 lines
sendfd
sendfd is a little bare-bones crate that provides APIs to send file descriptors over UNIX sockets in Rust.
This is done by providing an extension trait that is implemented by the UNIX domain socket types available in the standard library and (optionally) Tokio. For more information, see the documentation.
There is no intention to make this crate a cross-platform abstraction (use the ipc-channel
crate
for that).
Thanks to roblabla for giving us the crate name, as well as for the inspiration from their original implementation.
sendfd is distributed under Apache 2.0 or BSD 3-clause license at your choice.
Dependencies
~0–7.5MB
~59K SLoC