diff --git a/build.rs b/build.rs index fa5d4e1..f10cb3b 100644 --- a/build.rs +++ b/build.rs @@ -7,6 +7,6 @@ fn main() -> Result<(), Box> { tonic_build::configure() .protoc_arg("--experimental_allow_proto3_optional") - .compile(&["proto/torchft.proto"], &["proto"])?; + .compile_protos(&["proto/torchft.proto"], &["proto"])?; Ok(()) }