File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ mod h2c {
71
71
use http:: { Request , Response } ;
72
72
use hyper:: body:: Incoming ;
73
73
use hyper_util:: { rt:: TokioExecutor , service:: TowerToHyperService } ;
74
- use tonic:: { body:: empty_body, transport:: AxumBoxBody } ;
74
+ use tonic:: { body:: empty_body, transport:: AxumBody } ;
75
75
use tower:: Service ;
76
76
77
77
#[ derive( Clone ) ]
@@ -83,7 +83,7 @@ mod h2c {
83
83
84
84
impl < S > Service < Request < Incoming > > for H2c < S >
85
85
where
86
- S : Service < Request < Incoming > , Response = Response < AxumBoxBody > > + Clone + Send + ' static ,
86
+ S : Service < Request < Incoming > , Response = Response < AxumBody > > + Clone + Send + ' static ,
87
87
S :: Future : Send + ' static ,
88
88
S :: Error : Into < BoxError > + Sync + Send + ' static ,
89
89
S :: Response : Send + ' static ,
Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ pub use self::service::grpc_timeout::TimeoutExpired;
112
112
#[ cfg( feature = "tls" ) ]
113
113
pub use self :: tls:: Certificate ;
114
114
#[ cfg( feature = "server" ) ]
115
- pub use axum:: { body:: Body as AxumBoxBody , Router as AxumRouter } ;
115
+ pub use axum:: { body:: Body as AxumBody , Router as AxumRouter } ;
116
116
pub use hyper:: { body:: Body , Uri } ;
117
117
#[ cfg( feature = "tls" ) ]
118
118
pub use tokio_rustls:: rustls:: pki_types:: CertificateDer ;
You can’t perform that action at this time.
0 commit comments