use susydev_jsonrpc_stdio_server::susydev_jsonrpc_core::*; use susydev_jsonrpc_stdio_server::ServerBuilder; fn main() { let mut io = IoHandler::default(); io.add_method("say_hello", |_params| Ok(Value::String("hello".to_owned()))); ServerBuilder::new(io).build(); }