18 stable releases (6 major)

✓ Uses Rust 2018 edition

14.0.6 Dec 4, 2019
14.0.5 Nov 28, 2019
14.0.3 Oct 25, 2019
13.2.0 Sep 13, 2019
6.0.0 Feb 16, 2017
Download history 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 717/week @ 2019-10-09 731/week @ 2019-10-16 778/week @ 2019-10-23 690/week @ 2019-10-30 635/week @ 2019-11-06 816/week @ 2019-11-13 835/week @ 2019-11-20 759/week @ 2019-11-27

2,923 downloads per month
Used in 2 crates

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

~8MB
~168K SLoC