1# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
2#
3# When uploading crates to the registry Cargo will automatically
4# "normalize" Cargo.toml files for maximal compatibility
5# with all versions of Cargo and also rewrite `path` dependencies
6# to registry (e.g., crates.io) dependencies.
7#
8# If you are reading this file be aware that the original Cargo.toml
9# will likely look very different (and much more reasonable).
10# See Cargo.toml.orig for the original contents.
11
12[package]
13edition = "2018"
14name = "grpcio-compiler"
15version = "0.12.1"
16authors = ["The TiKV Project Developers"]
17description = "gRPC compiler for grpcio"
18homepage = "https://github.com/tikv/grpc-rs"
19documentation = "https://docs.rs/grpcio-compiler"
20keywords = [
21    "compiler",
22    "grpc",
23    "protobuf",
24]
25categories = ["network-programming"]
26license = "Apache-2.0"
27repository = "https://github.com/tikv/grpc-rs"
28
29[[bin]]
30name = "grpc_rust_plugin"
31required-features = ["protobuf-codec"]
32
33[[bin]]
34name = "grpc_rust_prost"
35required-features = ["prost-codec"]
36
37[dependencies.derive-new]
38version = "0.5"
39optional = true
40
41[dependencies.prost]
42version = "0.11"
43optional = true
44
45[dependencies.prost-build]
46version = "0.11"
47optional = true
48
49[dependencies.prost-types]
50version = "0.11"
51optional = true
52
53[dependencies.protobuf]
54version = "2"
55optional = true
56
57[dependencies.tempfile]
58version = "3.0"
59optional = true
60
61[features]
62default = ["protobuf-codec"]
63prost-codec = [
64    "prost-build",
65    "prost-types",
66    "prost",
67    "derive-new",
68    "tempfile",
69]
70protobuf-codec = ["protobuf"]
71