mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 09:38:33 +08:00
build(deps): bump tonic version from 0.12 to 0.13 (#8461)
This commit is contained in:
@ -13,20 +13,16 @@ use dynamic_routing::{DynamicRoutingClientConfig, RoutingStrategy};
|
||||
#[cfg(feature = "dynamic_routing")]
|
||||
use health_check_client::HealthCheckClient;
|
||||
#[cfg(feature = "dynamic_routing")]
|
||||
use http_body_util::combinators::UnsyncBoxBody;
|
||||
#[cfg(feature = "dynamic_routing")]
|
||||
use hyper::body::Bytes;
|
||||
#[cfg(feature = "dynamic_routing")]
|
||||
use hyper_util::client::legacy::connect::HttpConnector;
|
||||
#[cfg(feature = "dynamic_routing")]
|
||||
use router_env::logger;
|
||||
use serde;
|
||||
#[cfg(feature = "dynamic_routing")]
|
||||
use tonic::Status;
|
||||
use tonic::body::Body;
|
||||
|
||||
#[cfg(feature = "dynamic_routing")]
|
||||
/// Hyper based Client type for maintaining connection pool for all gRPC services
|
||||
pub type Client = hyper_util::client::legacy::Client<HttpConnector, UnsyncBoxBody<Bytes, Status>>;
|
||||
pub type Client = hyper_util::client::legacy::Client<HttpConnector, Body>;
|
||||
|
||||
/// Struct contains all the gRPC Clients
|
||||
#[derive(Debug, Clone)]
|
||||
|
||||
Reference in New Issue
Block a user