Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 428 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 428 Bytes

This folder contains protobuf messages used by the Replica.

Folder structure:

  • def/ contains protobuf message definitions;
  • gen/ contains rust code generated from protobuf messages;
  • src/ exports generated protobuf Rust structs;
  • build.rs controls code generation (i.e. transforms def/ => gen/).

Generation of Rust files

Run cargo build inside this directory. Note that the generated files are git-ignored.