Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 1 | [package] |
| 2 | name = "grpcio-compiler" |
Joel Galenson | 338911b | 2021-06-21 12:45:45 -0700 | [diff] [blame] | 3 | version = "0.9.0" |
Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 4 | edition = "2018" |
| 5 | authors = ["The TiKV Project Developers"] |
| 6 | license = "Apache-2.0" |
| 7 | keywords = ["compiler", "grpc", "protobuf"] |
| 8 | repository = "https://github.com/tikv/grpc-rs" |
| 9 | homepage = "https://github.com/tikv/grpc-rs" |
| 10 | documentation = "https://docs.rs/grpcio-compiler" |
| 11 | description = "gRPC compiler for grpcio" |
| 12 | categories = ["network-programming"] |
| 13 | |
| 14 | [features] |
| 15 | default = ["protobuf-codec"] |
| 16 | protobuf-codec = ["protobuf"] |
| 17 | prost-codec = ["prost-build", "prost-types", "prost", "derive-new", "tempfile"] |
| 18 | |
| 19 | [dependencies] |
| 20 | protobuf = { version = "2", optional = true } |
Joel Galenson | 70cf8c0 | 2021-04-01 16:29:59 -0700 | [diff] [blame] | 21 | prost = { version = "0.7", optional = true } |
| 22 | prost-build = { version = "0.7", optional = true } |
| 23 | prost-types = { version = "0.7", optional = true } |
Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 24 | derive-new = { version = "0.5", optional = true } |
| 25 | tempfile = { version = "3.0", optional = true } |
| 26 | |
| 27 | [[bin]] |
| 28 | name = "grpc_rust_plugin" |
| 29 | required-features = ["protobuf-codec"] |
Joel Galenson | 338911b | 2021-06-21 12:45:45 -0700 | [diff] [blame] | 30 | |
| 31 | [[bin]] |
| 32 | name = "grpc_rust_prost" |
| 33 | required-features = ["prost-codec"] |