rraft 0.0.1-beta

minimal raft implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
fn main() {
    println!("Running build script...");

    if tonic_build::configure()
        .build_server(false)
        .compile(&["src/rpc/proto/vote.proto"], &["src/rpc/proto/"])
        .is_err()
    {
        println!("Failed to compile protos");
    } else {
        println!("Protos compiled successfully");
    }
}