We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 168b363 commit a32f807Copy full SHA for a32f807
build.rs
@@ -7,6 +7,6 @@
7
fn main() -> Result<(), Box<dyn std::error::Error>> {
8
tonic_build::configure()
9
.protoc_arg("--experimental_allow_proto3_optional")
10
- .compile(&["proto/torchft.proto"], &["proto"])?;
+ .compile_protos(&["proto/torchft.proto"], &["proto"])?;
11
Ok(())
12
}
0 commit comments