metrics-rs / metrics

A metrics ecosystem for Rust.
MIT License
1.13k stars 157 forks source link

failed to run custom build command for `metrics-exporter-tcp v0.8.0` #363

Closed photino closed 1 year ago

photino commented 1 year ago

Our project zino has a dependency of metrics-exporter-tcp. When updating it to version 0.8.0, it fails to build. It works well for version 0.7.0.

image

tobz commented 1 year ago

Yes, this is due to a change in prost_build where protoc is no longer bundled with the crate, and build environments must provide it on their own.

You can follow the install instructions from the official protobuf repository: https://github.com/protocolbuffers/protobuf#protocol-compiler-installation