| [package] |
| name = "raft" |
| version = "0.4.0" |
| authors = ["The TiKV Project Developers"] |
| license = "Apache-2.0" |
| keywords = ["raft", "distributed-systems", "ha"] |
| repository = "https://github.com/pingcap/raft-rs" |
| readme = "README.md" |
| homepage = "https://github.com/pingcap/raft-rs" |
| documentation = "https://docs.rs/raft" |
| description = "The rust language implementation of Raft algorithm." |
| categories = ["algorithms", "database-implementations"] |
| |
| [features] |
| default = [] |
| failpoint = ["fail"] |
| |
| [dependencies] |
| log = { version = ">0.2", path = "../log" } |
| protobuf = { version = "2.0.3", path = "../protobuf" } |
| quick-error = { version = "1.2.2", path = "../quick-error" } |
| fxhash = { version = "0.2.1", path = "../fxhash" } |
| fail = { version = "0.2", optional = true } |
| |
| [[bench]] |
| name = "benches" |
| harness = false |
| |
| [badges] |
| travis-ci = { repository = "pingcap/raft-rs" } |
| |
| [[example]] |
| name = "single_mem_node" |
| path = "examples/single_mem_node/main.rs" |
| |
| [target.'cfg(not(target_env = "sgx"))'.dependencies] |
| sgx_tstd = { path = "../../sgx_tstd" } |
| sgx_rand = { path = "../../sgx_rand" } |