You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.5 KiB

# 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.8.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"]
[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"]