mirror of
https://github.com/OMGeeky/tarpc.git
synced 2026-01-04 02:21:02 +01:00
Reflow some text in the readme (#239)
This commit is contained in:
12
README.md
12
README.md
@@ -36,12 +36,12 @@ Add to your `Cargo.toml` dependencies:
|
||||
tarpc = "0.18.0"
|
||||
```
|
||||
|
||||
The `service!` macro expands to a collection of items that form an
|
||||
rpc service. In the above example, the macro is called within the
|
||||
`hello_service` module. This module will contain a `Client` stub and `Service` trait. There is
|
||||
These generated types make it easy and ergonomic to write servers without dealing with serialization
|
||||
directly. Simply implement one of the generated traits, and you're off to the
|
||||
races!
|
||||
The `service!` macro expands to a collection of items that form an rpc service.
|
||||
In the above example, the macro is called within the `hello_service` module.
|
||||
This module will contain a `Client` stub and `Service` trait. There is These
|
||||
generated types make it easy and ergonomic to write servers without dealing with
|
||||
serialization directly. Simply implement one of the generated traits, and you're
|
||||
off to the races!
|
||||
|
||||
## Example
|
||||
|
||||
|
||||
Reference in New Issue
Block a user