# 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-proto" version = "0.7.0" authors = ["The TiKV Project Developers"] build = "build.rs" description = "Protocol definitions for the rust language implementation of the Raft algorithm." homepage = "https://github.com/pingcap/raft-rs" documentation = "https://docs.rs/raft-proto" readme = "README.md" keywords = [ "raft", "distributed-systems", "ha", ] categories = [ "algorithms", "database-implementations", ] license = "Apache-2.0" repository = "https://github.com/pingcap/raft-rs" [dependencies.bytes] version = "1" optional = true [dependencies.lazy_static] version = "1" optional = true [dependencies.prost] version = "0.11" optional = true [dependencies.protobuf] version = "2" [build-dependencies.protobuf-build] version = "0.14" default-features = false [features] default = ["protobuf-codec"] prost-codec = [ "protobuf-build/prost-codec", "prost", "lazy_static", ] protobuf-codec = [ "protobuf-build/protobuf-codec", "bytes", "protobuf/bytes", ]