In order to build tonic >= 0.8.0
, you need the protoc
Protocol Buffers compiler, along with Protocol Buffers resource files. See tonic crate.
sudo apt update && sudo apt upgrade -y
sudo apt install -y protobuf-compiler libprotobuf-dev
sudo apk add protoc protobuf-dev
brew install protobuf