-
Notifications
You must be signed in to change notification settings - Fork 257
/
Copy pathCargo.toml
33 lines (29 loc) · 1005 Bytes
/
Cargo.toml
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
[package]
name = "grpcio-compiler"
version = "0.13.0"
edition = "2018"
authors = ["The TiKV Project Developers"]
license = "Apache-2.0"
keywords = ["compiler", "grpc", "protobuf"]
repository = "https://github.com/tikv/grpc-rs"
homepage = "https://github.com/tikv/grpc-rs"
documentation = "https://docs.rs/grpcio-compiler"
description = "gRPC compiler for grpcio"
categories = ["network-programming"]
[features]
default = ["protobuf-codec"]
protobuf-codec = ["protobuf"]
prost-codec = ["prost-build", "prost-types", "prost", "derive-new", "tempfile"]
[dependencies]
protobuf = { version = "2", optional = true }
prost = { version = "0.13", optional = true }
prost-build = { version = "0.13", optional = true }
prost-types = { version = "0.13", optional = true }
derive-new = { version = "0.6", optional = true }
tempfile = { version = "3.0", optional = true }
[[bin]]
name = "grpc_rust_plugin"
required-features = ["protobuf-codec"]
[[bin]]
name = "grpc_rust_prost"
required-features = ["prost-codec"]