blob: be58771364dc16b38268f13ee41c2d7c26569cac [file] [log] [blame]
# 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 = "grpcio-compiler"
version = "0.12.1"
authors = ["The TiKV Project Developers"]
description = "gRPC compiler for grpcio"
homepage = "https://github.com/tikv/grpc-rs"
documentation = "https://docs.rs/grpcio-compiler"
keywords = [
"compiler",
"grpc",
"protobuf",
]
categories = ["network-programming"]
license = "Apache-2.0"
repository = "https://github.com/tikv/grpc-rs"
[[bin]]
name = "grpc_rust_plugin"
required-features = ["protobuf-codec"]
[[bin]]
name = "grpc_rust_prost"
required-features = ["prost-codec"]
[dependencies.derive-new]
version = "0.5"
optional = true
[dependencies.prost]
version = "0.11"
optional = true
[dependencies.prost-build]
version = "0.11"
optional = true
[dependencies.prost-types]
version = "0.11"
optional = true
[dependencies.protobuf]
version = "2"
optional = true
[dependencies.tempfile]
version = "3.0"
optional = true
[features]
default = ["protobuf-codec"]
prost-codec = [
"prost-build",
"prost-types",
"prost",
"derive-new",
"tempfile",
]
protobuf-codec = ["protobuf"]