blob: 52cb1a5450afee6601ef3c5ad0ccce6a4968bbc0 [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 believe there's an error in this file please file an
# issue against the rust-lang/cargo repository. If you're
# editing this file be aware that the upstream Cargo.toml
# will likely look very different (and much more reasonable)
[package]
edition = "2018"
name = "grpcio-compiler"
version = "0.9.0"
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.7"
optional = true
[dependencies.prost-build]
version = "0.7"
optional = true
[dependencies.prost-types]
version = "0.7"
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"]