Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 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 believe there's an error in this file please file an |
| 9 | # issue against the rust-lang/cargo repository. If you're |
| 10 | # editing this file be aware that the upstream Cargo.toml |
| 11 | # will likely look very different (and much more reasonable) |
| 12 | |
| 13 | [package] |
| 14 | edition = "2018" |
| 15 | name = "grpcio-compiler" |
Joel Galenson | 338911b | 2021-06-21 12:45:45 -0700 | [diff] [blame] | 16 | version = "0.9.0" |
Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 17 | authors = ["The TiKV Project Developers"] |
| 18 | description = "gRPC compiler for grpcio" |
| 19 | homepage = "https://github.com/tikv/grpc-rs" |
| 20 | documentation = "https://docs.rs/grpcio-compiler" |
| 21 | keywords = ["compiler", "grpc", "protobuf"] |
| 22 | categories = ["network-programming"] |
| 23 | license = "Apache-2.0" |
| 24 | repository = "https://github.com/tikv/grpc-rs" |
| 25 | |
| 26 | [[bin]] |
| 27 | name = "grpc_rust_plugin" |
| 28 | required-features = ["protobuf-codec"] |
Joel Galenson | 338911b | 2021-06-21 12:45:45 -0700 | [diff] [blame] | 29 | |
| 30 | [[bin]] |
| 31 | name = "grpc_rust_prost" |
| 32 | required-features = ["prost-codec"] |
Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 33 | [dependencies.derive-new] |
| 34 | version = "0.5" |
| 35 | optional = true |
| 36 | |
| 37 | [dependencies.prost] |
Joel Galenson | 70cf8c0 | 2021-04-01 16:29:59 -0700 | [diff] [blame] | 38 | version = "0.7" |
Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 39 | optional = true |
| 40 | |
| 41 | [dependencies.prost-build] |
Joel Galenson | 70cf8c0 | 2021-04-01 16:29:59 -0700 | [diff] [blame] | 42 | version = "0.7" |
Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 43 | optional = true |
| 44 | |
| 45 | [dependencies.prost-types] |
Joel Galenson | 70cf8c0 | 2021-04-01 16:29:59 -0700 | [diff] [blame] | 46 | version = "0.7" |
Ivan Lozano | 166a6f0 | 2020-11-03 13:33:14 -0500 | [diff] [blame] | 47 | optional = true |
| 48 | |
| 49 | [dependencies.protobuf] |
| 50 | version = "2" |
| 51 | optional = true |
| 52 | |
| 53 | [dependencies.tempfile] |
| 54 | version = "3.0" |
| 55 | optional = true |
| 56 | |
| 57 | [features] |
| 58 | default = ["protobuf-codec"] |
| 59 | prost-codec = ["prost-build", "prost-types", "prost", "derive-new", "tempfile"] |
| 60 | protobuf-codec = ["protobuf"] |