13 stable releases (6 major)

✓ Uses Rust 2018 edition

new 14.0.0 Oct 9, 2019
13.2.0 Sep 13, 2019
13.1.0 Aug 26, 2019
13.0.0 Jul 29, 2019
6.0.0 Feb 16, 2017
Download history 240/week @ 2019-06-26 289/week @ 2019-07-03 312/week @ 2019-07-10 275/week @ 2019-07-17 237/week @ 2019-07-24 244/week @ 2019-07-31 227/week @ 2019-08-07 296/week @ 2019-08-14 437/week @ 2019-08-21 448/week @ 2019-08-28 622/week @ 2019-09-04 657/week @ 2019-09-11 542/week @ 2019-09-18 506/week @ 2019-09-25 565/week @ 2019-10-02

1,773 downloads per month
Used in 1 crate

MIT license

125KB
3.5K SLoC

jsonrpc-ipc-server

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

Documentation

Example

Cargo.toml

[dependencies]
jsonrpc-ipc-server = "14.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

~7.5MB
~157K SLoC