3 unstable releases

0.2.1 Jun 8, 2024
0.2.0 Jun 8, 2024
0.1.0 May 28, 2024

#29 in #linux-process

Download history 1/week @ 2024-08-30 3/week @ 2024-09-06 6/week @ 2024-09-13 22/week @ 2024-09-20 16/week @ 2024-09-27 3/week @ 2024-10-04 9/week @ 2024-10-11 4/week @ 2024-10-18 2/week @ 2024-10-25 8/week @ 2024-11-01 2/week @ 2024-11-08 13/week @ 2024-11-15 19/week @ 2024-11-22 4/week @ 2024-11-29 17/week @ 2024-12-06

53 downloads per month

GPL-3.0-only

7KB
85 lines

Linux IPC

Linux IPC is a high-level Inter-Process Communication (IPC) library designed specifically for Linux systems. It provides a convenient and efficient way to facilitate communication between processes running on the same system using Unix domain sockets.

Features

  • Simplified API: This library offers a straightforward API for creating, connecting to, sending data and receiving data from Unix domain sockets, making IPC implementation hassle-free.

  • Client-Server Architecture: The library supports both client and server roles, enabling you to establish communication channels between processes in a flexible and scalable manner.

  • Efficient Data Serialization: This library uses serde and bincode for efficient serialization and deserialization of data, allowing you to send more complicated data structures over IPC.

Getting Started

Add the dependency linux-ipc to your rust project and take a look at one of the example folders, it will contain an example for a server receiving a struct and a client sending the struct.

Contributing

Contributions to this library are welcome! If you encounter any issues or have ideas for improvements, feel free to open an issue or submit a pull request on GitHub.

License

This project is licensed under the GPLv3 License - see the LICENSE file for details.

Dependencies

~0.6–1.2MB
~27K SLoC