riteraft 0.1.0

RiteRaft - A raft framework, for regular people
Documentation
1
2
3
4
5
6
7
8
fn main() -> Result<(), Box<dyn std::error::Error>> {
    tonic_build::configure()
        .build_client(true)
        .build_server(true)
        .extern_path(".eraftpb", "::raft::eraftpb")
        .compile(&["proto/raft_service.proto"], &["proto/"])?;
    Ok(())
}