From a675551a310d76d0ee6a9a62b4c099eb81232b87 Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Thu, 18 Feb 2016 08:43:31 -0800 Subject: [PATCH 1/2] Define RPC in README --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index a3676a0..61d90f9 100644 --- a/README.md +++ b/README.md @@ -11,6 +11,14 @@ just a few lines of code, and most of the boilerplate of writing a server is tak [Documentation](https://google.github.io/tarpc) +## What is an RPC framework? +"RPC" stands for "Remote Procedure Call," a function call where the work of producing the return +value is being done somewhere else. When an rpc function is invoked, behind the scenes the function +contacts some other process somewhere and asks them to compute the function instead. The original +function then returns the value produced by that other server. + +[More information](https://www.cs.cf.ac.uk/Dave/C/node33.html) + ## Example ```rust #[macro_use] From ffee12452638c4e8df02475c9982fab15dde87cf Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Thu, 18 Feb 2016 08:49:20 -0800 Subject: [PATCH 2/2] List dependency info in readme --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 61d90f9..2057f86 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,13 @@ function then returns the value produced by that other server. [More information](https://www.cs.cf.ac.uk/Dave/C/node33.html) +## Usage +Add to your `Cargo.toml` dependencies: + +```toml +tarpc = "0.2.0" +``` + ## Example ```rust #[macro_use]