Skip to content

Commit fa9f1ea

Browse files
authored
proto: add missing features (#510)
otherwise it will not compile on hosts that have no pre-generated bindings. Signed-off-by: Jay Lee <[email protected]>
1 parent 376d262 commit fa9f1ea

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

proto/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,10 @@ categories = ["network-programming"]
1313
build = "build.rs"
1414

1515
[features]
16-
default = ["protobuf-codec"]
16+
default = ["protobuf-codec", "use-bindgen"]
1717
protobuf-codec = ["grpcio/protobuf-codec", "protobuf-build/grpcio-protobuf-codec"]
1818
prost-codec = ["prost-derive", "bytes", "lazy_static", "grpcio/prost-codec", "prost", "protobuf-build/grpcio-prost-codec"]
19+
use-bindgen = ["grpcio/use-bindgen"]
1920

2021
[dependencies]
2122
futures = "0.3"

0 commit comments

Comments
 (0)