Developer preview
substreams-dataabse
crate contains all the definitions for the database changes which can be emitted by a substream.
To be able to build proto files manually using the command line, you have to have protoc installed on your machine. Visit here to install.
For Linux, using apt
apt install -y protobuf-compiler
protoc --version # Ensure compiler version is 3+
For macOS, using Homebrew
brew install protobuf
protoc --version # Ensure compiler version is 3+
Instead of having a build.rs
file which will build the proto automatically on every cargo build --release
you have to build the proto files manually.
Simply run ./gen/generate.sh