chore(docs): Update docs to mention new protoc requirements in tonic >= 0.8.0 (#1050)

This commit is contained in:
Opisthoteuthis agassizii
2022-08-09 09:31:03 -07:00
committed by GitHub
parent 9be4e2479d
commit fb840583d3
2 changed files with 49 additions and 0 deletions
+24
View File
@@ -2,6 +2,30 @@
Set of examples that show off the features provided by `tonic`.
In order to build these examples, you must have the `protoc` Protocol Buffers compiler
installed, along with the Protocol Buffers resource files.
Ubuntu:
```bash
sudo apt update && sudo apt upgrade -y
sudo apt install -y protobuf-compiler libprotobuf-dev
```
Alpine Linux:
```sh
sudo apk add protoc protobuf-dev
```
macOS:
Assuming [Homebrew](https://brew.sh/) is already installed. (If not, see instructions for installing Homebrew on [the Homebrew website](https://brew.sh/).)
```zsh
brew install protobuf
```
## Helloworld
### Client