#ipc

sendfd

Send file descriptors along with data over UNIX domain sockets

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

#57 in Unix APIs

Download history 4492/week @ 2023-01-30 2740/week @ 2023-02-06 3994/week @ 2023-02-13 3197/week @ 2023-02-20 3453/week @ 2023-02-27 3899/week @ 2023-03-06 5294/week @ 2023-03-13 3997/week @ 2023-03-20 5006/week @ 2023-03-27 5861/week @ 2023-04-03 5673/week @ 2023-04-10 6178/week @ 2023-04-17 9573/week @ 2023-04-24 6474/week @ 2023-05-01 4380/week @ 2023-05-08 10673/week @ 2023-05-15

31,549 downloads per month
Used in 11 crates (5 directly)

Apache-2.0 OR BSD-3-Clause

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–5MB
~70K SLoC