You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@arrow.apache.org by tu...@apache.org on 2022/11/29 04:30:12 UTC
[arrow-rs] branch master updated: Update tonic-build to 0.8.3 (#3214)
This is an automated email from the ASF dual-hosted git repository.
tustvold 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 1eff6fe10 Update tonic-build to 0.8.3 (#3214)
1eff6fe10 is described below
commit 1eff6fe104a5a8b38bf79c7443faade23cc8c962
Author: Raphael Taylor-Davies <17...@users.noreply.github.com>
AuthorDate: Tue Nov 29 04:30:06 2022 +0000
Update tonic-build to 0.8.3 (#3214)
---
arrow-flight/Cargo.toml | 2 +-
arrow-flight/src/arrow.flight.protocol.rs | 16 ++++++++--------
2 files changed, 9 insertions(+), 9 deletions(-)
diff --git a/arrow-flight/Cargo.toml b/arrow-flight/Cargo.toml
index 76aceb136..0e09953e7 100644
--- a/arrow-flight/Cargo.toml
+++ b/arrow-flight/Cargo.toml
@@ -47,11 +47,11 @@ flight-sql-experimental = ["prost-types"]
[dev-dependencies]
[build-dependencies]
-tonic-build = { version = "0.8", default-features = false, features = ["transport", "prost"] }
# Pin specific version of the tonic-build dependencies to avoid auto-generated
# (and checked in) arrow.flight.protocol.rs from changing
proc-macro2 = { version = "=1.0.47", default-features = false }
prost-build = { version = "=0.11.2", default-features = false }
+tonic-build = { version = "=0.8.3", default-features = false, features = ["transport", "prost"] }
[[example]]
name = "flight_sql_server"
diff --git a/arrow-flight/src/arrow.flight.protocol.rs b/arrow-flight/src/arrow.flight.protocol.rs
index 10ab82a87..e6754e806 100644
--- a/arrow-flight/src/arrow.flight.protocol.rs
+++ b/arrow-flight/src/arrow.flight.protocol.rs
@@ -579,10 +579,10 @@ pub mod flight_service_client {
pub mod flight_service_server {
#![allow(unused_variables, dead_code, missing_docs, clippy::let_unit_value)]
use tonic::codegen::*;
- ///Generated trait containing gRPC methods that should be implemented for use with FlightServiceServer.
+ /// Generated trait containing gRPC methods that should be implemented for use with FlightServiceServer.
#[async_trait]
pub trait FlightService: Send + Sync + 'static {
- ///Server streaming response type for the Handshake method.
+ /// Server streaming response type for the Handshake method.
type HandshakeStream: futures_core::Stream<
Item = Result<super::HandshakeResponse, tonic::Status>,
>
@@ -597,7 +597,7 @@ pub mod flight_service_server {
&self,
request: tonic::Request<tonic::Streaming<super::HandshakeRequest>>,
) -> Result<tonic::Response<Self::HandshakeStream>, tonic::Status>;
- ///Server streaming response type for the ListFlights method.
+ /// Server streaming response type for the ListFlights method.
type ListFlightsStream: futures_core::Stream<
Item = Result<super::FlightInfo, tonic::Status>,
>
@@ -638,7 +638,7 @@ pub mod flight_service_server {
&self,
request: tonic::Request<super::FlightDescriptor>,
) -> Result<tonic::Response<super::SchemaResult>, tonic::Status>;
- ///Server streaming response type for the DoGet method.
+ /// Server streaming response type for the DoGet method.
type DoGetStream: futures_core::Stream<
Item = Result<super::FlightData, tonic::Status>,
>
@@ -653,7 +653,7 @@ pub mod flight_service_server {
&self,
request: tonic::Request<super::Ticket>,
) -> Result<tonic::Response<Self::DoGetStream>, tonic::Status>;
- ///Server streaming response type for the DoPut method.
+ /// Server streaming response type for the DoPut method.
type DoPutStream: futures_core::Stream<
Item = Result<super::PutResult, tonic::Status>,
>
@@ -670,7 +670,7 @@ pub mod flight_service_server {
&self,
request: tonic::Request<tonic::Streaming<super::FlightData>>,
) -> Result<tonic::Response<Self::DoPutStream>, tonic::Status>;
- ///Server streaming response type for the DoExchange method.
+ /// Server streaming response type for the DoExchange method.
type DoExchangeStream: futures_core::Stream<
Item = Result<super::FlightData, tonic::Status>,
>
@@ -686,7 +686,7 @@ pub mod flight_service_server {
&self,
request: tonic::Request<tonic::Streaming<super::FlightData>>,
) -> Result<tonic::Response<Self::DoExchangeStream>, tonic::Status>;
- ///Server streaming response type for the DoAction method.
+ /// Server streaming response type for the DoAction method.
type DoActionStream: futures_core::Stream<
Item = Result<super::Result, tonic::Status>,
>
@@ -703,7 +703,7 @@ pub mod flight_service_server {
&self,
request: tonic::Request<super::Action>,
) -> Result<tonic::Response<Self::DoActionStream>, tonic::Status>;
- ///Server streaming response type for the ListActions method.
+ /// Server streaming response type for the ListActions method.
type ListActionsStream: futures_core::Stream<
Item = Result<super::ActionType, tonic::Status>,
>