[package] name = "raft-lite" version = "0.2.7" edition = "2021" authors = ["Liangrun Da "] description = "A simple and understandable implementation of Raft consensus algorithm." readme = "README.md" repository = "https://github.com/liangrunda/raft-lite" license = "MIT" license-file = "LICENSE" keywords = ["raft", "consensus"] exclude = ["data/*"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] tarpc = { version = "0.33", features = ["full"] } tokio = { version = "1", features = ["macros", "net", "rt-multi-thread", "fs", "io-util"] } tracing = "0.1.37" anyhow = "1.0" serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" stubborn-io = "0.3" tracing-appender = "0.2.2" tracing-subscriber = { version = "0.3.17", features = [ "env-filter", "fmt", "ansi", "std", "registry", ] } futures = "0.3" rand = "0.8.5" async-trait = { version = "0.1.75", features = [] } dyn-clone = "1.0.16" bincode = "1.3.3" stateright = "0.30.1" num_cpus = "1.16.0" clap = { version = "4.2.5", features = ["derive", "env"] } crc= { version = "3.0.1" } [lib] name = "raft_lite" path = "src/lib.rs" [[bin]] name = "checker" path = "src/main.rs"