Crates.io | station |
lib.rs | station |
version | 0.1.4 |
source | src |
created_at | 2021-02-21 02:07:05.78552 |
updated_at | 2022-08-04 05:13:23.982934 |
description | A network-based interprocess communication (IPC) library. |
homepage | https://github.com/domagalski/station-rs |
repository | https://github.com/domagalski/station-rs |
max_upload_size | |
id | 358318 |
size | 98,421 |
A network-based interprocess communication (IPC) library written in Rust.
I'm writing this to be useful to me. It might not be useful for you.
The station
design is fairly straightforward. It implements two types of IPC,
namely Remote Procedure Calls (RPC) and PubSub. RPC communication is performed
over a stream socket (TCP or Unix stream sockets) and PubSub communication is
performed over datagram sockets (UDP or Unix datagram sockets). This allows
some flexibility in defining how two processes that may or may not be running
on the same machine can talk to each other.
See the unit tests in process.rs
for some examples.