use susydev_jsonrpc_ipc_server; use susydev_jsonrpc_ipc_server::susydev_jsonrpc_core::*; fn main() { let mut io = MetaIoHandler::<()>::default(); io.add_method("say_hello", |_params| Ok(Value::String("hello".to_string()))); let _server = susydev_jsonrpc_ipc_server::ServerBuilder::new(io) .start("/tmp/susy-example.ipc") .expect("Server should start ok"); }