Files
rustytorch/crates/specialized/rtx-platform/build.rs
T
2026-03-04 00:08:42 +00:00

20 lines
521 B
Rust

fn main() -> Result<(), Box<dyn std::error::Error>> {
// Build gRPC service definitions
tonic_build::configure()
.build_server(true)
.build_client(true)
.compile_protos(
&[
"proto/region.proto",
"proto/tenant.proto",
"proto/billing.proto",
"proto/federation.proto",
"proto/slo.proto",
],
&["proto"],
)?;
println!("cargo:rerun-if-changed=proto/");
Ok(())
}