Crates.io | sendfd |
lib.rs | sendfd |
version | 0.4.3 |
source | src |
created_at | 2016-11-09 01:33:29.160075 |
updated_at | 2022-07-01 18:49:48.953749 |
description | Send file descriptors along with data over UNIX domain sockets |
homepage | |
repository | https://github.com/standard-ai/sendfd |
max_upload_size | |
id | 7190 |
size | 39,643 |
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.