#raft #distributed-systems #ha

raft-proto

Protocol definitions for the rust language implementation of the Raft algorithm

3 releases (breaking)

✓ Uses Rust 2018 edition

0.6.0-alpha Jul 24, 2019
0.4.1 Jun 20, 2019
0.4.0 Jun 19, 2019
0.1.0 Jun 18, 2019

#366 in Algorithms

Download history 80/week @ 2019-12-02 98/week @ 2019-12-09 49/week @ 2019-12-16 42/week @ 2019-12-23 58/week @ 2019-12-30 54/week @ 2020-01-06 59/week @ 2020-01-13 31/week @ 2020-01-20 31/week @ 2020-01-27 50/week @ 2020-02-03 76/week @ 2020-02-10 159/week @ 2020-02-17 109/week @ 2020-02-24 85/week @ 2020-03-02 181/week @ 2020-03-09 47/week @ 2020-03-16

455 downloads per month

Apache-2.0

5KB
67 lines

Raft Proto

Documentation Crates.io

This crate contains the protobuf structs used by raft.

Regenerate Protobufs

If the protobuf file eraftpb.proto changed, run this command to regenerate eraftpb.rs:

cargo build --features gen

or using Cargo watch:

cargo watch -s "cargo check --features gen"

Dependencies

~3–4.5MB
~77K SLoC