raft-consensus 0.2.1

Raft consensus algorithm implementation
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
#[cfg(feature = "use_capnp")]
extern crate capnpc;

#[cfg(feature = "use_capnp")]
fn main() {
    capnpc::CompilerCommand::new()
        .file("schema/messages.capnp")
        .run()
        .expect("Failed compiling messages schema");
}

#[cfg(not(feature = "use_capnp"))]
fn main() {}