6 lines
239 B
Rust
6 lines
239 B
Rust
fn main() {
|
|
std::env::set_var("PROTOC", protoc_bin_vendored::protoc_bin_path().unwrap());
|
|
prost_build::compile_protos(&["../proto/city.proto"], &["../proto"]).unwrap();
|
|
println!("cargo:rerun-if-changed=../proto/city.proto");
|
|
}
|