1 | //! Service utilities. |
---|---|
2 | |
3 | #[cfg(feature = "service")] |
4 | mod glue; |
5 | #[cfg(any(feature = "client-legacy", feature = "service"))] |
6 | mod oneshot; |
7 | |
8 | #[cfg(feature = "service")] |
9 | pub use self::glue::{TowerToHyperService, TowerToHyperServiceFuture}; |
10 | #[cfg(any(feature = "client-legacy", feature = "service"))] |
11 | pub(crate) use self::oneshot::Oneshot; |
12 |