use protobuf_codegen::Customize;
const PROTOS: &[&str] = &["src/protos/fileformat.proto", "src/protos/osmformat.proto"];
fn main() {
for proto in PROTOS {
println!("cargo:rerun-if-changed={}", proto);
}
protobuf_codegen::Codegen::new()
.pure()
.cargo_out_dir("protos-gen")
.includes(["src/protos"])
.inputs(PROTOS)
.customize(
Customize::default()
.lite_runtime(true)
.tokio_bytes(true)
.tokio_bytes_for_string(true),
)
.run_from_script();
}