28 stable releases (10 major)

new 18.0.0 Jul 20, 2021
17.1.0 Jun 7, 2021
17.0.1 Feb 1, 2021
16.0.0 Dec 14, 2020
6.0.0 Feb 16, 2017
Download history 12368/week @ 2021-04-03 11032/week @ 2021-04-10 10781/week @ 2021-04-17 11134/week @ 2021-04-24 11571/week @ 2021-05-01 11414/week @ 2021-05-08 11902/week @ 2021-05-15 12247/week @ 2021-05-22 13098/week @ 2021-05-29 14102/week @ 2021-06-05 13911/week @ 2021-06-12 13233/week @ 2021-06-19 12155/week @ 2021-06-26 14958/week @ 2021-07-03 13104/week @ 2021-07-10 11530/week @ 2021-07-17

54,287 downloads per month
Used in 20 crates (4 directly)

MIT license

130KB
3.5K SLoC

jsonrpc-ipc-server

IPC server (Windows & Linux) for JSON-RPC 2.0.

Documentation

Example

Cargo.toml

[dependencies]
jsonrpc-ipc-server = "15.0"

main.rs

extern crate jsonrpc_ipc_server;

use jsonrpc_ipc_server::ServerBuilder;
use jsonrpc_ipc_server::jsonrpc_core::*;

fn main() {
	let mut io = IoHandler::new();
	io.add_method("say_hello", |_params| {
		Ok(Value::String("hello".into()))
	});

	let builder = ServerBuilder::new(io);
	let server = builder.start("/tmp/json-ipc-test.ipc").expect("Couldn't open socket");
	server.wait();
}

lib.rs:

Cross-platform JSON-RPC IPC transport.

Dependencies

~9MB
~177K SLoC