summaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 52cb1a5450afee6601ef3c5ad0ccce6a4968bbc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# 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.9.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"]

[[bin]]
name = "grpc_rust_prost"
required-features = ["prost-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"]