# 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" rust-version = "1.65" name = "avalanche-proto" version = "0.19.0" publish = true description = "Protobuf generated client and server resources for Avalanche gRPC in rust" homepage = "https://avax.network" readme = "README.md" license = "BSD-3-Clause" repository = "https://github.com/ava-labs/avalanche-rust/tree/main/crates/avalanche-proto" resolver = "1" [package.metadata.cargo-udeps.ignore] development = ["tonic-reflection"] build = [ "protoc-gen-prost", "protoc-gen-tonic", ] [lib] doctest = false [[example]] name = "client" required-features = ["helloworld"] [[example]] name = "server" required-features = ["helloworld"] [dependencies.bytes] version = "1.2.1" [dependencies.chrono] version = "0.4.22" [dependencies.prost] version = "0.11.2" [dependencies.tonic] version = "0.8.2" features = ["gzip"] [dev-dependencies.tokio] version = "1.21.2" features = [ "fs", "rt-multi-thread", ] [dev-dependencies.tokio-stream] version = "0.1.11" features = ["net"] [dev-dependencies.tonic-reflection] version = "0.5.0" [build-dependencies.protoc-gen-prost] version = "0.2.0" [build-dependencies.protoc-gen-tonic] version = "0.2.0" [features] aliasreader = [] appsender = ["google_protobuf"] default = ["proto_full"] google_protobuf = [] helloworld = [] http = [] http_responsewriter = ["google_protobuf"] io_prometheus_client = [] io_reader = [] io_writer = [] keystore = [] messenger = [] net_conn = ["google_protobuf"] p2p = [] plugin = ["google_protobuf"] proto_full = [ "aliasreader", "appsender", "google_protobuf", "http", "http_responsewriter", "io_prometheus_client", "io_reader", "io_writer", "keystore", "messenger", "net_conn", "p2p", "plugin", "rpcdb", "sharedmemory", "subnetlookup", "validatorstate", "vm", ] rpcdb = ["google_protobuf"] sharedmemory = [] subnetlookup = [] validatorstate = ["google_protobuf"] vm = [ "io_prometheus_client", "google_protobuf", ]