tikv / grpc-rs

The gRPC library for Rust built on C Core library and futures
Apache License 2.0
1.8k stars 253 forks source link

*: update prost to 0.11 #595

Closed BusyJay closed 2 years ago

BusyJay commented 2 years ago

Since 0.11, prost-build never bundles protoc binary anymore. To avoid requiring protoc for grpcio-proto users, we bundle the sources instead of generating at compile time. This can lead to potential problems like:

But there seems to be no better alternative.

Since this PR when using prost with grpcio, protoc is also required in PATH.

This PR also removes protobuf-build dependencies. From now on, it will be easier to publish new version of grpcio-compiler.

Close #545.