RaftFwk
A framework of distribution consensus algorithm Raft written in Rust. Implementing a sequence of tools based on library tikv/raft-rs, including necessary user interfaces of a raft server, the network library of grpc and the log storage of leveldb.
Installation
You need to pay attention on the requirements of tikv/grpc-rs which is a wrapper of gRPC Core written in C. You can see the installation guide in its README. It seen that it on Windows only works for msvc compile version of Rust.
Adding the dependencies in Cargo.toml.
[dependencies]
raftfwk = { git = "github.com/blackredscarf/raftfwk" }
Usage
See tutorial and examples/kv.