Imported from voron-software/rafn (
AGENTS.md). Install upstream withnpx skills add voron-software/rafn. Copyright stays with the author.
Repository Guide
Updating Proto Definitions From BSR
This repository generates Rust protobuf/tonic code from the BSR module configured in buf.gen.yaml (buf.build/voron-software/rafn). To pull the latest published definitions:
- Make sure
bufis installed and authenticated if the BSR module or plugins require it:buf registry login. - From the repository root, run
buf generate. - Check
src/proto/gen/for generated file name changes. If the proto package changed, update the include insrc/proto/mod.rsand remove stale generated files thatbuf generateleft behind. - Run
cargo check --all-targetsto verify the generated API still matches the Rust code. - Review
git diffbefore committing; generated files are checked in.