This crate contains the protobuf structs used by raft.
If the protobuf file eraftpb.proto
changed,
run this command to regenerate eraftpb.rs
:
bash
cargo build --features gen
or using Cargo watch:
bash
cargo watch -s "cargo check --features gen"