# 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 = "2018" name = "protobuf-build" version = "0.15.1" authors = ["Nick Cameron "] description = "Utility functions for generating Rust code from protobufs (using protobuf-rust or Prost)" homepage = "https://github.com/tikv/protobuf-build" readme = "README.md" license = "Apache-2.0" repository = "https://github.com/tikv/protobuf-build" [dependencies.bitflags] version = "1.2" [dependencies.grpcio-compiler] version = ">=0.8" optional = true default-features = false [dependencies.proc-macro2] version = "1" optional = true [dependencies.prost-build] version = "0.11" optional = true [dependencies.protobuf] version = "2" optional = true [dependencies.protobuf-codegen] version = "2" optional = true [dependencies.quote] version = "1.0" optional = true [dependencies.regex] version = "1.3" [dependencies.syn] version = "1.0" features = ["full"] optional = true [features] default = ["protobuf-codec"] grpcio-prost-codec = [ "grpcio-compiler/prost-codec", "prost-codec", ] grpcio-protobuf-codec = [ "grpcio-compiler/protobuf-codec", "protobuf-codec", ] prost-codec = [ "syn", "quote", "prost-build", "proc-macro2", ] protobuf-codec = [ "protobuf-codegen", "protobuf/with-bytes", ] [target."cfg(not(windows))".dependencies.protobuf-src] version = "1.1.0"