# 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 = "jopemachine-raft" version = "0.7.14" authors = ["The TiKV Project Developers"] description = "The rust language implementation of Raft algorithm." homepage = "https://github.com/tikv/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/tikv/raft-rs" [lib] doctest = false [[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.bytes] version = "1" [dependencies.fail] version = "0.4" optional = true [dependencies.fxhash] version = "0.2.1" [dependencies.getset] version = "0.1.1" [dependencies.lazy_static] version = "1.5.0" [dependencies.protobuf] version = "2" [dependencies.raft-proto] version = "0.7.0" default-features = false [dependencies.rand] version = "0.8" [dependencies.serde] version = "1.0" features = ["derive"] [dependencies.slog] version = "2.2" [dependencies.slog-envlogger] version = "2.1.0" optional = true [dependencies.slog-stdlog] version = "4" optional = true [dependencies.slog-term] version = "2.4.0" optional = true [dependencies.thiserror] version = "1.0" [dev-dependencies.anyhow] version = "1.0.40" [dev-dependencies.criterion] version = "0.3" [dev-dependencies.datadriven] version = "0.1.0" [dev-dependencies.itertools] version = "0.10.0" [dev-dependencies.regex] version = "1" [dev-dependencies.slog-async] version = "2.3.0" [dev-dependencies.slog-envlogger] version = "2.1.0" [dev-dependencies.slog-stdlog] version = "4" [dev-dependencies.slog-term] version = "2.4.0" [features] default = [ "protobuf-codec", "default-logger", ] default-logger = [ "slog-stdlog", "slog-envlogger", "slog-term", ] failpoints = ["fail/failpoints"] prost-codec = ["raft-proto/prost-codec"] protobuf-codec = ["raft-proto/protobuf-codec"] [badges.travis-ci] repository = "tikv/raft-rs"