|
15 | 15 | * limitations under the License.
|
16 | 16 | */
|
17 | 17 |
|
18 |
| -pub use std::sync::Arc; |
19 |
| -pub use std::task::{Context, Poll}; |
| 18 | +pub use std::{ |
| 19 | + sync::Arc, |
| 20 | + task::{Context, Poll}, |
| 21 | +}; |
20 | 22 |
|
21 | 23 | pub use async_trait::async_trait;
|
22 | 24 | pub use bytes::Bytes;
|
23 | 25 | pub use http_body::Body;
|
24 | 26 | pub use hyper::Body as hyperBody;
|
25 | 27 | pub use tower_service::Service;
|
26 | 28 |
|
27 |
| -pub use super::cluster::directory::Directory; |
28 |
| -pub use super::cluster::directory::RegistryDirectory; |
29 |
| -pub use super::invocation::RpcInvocation; |
30 |
| -pub use super::invocation::{IntoStreamingRequest, Request, Response}; |
31 |
| -pub use super::protocol::triple::triple_invoker::TripleInvoker; |
32 |
| -pub use super::protocol::Invoker; |
33 |
| -pub use super::registry::BoxRegistry; |
34 |
| -pub use super::registry::Registry; |
35 |
| -pub use super::registry::RegistryWrapper; |
36 |
| -pub use super::triple::client::TripleClient; |
37 |
| -pub use super::triple::codec::prost::ProstCodec; |
38 |
| -pub use super::triple::codec::Codec; |
39 |
| -pub use super::triple::decode::Decoding; |
40 |
| -pub use super::triple::server::service::{ |
41 |
| - ClientStreamingSvc, ServerStreamingSvc, StreamingSvc, UnarySvc, |
| 29 | +pub use super::{ |
| 30 | + cluster::directory::{Directory, RegistryDirectory}, |
| 31 | + empty_body, |
| 32 | + invocation::{IntoStreamingRequest, Request, Response, RpcInvocation}, |
| 33 | + protocol::{triple::triple_invoker::TripleInvoker, Invoker}, |
| 34 | + registry::{BoxRegistry, Registry, RegistryWrapper}, |
| 35 | + triple::{ |
| 36 | + client::TripleClient, |
| 37 | + codec::{prost::ProstCodec, Codec}, |
| 38 | + decode::Decoding, |
| 39 | + server::{ |
| 40 | + service::{ClientStreamingSvc, ServerStreamingSvc, StreamingSvc, UnarySvc}, |
| 41 | + TripleServer, |
| 42 | + }, |
| 43 | + }, |
| 44 | + BoxBody, BoxFuture, StdError, |
| 45 | +}; |
| 46 | +pub use crate::{ |
| 47 | + filter::{service::FilterService, Filter}, |
| 48 | + triple::{ |
| 49 | + client::builder::{ClientBoxService, ClientBuilder}, |
| 50 | + server::builder::ServerBuilder, |
| 51 | + transport::connection::Connection, |
| 52 | + }, |
42 | 53 | };
|
43 |
| -pub use super::triple::server::TripleServer; |
44 |
| -pub use super::{empty_body, BoxBody, BoxFuture, StdError}; |
45 |
| -pub use crate::filter::service::FilterService; |
46 |
| -pub use crate::filter::Filter; |
47 |
| -pub use crate::triple::client::builder::{ClientBoxService, ClientBuilder}; |
48 |
| -pub use crate::triple::server::builder::ServerBuilder; |
49 |
| -pub use crate::triple::transport::connection::Connection; |
|
0 commit comments