feat(build): Decouple codgen from prost (#170)

This commit is contained in:
Gyusun Yeom
2020-03-01 13:52:31 -05:00
committed by GitHub
parent 1b3d107206
commit f65cda1ea0
20 changed files with 550 additions and 356 deletions
+3 -2
View File
@@ -16,15 +16,16 @@ keywords = ["rpc", "grpc", "async", "codegen", "protobuf"]
[dependencies]
prost-build = "0.6"
prost-build = { version = "0.6", optional = true }
syn = "1.0"
quote = "1.0"
proc-macro2 = "1.0"
[features]
default = ["transport", "rustfmt"]
default = ["transport", "rustfmt", "prost"]
rustfmt = []
transport = []
prost = ["prost-build"]
[package.metadata.docs.rs]
all-features = true