[package]
edition = "2018"
name = "raft"
version = "0.6.0-alpha"
authors = ["The TiKV Project Developers"]
description = "The rust language implementation of Raft algorithm."
homepage = "https://github.com/pingcap/raft-rs"
documentation = "https://docs.rs/raft"
readme = "README.md"
keywords = ["raft", "distributed-systems", "ha"]
categories = ["algorithms", "database-implementations"]
license = "Apache-2.0"
repository = "https://github.com/pingcap/raft-rs"
[[example]]
name = "single_mem_node"
path = "examples/single_mem_node/main.rs"
[[example]]
name = "five_mem_node"
path = "examples/five_mem_node/main.rs"
[[bench]]
name = "benches"
harness = false
[dependencies.fail]
version = "0.3"
optional = true
[dependencies.getset]
version = "0.0.7"
[dependencies.hashbrown]
version = "0.5"
[dependencies.log]
version = ">0.2"
[dependencies.protobuf]
version = "2"
[dependencies.quick-error]
version = "1.2.2"
[dependencies.raft-proto]
version = "0.6.0-alpha"
default-features = false
[dependencies.rand]
version = "0.7.0"
[dependencies.slog]
version = "2.2"
[dependencies.slog-envlogger]
version = "2.1.0"
[dependencies.slog-stdlog]
version = "3.0.2"
[dev-dependencies.criterion]
version = ">0.2.4"
[dev-dependencies.regex]
version = "1.1"
[dev-dependencies.slog-async]
version = "2.3.0"
[dev-dependencies.slog-term]
version = "2.4.0"
[features]
default = ["protobuf-codec"]
failpoints = ["fail/failpoints"]
prost-codec = ["raft-proto/prost-codec"]
protobuf-codec = ["raft-proto/protobuf-codec"]
[badges.travis-ci]
repository = "pingcap/raft-rs"