This is an automated email from the ASF dual-hosted git repository.
alamb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/arrow-rs.git
The following commit(s) were added to refs/heads/master by this push:
new d030177cc Minor: use non deprecated tonic-build API (#6488)
d030177cc is described below
commit d030177cc64c9ee2d614e2e351a686fe6e947702
Author: Andrew Lamb <[email protected]>
AuthorDate: Wed Oct 2 06:00:12 2024 -0400
Minor: use non deprecated tonic-build API (#6488)
---
arrow-flight/gen/src/main.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arrow-flight/gen/src/main.rs b/arrow-flight/gen/src/main.rs
index a3541c63b..c4cb9dfec 100644
--- a/arrow-flight/gen/src/main.rs
+++ b/arrow-flight/gen/src/main.rs
@@ -29,7 +29,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// protoc in unbuntu builder needs this option
.protoc_arg("--experimental_allow_proto3_optional")
.out_dir("src")
- .compile_with_config(prost_config(), &[proto_path], &[proto_dir])?;
+ .compile_protos_with_config(prost_config(), &[proto_path],
&[proto_dir])?;
// read file contents to string
let mut file = OpenOptions::new()
@@ -52,7 +52,7 @@ fn main() -> Result<(), Box<dyn std::error::Error>> {
// protoc in ubuntu builder needs this option
.protoc_arg("--experimental_allow_proto3_optional")
.out_dir("src/sql")
- .compile_with_config(prost_config(), &[proto_path], &[proto_dir])?;
+ .compile_protos_with_config(prost_config(), &[proto_path],
&[proto_dir])?;
// read file contents to string
let mut file = OpenOptions::new()