# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "raft-lite" version = "0.2.7" authors = ["Liangrun Da "] exclude = ["data/*"] description = "A simple and understandable implementation of Raft consensus algorithm." readme = "README.md" keywords = [ "raft", "consensus", ] license = "MIT" license-file = "LICENSE" repository = "https://github.com/liangrunda/raft-lite" [lib] name = "raft_lite" path = "src/lib.rs" [[bin]] name = "checker" path = "src/main.rs" [dependencies.anyhow] version = "1.0" [dependencies.async-trait] version = "0.1.75" features = [] [dependencies.bincode] version = "1.3.3" [dependencies.clap] version = "4.2.5" features = [ "derive", "env", ] [dependencies.crc] version = "3.0.1" [dependencies.dyn-clone] version = "1.0.16" [dependencies.futures] version = "0.3" [dependencies.num_cpus] version = "1.16.0" [dependencies.rand] version = "0.8.5" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.serde_json] version = "1.0" [dependencies.stateright] version = "0.30.1" [dependencies.stubborn-io] version = "0.3" [dependencies.tarpc] version = "0.33" features = ["full"] [dependencies.tokio] version = "1" features = [ "macros", "net", "rt-multi-thread", "fs", "io-util", ] [dependencies.tracing] version = "0.1.37" [dependencies.tracing-appender] version = "0.2.2" [dependencies.tracing-subscriber] version = "0.3.17" features = [ "env-filter", "fmt", "ansi", "std", "registry", ]