blob: 46c1e8b0ea11c56a7b7ff4697cf7f0a4821c72fb [file] [log] [blame]
Ivan Lozano166a6f02020-11-03 13:33:14 -05001[package]
2name = "grpcio-compiler"
Joel Galenson338911b2021-06-21 12:45:45 -07003version = "0.9.0"
Ivan Lozano166a6f02020-11-03 13:33:14 -05004edition = "2018"
5authors = ["The TiKV Project Developers"]
6license = "Apache-2.0"
7keywords = ["compiler", "grpc", "protobuf"]
8repository = "https://github.com/tikv/grpc-rs"
9homepage = "https://github.com/tikv/grpc-rs"
10documentation = "https://docs.rs/grpcio-compiler"
11description = "gRPC compiler for grpcio"
12categories = ["network-programming"]
13
14[features]
15default = ["protobuf-codec"]
16protobuf-codec = ["protobuf"]
17prost-codec = ["prost-build", "prost-types", "prost", "derive-new", "tempfile"]
18
19[dependencies]
20protobuf = { version = "2", optional = true }
Joel Galenson70cf8c02021-04-01 16:29:59 -070021prost = { version = "0.7", optional = true }
22prost-build = { version = "0.7", optional = true }
23prost-types = { version = "0.7", optional = true }
Ivan Lozano166a6f02020-11-03 13:33:14 -050024derive-new = { version = "0.5", optional = true }
25tempfile = { version = "3.0", optional = true }
26
27[[bin]]
28name = "grpc_rust_plugin"
29required-features = ["protobuf-codec"]
Joel Galenson338911b2021-06-21 12:45:45 -070030
31[[bin]]
32name = "grpc_rust_prost"
33required-features = ["prost-codec"]