ipckit 0.1.1

A cross-platform IPC (Inter-Process Communication) library for Rust and Python
Documentation

ipckit

A cross-platform IPC (Inter-Process Communication) library for Rust and Python.

Features

  • Pipes: Anonymous and named pipes for parent-child process communication
  • Shared Memory: Fast data sharing between processes using memory-mapped regions
  • Unix Domain Sockets / Named Pipes: Bidirectional communication channels
  • Message Channels: High-level message passing with serialization support
  • File Channel: Simple file-based IPC for frontend-backend communication

Example

use ipckit::{NamedPipe, IpcError};

fn main() -> Result<(), IpcError> {
    // Create a named pipe server
    let server = NamedPipe::create("my_pipe")?;

    // In another process, connect as client
    // let client = NamedPipe::connect("my_pipe")?;

    Ok(())
}