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