Closed sticnarf closed 1 year ago
Hi, @YangKeao . Now, I check in the generated prost file.
In build.rs
, it uses SHA256 sum to decide whether we need to re-generate the prost file. Then, in most cases, the user does not need to install protoc to compile this crate.
The generated file will contain a sha256. If
profile.proto
is not changed, we needn't regenerate the rust file. So, the users of the crate don't needprotoc
installed.