21 stable releases (6 major)

✓ Uses Rust 2018 edition

14.2.0 Jun 3, 2020
14.0.7 Feb 7, 2020
14.0.6 Dec 4, 2019
14.0.5 Nov 28, 2019
6.0.0 Feb 16, 2017
Download history 662/week @ 2020-03-12 2770/week @ 2020-03-19 3623/week @ 2020-03-26 3203/week @ 2020-04-02 3678/week @ 2020-04-09 3825/week @ 2020-04-16 3660/week @ 2020-04-23 5423/week @ 2020-04-30 10686/week @ 2020-05-07 10227/week @ 2020-05-14 9186/week @ 2020-05-21 9560/week @ 2020-05-28 10284/week @ 2020-06-04 9605/week @ 2020-06-11 9691/week @ 2020-06-18 7367/week @ 2020-06-25

22,127 downloads per month
Used in 9 crates (3 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 = "14.2"

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

~8MB
~167K SLoC