raftify 0.1.74

Experimental High level Raft framework
1
2
3
4
5
6
7
8
9
10
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/"])?;

    built::write_built_file().expect("Failed to acquire build-time information");
    Ok(())
}