File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 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 :: AxumBody } ;
74
+ use tonic:: { body:: empty_body, service :: AxumBody } ;
75
75
use tower:: Service ;
76
76
77
77
#[ derive( Clone ) ]
Original file line number Diff line number Diff line change @@ -9,3 +9,5 @@ pub use self::interceptor::{interceptor, Interceptor};
9
9
#[ doc( inline) ]
10
10
#[ cfg( feature = "router" ) ]
11
11
pub use self :: router:: { Routes , RoutesBuilder } ;
12
+ #[ cfg( feature = "router" ) ]
13
+ pub use axum:: { body:: Body as AxumBody , Router as AxumRouter } ;
Original file line number Diff line number Diff line change @@ -111,8 +111,6 @@ pub use self::service::grpc_timeout::TimeoutExpired;
111
111
112
112
#[ cfg( feature = "tls" ) ]
113
113
pub use self :: tls:: Certificate ;
114
- #[ cfg( feature = "server" ) ]
115
- pub use axum:: { body:: Body as AxumBody , Router as AxumRouter } ;
116
114
pub use hyper:: { body:: Body , Uri } ;
117
115
#[ cfg( feature = "tls" ) ]
118
116
pub use tokio_rustls:: rustls:: pki_types:: CertificateDer ;
You can’t perform that action at this time.
0 commit comments